LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   lilo /dev/sda3 not a valid boot dev (https://www.linuxquestions.org/questions/linux-software-2/lilo-dev-sda3-not-a-valid-boot-dev-529323/)

puntjuh 02-15-2007 11:01 AM

lilo /dev/sda3 not a valid boot dev
 
Hi,

I am trying to install Gentoo on my PC. And after following all of the steps.. (i used genkernel) it created my kernel-genkernel system.map and initramfs file.

Now when i boot using LILO, i get:

block device /dev/sda3 is not a valid root device.
The root block device is unspecified or not detected.


My lilo config:

boot=/dev/hda # Install LILO in the MBR
prompt # Give the user the chance to select another section
timeout=50 # Wait 5 (five) seconds before booting the default section
default=gentoo # When the timeout has passed, boot the "gentoo" section

# For genkernel users
image=/boot/kernel-genkernel-x86-2.6.17-gentoo-r5
label=gentoo
read-only
root=/dev/ram0
append="init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev"
initrd=/boot/initramfs-genkernel-x86-2.6.17-gentoo-r5

anyone know what's wrong?

thanks.

blackhole54 02-15-2007 05:29 PM

The only thing that looks strange to me is:

root=/dev/ram0

Is that correct? I thought you had to give it a physical block device. (Remember that lilo in effect "compiles" the information when you run lilo rather than interpreting it at boot time the way grub does.)


All times are GMT -5. The time now is 05:50 PM.