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

If usb-hdd image larger than 2000MB aufs gets trouble (for me)



Tony Godshall wrote:
> Um, your problem is here...
> 
> # parted mkpartfs primary fat16 0.0 100%
> 
> FAT16 is limited to 2 gibibytes ( ;-) )

The 100% stuff is from the orginal lh_binary_usb-hdd I used 101 as in
MiB in my parted case.

But I did a check again now and found the error. Because I use an image
witch may be bigger than just the one FAT16 partition normally built and
(in my case I could have more than one partition aswell). I hit trouble
with the line
mkfs.vfat -F 16 -n DEBIAN_LIVE ${FREELO}


because mkfs wont know where the partition ends anymore, before it was
just one partition and it ended where the image ended.

The mkfs stuff is only there for the naming of the volume. But I tested
to replace the losetup with kpartx and that made mkfs.vfat happy again :-)

regards
//Peter



-- 

bitrunner



Reply to: