LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-26-2004, 08:35 AM   #1
muerte42200
LQ Newbie
 
Registered: Dec 2004
Location: memphis,tn
Distribution: WBEL3
Posts: 17

Rep: Reputation: 0
VFS: Cannot open root device


like im sure this is a pretty common mistake....for all the new people out there messing aroudn with linux

in anycase im getting

VFS: Cannot open root device "LABEL=/" or 00:00
Please append a correct "root=" boot option

Kernel panic: VFS:Unable to mount root fs on 00:00


reason for getting this error.....sigh i figured i could go and modify the grub.conf myself considering it was showing 4 other kernels to choose from

i just wanted to have my current kernel only so i took out what i thought was harmless info from the grub.conf pretaingitn to the OTHER kernels...now i cant boot up at all

How can i solve the user-end problem ??

Last edited by muerte42200; 12-26-2004 at 09:12 AM.
 
Old 12-26-2004, 09:14 AM   #2
muerte42200
LQ Newbie
 
Registered: Dec 2004
Location: memphis,tn
Distribution: WBEL3
Posts: 17

Original Poster
Rep: Reputation: 0
Smile

i fixed thie problem..

went into windows and opened up Partition Magic and was able to view my linux drive i went to the /boot/grub dir and thank god it made a back up so i deleted the file and renamed the back up and vola!

i was getting skerred i was gonna have to use windows for awhile
 
Old 12-26-2004, 09:23 AM   #3
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
I have come across problems like that from time to time. I always use Knoppix to fix such things - and fix other people's Windows, just for show...
 
Old 01-20-2005, 11:59 AM   #4
msherek
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
I was trying to upgrade my kernel from 2.4.22 to 2.4.27 I'm having the same error message when I tried to bootup the new kernel. (2.4.27) Does anyone know where should I start in fixing my problem?
 
Old 01-20-2005, 12:41 PM   #5
Lazarus
Member
 
Registered: Dec 2001
Location: Kent in UK
Distribution: Fedora 2
Posts: 170

Rep: Reputation: 30
Check your new kernel supports your root file system. I usualy compile it in rather than use a module. I use FC2 but with reiserfs. Look at /etc/fstab mine is :-

/dev/hda2 / reiserfs defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,user,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0


I installed FC2. Cut out all the bits I did not want. Dumped whole lot as a tar archive. Reformatted hda2 as reiserfs.
Reloaded the tar archive.
If I do not edit fstab I get the same error as you.
Hope all this gives you some clue as to where to look.
 
Old 01-20-2005, 01:03 PM   #6
msherek
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
Well, I'm still not sure what to do. I'm using FC1. Here is my /etc/fstab old kernel setting (2.4.22).

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults 1 2
LABEL=/opt1 /opt ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
 
Old 01-21-2005, 04:43 AM   #7
Lazarus
Member
 
Registered: Dec 2001
Location: Kent in UK
Distribution: Fedora 2
Posts: 170

Rep: Reputation: 30
for your boot volume try in fstab

/dev/hdan / ext3 defaults 1 1

where hdan is where your root is, in my case hda2

Your kernel must be able to read ext3 filesystem
 
  


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 error pandorazbox Slackware 9 03-31-2008 08:00 PM
Kernel Trouble: VFS: Cannot open root device Optimistic Debian 2 09-19-2005 03:41 PM
VFS: Cannot open root device antony.booth Linux - General 2 05-25-2005 05:20 AM
VFS: Cannot open root device 08:01 rddreamz Red Hat 0 05-09-2004 11:40 AM
VFS: Cannot open root device Mamour Linux - Software 8 04-20-2004 02:21 PM


All times are GMT -5. The time now is 01:02 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration