Re: booting without initrd

From: Yaroslav Klyukin
Date: Fri Jun 09 2006 - 16:42:59 EST


Ram Gupta wrote:
> I am trying to boot with 2.6.16 kernel at my desktop running fedora
> core 4 . It does not boot without initrd generating the message "VFS:
> can not open device "804" or unknown-block(8,4)
> Please append a correct "root=" boot option
> Kernel panic - not syncing : VFS:Unable to mount root fs on
> unknown-block(8,4)
>
> I have disabled the module support & built in all modules/drivers for
> ide/scsi/sata but it does not boot. I have to disable the module as I
> need a statically built kernel.

Depending on the type of SATA you use, the hard disk may be called either /dev/sda or /dev/hda
libata emulates SCSI, so it will be called /dev/sda

Find out which partition is /
Eg: /dev/sda2

Then append root=/dev/sda2 to the kernel boot prompt.
If you are using grub, press "e" for "edit".

All that will work given that you have built the proper IDE or SCSI drivers into the kernel.
Also, make sure you have built the proper filesystem support into the kernel too.

>
> If someone could describe the way to boot without initrd it will be great.
>
> Thanks in advance for your cooperation.
> Ram Gupta
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/