Unix Technical Forum

Kernel Panic: VFS: Unable to mount root fs on 03:01

This is a discussion on Kernel Panic: VFS: Unable to mount root fs on 03:01 within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi guys, I encountered the following error while booting up a linux system: Kernel Panic: VFS: Unable to mount ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 01:54 PM
Steven
 
Posts: n/a
Default Kernel Panic: VFS: Unable to mount root fs on 03:01

Hi guys,

I encountered the following error while booting up a linux system:

Kernel Panic: VFS: Unable to mount root fs on 03:01

The system simply stalls.

What can I do to rectify the problem? What causes the problem?
Do I have to format the system?

Please advise.

Thanks

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 01:54 PM
Giovanni
 
Posts: n/a
Default Re: Kernel Panic: VFS: Unable to mount root fs on 03:01

On 01/07/06 09:53, Steven wrote:
> Hi guys,
>
> I encountered the following error while booting up a linux system:
>
> Kernel Panic: VFS: Unable to mount root fs on 03:01
>
> The system simply stalls.
>
> What can I do to rectify the problem? What causes the problem?
> Do I have to format the system?
>
> Please advise.


This usually happens when the file system driver is not part of the
kernel.

Ciao
Giovanni
--
A computer is like an air conditioner,
it stops working when you open Windows.
Registered Linux user #337974 <http://counter.li.org/>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 01:54 PM
Jason Hoss
 
Posts: n/a
Default Re: Kernel Panic: VFS: Unable to mount root fs on 03:01

Giovanni wrote:

> On 01/07/06 09:53, Steven wrote:
>> Hi guys,
>>
>> I encountered the following error while booting up a linux system:
>>
>> Kernel Panic: VFS: Unable to mount root fs on 03:01
>>
>> The system simply stalls.
>>
>> What can I do to rectify the problem? What causes the problem?
>> Do I have to format the system?
>>
>> Please advise.

>
> This usually happens when the file system driver is not part of the
> kernel.
>
> Ciao
> Giovanni



I would agree with Giovanni. This usually happens when you do not have the
filesystem you have your drive formatted as as part of your kernel. If you
are loading as a module you will have to make it part of your initrd so
that the fs driver is loaded before it tries to mount the fs in question.

Gecko
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 01:54 PM
Ron Gibson
 
Posts: n/a
Default Re: Kernel Panic: VFS: Unable to mount root fs on 03:01

On Sat, 07 Jan 2006 09:26:24 -0500, Jason Hoss wrote:

>>> Kernel Panic: VFS: Unable to mount root fs on 03:01


>>> The system simply stalls.


>> This usually happens when the file system driver is not part of the
>> kernel.


> I would agree with Giovanni. This usually happens when you do not have
> the filesystem you have your drive formatted as as part of your kernel.
> If you are loading as a module you will have to make it part of your
> initrd so that the fs driver is loaded before it tries to mount the fs in
> question.


Actually this can happen for a number of reasons. In essence it means -
The bootloader can't find a root partition where it was directed to
either in lilo.conf, fstab, by a mangled lilo installation or no file
system support exists, (I'd think making your root file system
support *in* the kernel, rather than as a module, is essential, IMO).

The cure is always find a way to boot, chroot and fix the error.

Reinstall or reformat is what winders users do. I've botched the MBR,
and the partition table both and still was able to recover my root in
perfect shape.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 01:55 PM
TuxRaider
 
Posts: n/a
Default Re: Kernel Panic: VFS: Unable to mount root fs on 03:01

i would boot up with a live CD like slax or knoppix and look around in
your root disk partition, look at /etc/fstab and /etc/liliconfig for
any errors, next unmount the root disk partition then see if fsck finds
any errors, do this before re-installing as there is a chance you can
fix what you have...

also if a live CD wont mount it then just see of fsck tells you
anything...

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 01:55 PM
Steven
 
Posts: n/a
Default Re: Kernel Panic: VFS: Unable to mount root fs on 03:01

Ok.

It seems that fsck doesnt really solve the problem. Weird kernel errors
may pop up upon bootup.

I've tried popping in SLAX live cd. But oftenly, even SLAX can fail to
boot up the system with weird init errors.

I realised it would be a problem with my ram.

I removed one stick of ram from my system. That solved the problem. I
can boot up with no issues.

That stick of removed ram is higly suspicious. Im wondering are there
any ram testing tool in linux

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 01:56 PM
Steven
 
Posts: n/a
Default Re: Kernel Panic: VFS: Unable to mount root fs on 03:01

Okay.

The system is behaving strangely. Sometimes upon boot, it will hit the
error i said earlier. Sometimes it will hit with Kernel panic: Unable
to handle interrupt or similiar.

What I did was to get a copy of SLAX, boot up the system using SLAX,
unmount the problematic partition which contains linux, did a #e2fsck
-f

After the checking was done, the system is able to boot normally.

I wonder whether did I correectly use e2fsck or was it pure luck?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-20-2008, 01:56 PM
Damjan
 
Posts: n/a
Default Re: Kernel Panic: VFS: Unable to mount root fs on 03:01

> That stick of removed ram is higly suspicious. Im wondering are there
> any ram testing tool in linux


memtest.org, it works from a bootable floppy or CD (it can run from
Linux because of the vrtual memory support in the OS).

If you have a Ubuntu CD it already has an option to start memtest when
booting from the CD.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-20-2008, 01:57 PM
Ron Gibson
 
Posts: n/a
Default Re: Kernel Panic: VFS: Unable to mount root fs on 03:01

On Sun, 08 Jan 2006 23:50:33 -0800, Steven wrote:

> I realised it would be a problem with my ram.
>
> I removed one stick of ram from my system. That solved the problem. I can
> boot up with no issues.


> That stick of removed ram is higly suspicious. Im wondering are there any
> ram testing tool in linux


Good detective work.

To be sure about that stick of RAM pull the good one and try the
suspicious one in the same slot.

I've had defective slots on mobos before.

If the suspicious one is OK in another slot then the slot you pulled
it from is bad or it wasn't seated properly.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-20-2008, 01:57 PM
John
 
Posts: n/a
Default Re: Kernel Panic: VFS: Unable to mount root fs on 03:01

In article <1136793032.952447.77370@o13g2000cwo.googlegroups. com>,
stevong@gmail.com says...
: Ok.
:
: It seems that fsck doesnt really solve the problem. Weird kernel errors
: may pop up upon bootup.
:
: I've tried popping in SLAX live cd. But oftenly, even SLAX can fail to
: boot up the system with weird init errors.
:
: I realised it would be a problem with my ram.
:
: I removed one stick of ram from my system. That solved the problem. I
: can boot up with no issues.
:
: That stick of removed ram is higly suspicious. Im wondering are there
: any ram testing tool in linux
:
:

The *best* name brand ram is "none too good". (Sage advice from an old
computer builder I used to know). Another piece of good advice is
invest in a quality power supply (most are junk). Good memory and a
good power supply means 99% of problems never happen.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:39 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com