LFS on USB?
baho-utot at columbus.rr.com
Mon Mar 8 01:52:16 PST 2010
Mike McCarty wrote:
> Hans Kaper wrote:
>>> My grub entry for my LFS6.4 stick is:
>>> title Linux From Scratch 6.4 Kernel 184.108.40.206
>>> root (hd0,0)
>>> kernel /boot/lfskernel-220.127.116.11 root=/dev/uba1
>> Omit the root=/dev/uba1-option. root (hd0,0) points already to the device
>> you want to boot from.
> Erm, those pieces of information go to different parts of the
> system. The first is sent to, and acted upon, by GRUB. The second
> is sent to, and acted upon, by the kernel. GRUB doesn't see the
> second one, except as just some uninterpretable data to pass along,
> and the kernel never even sees the first.
Still it works well, I have omited the root= line on my USB drive and it
works like a champ, always boots.
The problem with the root line on a USB boot drive and using a root=
line is you have to adjust it depending on how many drives the computer
has, ie my desktop has four drives and my laptop 1. Removing the root=/
line makes it work on both machines without farting around without
adjusting the root line at boot for each.
More information about the lfs-support