[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installing to an Amiga HDF

Thanks for all the advice guys.  I managed to sort it out by creating
the RDB and the partitions with parted and then using the -o flag with
losetup to mount the partition with the correct offset as /dev/loop7.

Then it was just a matter of using mkfs.ext4 on the loopback device
then mounting that filesystem as /mnt and extracting m68k-base.tgz
into it, remembering the p option too! :)

However, upon running 'amiboot-5.6 -d -k vmlinuz-3.2.0-4-amiga
root=/dev/sda3 fb=false' from a boot without startup-sequence I get a
"compressed image is too large! Aborting." error so until i figure out
this issue I have no idea if the partitioning voodoo I carried out
actually worked yet.

Kind regards,

On 5 May 2014 12:35, Thorsten Glaser <tg@mirbsd.de> wrote:
> Intuition Amiga dixit:
>>This is where I get stuck....  I want to do the equivalent of
>>'mkfs.ext4 /dev/sda1' but 'mkfs.ext4 /dev/loop71 doesn't work because
>>no such partition exists.
> If your kernel has support for the Amiga partitions, this works,
> not just with /dev/loop7 but also with regular files:
> sudo kpartx -v -a /dev/loop7
> This will show which (-v) and add (-a) partitions, which will
> then be named /dev/mapper/loop7p1 etc. (yes, /dev/mapper), but
> this is a generic solution, you can do this with LVM LVs or
> even files too ;-)
> But mind #680672 (although this bug is probably due to missing
> partition map in the kernel…?).
>>Can anyone offer me advice on how to create an ext4 filesystem on this
>>loopback device so I can then mount it and extract the Debian 68k base
>>image to it?
> You could also just dd the Debian/m68k ext2fs image onto the
> partition (using dd’s “seek” parameter), then resize2fs it
> to your needs. (Although ext4 is probably better. Do *not*
> forget the “p” parameter to tar when extracting it!)
> //mirabilos
> --
> <igli> exceptions: a truly awful implementation of quite a nice idea.
> <igli> just about the worst way you could do something like that, afaic.
> <igli> it's like anti-design.  <mirabilos> that too… may I quote you on that?
> <igli> sure, tho i doubt anyone will listen ;)

Reply to: