LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   New kernel - VFS: Cannot open root device "301" or unknown block(3,1) (https://www.linuxquestions.org/questions/debian-26/new-kernel-vfs-cannot-open-root-device-301-or-unknown-block-3-1-a-312484/)

j0y 04-12-2005 01:42 PM

New kernel - VFS: Cannot open root device "301" or unknown block(3,1)
 
Hi,
i just compilled a new kernel (2.6.11.7). But now everytime i reboot, i get the following message:

VFS: Cannot open root device "301" or unknown block(3,1)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block(3,1)

The lilo.conf is edited! If anyobdy knows why, i would be thankful for an information! ;D

Thxn!

masand 04-12-2005 01:54 PM

hi there

do u have ext2 FS support in ur kernel othere than the FS u are using on ur Linux partiton

regards

ceyhunk 04-30-2005 09:14 PM

First, use rescue cd or floopy or smt. to access your distro files
Second,look files at /boot and identify your new .img ( this file name must be included in /etc/lilo.conf )

Third, edit your /etc/lilo.conf with your favorite text editor and add initrd=/boot/initrd.img to the image =/vmlinuz section

Finally, type lilo ( this activates your lilo conf) and press enter

Now, you will be able to boot your Linux normally.

Eg.
Look at " initrd.img-2.6.11-1-386". This is my .img
-----------------------------------------
debian:/boot# ls
System.map-2.4.18-bf2.4 boot-text.b config-2.4.18-bf2.4 vmlinuz-2.4.18-bf2.4 initrd.img-2.6.11-1-386
boot-bmp.b boot.0300 lost+found
boot-compat.b boot.b map
boot-menu.b chain.b os2_d.b
------------------------------------------

my lilo.conf before modification:


default=Linux

image=/vmlinuz
label=Linux
read-only


my lilo.conf after modification


default=Linux

image=/vmlinuz
label=Linux
initrd=/boot/initrd.img-2.6.11-1-386
read-only


All times are GMT -5. The time now is 07:17 PM.