lLFS on USB?

Mike McCarty Mike.McCarty at sbcglobal.net
Mon Mar 8 01:26:25 PST 2010


ga ho wrote:
> clydew at clydew.org wrote:
>> Is it possible to build Linux from Scratch on a USB Flash Drive.  I 
>> did build it there but am having a time getting Grub to recognize it.
>>
> Yes I built LFS-6.5 on my desktop and transfered it to a USB drive with 
> rsync
> Building directly on the usb drive is slow and not necessary.
> Don't do the rsync while booted into LFS.
> You need the USB stuff built into the kernel as well as the filesystem ( 
> I used ext2) and necessary hardware drivers, not as modules.

This is not a good file system to use on USB FLASH drives. You want
one which doesn't require rewriting the directory with every
access to the file system. It'll wear out the FLASH, and it'll
also be very very slow.

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!



More information about the lfs-support mailing list