[Clfs-support] Howto install GRUB USB Disk with differing devicename on target
Maarten Lankhorst
mlankhorst at cross-lfs.org
Wed Dec 5 01:35:36 PST 2007
Hello Andreas,
Andreas Hofer schreef:
> During Installation onto the USB disk, my Ubuntu drive (SATA) is
> /dev/sda and the CLFS drive is /dev/sdb (root partition being /dev/sdb1
> mounted at /mnt/clfs). After installation the USB disk containing CLFS
> will be operated as the one and only disk of my target system and as
> such its device name will be /dev/sda.
>
> Can someone explain to me how to proceed installing GRUB. Specifically:
> Which parameters to take for the "root (drive,partition)" and "setup
> (drive)" commands and which path to take in menu.lst
To set up:
root (hd1,0)
setup (hd1)
In grub/menu.lst you should add:
kernel /boot/bzImage root=/dev/sda1
It would be best to do all serial/parallel ata drivers as modules, and
build usb mass storage directly into kernel, this will make sure your
usb disk is indeed /dev/sda1 .
-Maarten
More information about the Clfs-support
mailing list