Rodolfo Perez wrote:

> I could install lfs-6.4 on my laptop and I'm really happy about my new
> lfs. 
> Now I would like to put it on my USB-Flash drive. I checked on lfs and
> was googeling.... but could not find a really satisfiying answer.
> 
> I'd like to have a very small (max. 500Mb) lfs distro on my usb and it
> should be as lfs-live.

Most systems recognize usb drives as just another drive.  There is no reason 
why 
you can't set it up just like any other drive.  There are only a couple of 
issues.  First, the kernel must be able to support any devices on the system 
that you want to use.  Second the system BIOS should be able to recognize and 
boot from the usb drive, usually from a keyboard prompt.  Third, you have to 
set 
up grub so that the MBR is on the USB drive.

Getting the distro down to 500M shouldn't be too hard.  There are a lot of 
things in /usr/share that can be deleted.  Also be sure to strip all the 
executables properly.

If you aren't going to compile, you can even remove gcc and several other 
programs.  You can also remove any static libraries that have been installed.

   -- Bruce

P.S.  Please ignore William.  Most, but not all, of his posts are to satisfy 
his 
own ego.  He is not a member of the LFS team.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to