[YLUG] Boot on usb

Dr P Dupre pd520 at york.ac.uk
Thu Dec 27 00:00:24 GMT 2007


Hello,

I copy a local HD to an external USB drive. My idea was to be able to
boot on the linux of the USB disk, but I was not able to make it work.
I am runing lilo of the local drive, and I can boot the linux on the
local HD but not on the usb.
THis is my lilo.conf

prompt
timeout=100
#default=2.6.14-1.1637_F
default=linux
boot=/dev/hda
#boot=/dev/sda
map=/boot/map
install=/boot/boot.b
message=/boot/message
#linear #Option at the first setup
lba32 #Replace linear

image=/boot/vmlinuz
         label=linux
         read-only
         initrd=/boot/initrd-2.6.16-2.img
         append="root=LABEL=/"

image=/mnt/external/boot/vmlinuz-2.6.16-2
         label=USB-2.6.16-2
 	root=/dev/sda2
         read-only
         initrd=/mnt/external/boot/initrd-2.6.16-2.img
         append="root=LABEL=/"

I also modified the fstab to make a correct mounting of the partitions.

It looks like that I cannot access to the usb drive with only lilo.
Should I first download in ram a kernel with the usb modules to  then
be able to access to the usb partitions ?

Thank.

-- 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Patrick Dupré                                             pd520 at york.ac.uk
University of York                                 Department of Chemistry
Heslington, York              YO10 5DD                      United Kingdom
Phone: +44-(0)-1904-434384                        Fax: +44-(0)-1904-432516
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


More information about the York mailing list