LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 04-12-2005, 01:42 PM   #1
j0y
LQ Newbie
 
Registered: Apr 2005
Posts: 1

Rep: Reputation: 0
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!
 
Old 04-12-2005, 01:54 PM   #2
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

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

regards
 
Old 04-30-2005, 09:14 PM   #3
ceyhunk
LQ Newbie
 
Registered: Apr 2005
Location: Ankara
Distribution: Debian, Fedora
Posts: 3

Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VFS: Cannot open root device "cobd1" or unknown-block(117,1) lorenzobalan Linux - General 4 12-12-2007 06:19 PM
FC2; VFS: Cannot open root device "LABEL=/" or unknown-block(0,0) Starchild Fedora 11 01-18-2006 03:39 AM
Kernel Panic:VFS: Cannot open root device "hda3" or 00:10 shivendnrab Linux - General 1 07-01-2004 03:08 AM
VFS: Cannot open root device "1601" or unknown-block(22,1) takehora Slackware 3 06-11-2004 08:34 PM
VFS: cannot open root device "306".... mrosati Linux - Software 0 05-30-2004 03:14 AM


All times are GMT -5. The time now is 06:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration