Pedro Salazar
2003-06-17 21:02:51 UTC
Greetings,
I have a USB pen drive that I can mount it on /dev/sda1, and I have on
it already a LFS installation, Now I would like to boot from it.
I'm trying to use the GRUB and I already mapped my usb device with hd1
on /boot/grub/device.map:
(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/sda <---- HERE!
However, even I have access to the USB device from grub shell on my
system, at boot I can't map to the USB storage to hd1!!
root (hd1,0)
21 : Selected disk does not exist
This error is returned if the device part of a device- or full file name
refers to a disk or BIOS device that is not present or not recognized by
the BIOS in the system.
**
I'm thinking that if the USB module isn't loaded then the USB device is
also unavailable! So, how can we boot from a flash device?
BTW, my board is USB bootable but the GRUB isn't loaded by the USB flash
rather is loaded by hard drive. I already configured the boot order in
the BIOS. Isn't possible to boot from USB flash device?
thanks,
Pedro Salazar
P.S.- My case is GRUB, but I know LFS is documented with LILO. However,
the issue here (LFS+BOOT+USB) applies to both, LILO or GRUB, right?
I have a USB pen drive that I can mount it on /dev/sda1, and I have on
it already a LFS installation, Now I would like to boot from it.
I'm trying to use the GRUB and I already mapped my usb device with hd1
on /boot/grub/device.map:
(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/sda <---- HERE!
However, even I have access to the USB device from grub shell on my
system, at boot I can't map to the USB storage to hd1!!
root (hd1,0)
21 : Selected disk does not exist
This error is returned if the device part of a device- or full file name
refers to a disk or BIOS device that is not present or not recognized by
the BIOS in the system.
**
I'm thinking that if the USB module isn't loaded then the USB device is
also unavailable! So, how can we boot from a flash device?
BTW, my board is USB bootable but the GRUB isn't loaded by the USB flash
rather is loaded by hard drive. I already configured the boot order in
the BIOS. Isn't possible to boot from USB flash device?
thanks,
Pedro Salazar
P.S.- My case is GRUB, but I know LFS is documented with LILO. However,
the issue here (LFS+BOOT+USB) applies to both, LILO or GRUB, right?
--
PS
pedro-b-salazar at ptinovacao.pt
PGP:0E129E31D803BC61
--
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message
PS
pedro-b-salazar at ptinovacao.pt
PGP:0E129E31D803BC61
--
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message