Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel Panic: VFS: Unable to mount root fs on 03:01
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
fearofthedark
n00b
n00b


Joined: 09 Apr 2006
Posts: 8

PostPosted: Sun Apr 09, 2006 5:05 am    Post subject: Kernel Panic: VFS: Unable to mount root fs on 03:01 Reply with quote

I have an Ultra 5 and kernel-2.4.30
The LiveCD runs fine. Most of this is new to me, please help.

I get this message on boot:
Code:
VFS: Cannot open root device "hda1" or 03:01
Please append a correct "root=" option
Kernel panic: VFS: Unable to mount rootfs on 03:01
   Press L1-A to return to the boot prom

My silo.conf is:
Code:
partition = 1
root = /dev/hda1
timeout = 100
image = /boot/kernel-2.4.30
   label = linux

Everything that I know of that I need support for in the kernel is there. Why does it not work?
Thanks.
Back to top
View user's profile Send private message
cchapman
Guru
Guru


Joined: 16 Jan 2003
Posts: 440
Location: Fremont, NE

PostPosted: Sun Apr 09, 2006 7:32 am    Post subject: Reply with quote

what filesystem are you using andf did you compile that file system into the kernel...

also i think there is a setting in kernel config about default boot options... check that also
Back to top
View user's profile Send private message
fearofthedark
n00b
n00b


Joined: 09 Apr 2006
Posts: 8

PostPosted: Sun Apr 09, 2006 10:11 pm    Post subject: Reply with quote

I'm using ext3; ext3 support is compiled into the kernel.
I don't see the default boot options setting.
Back to top
View user's profile Send private message
cchapman
Guru
Guru


Joined: 16 Jan 2003
Posts: 440
Location: Fremont, NE

PostPosted: Mon Apr 10, 2006 5:05 am    Post subject: Reply with quote

can you post your fstab?
Back to top
View user's profile Send private message
fearofthedark
n00b
n00b


Joined: 09 Apr 2006
Posts: 8

PostPosted: Mon Apr 10, 2006 11:16 am    Post subject: Reply with quote

fstab:
Code:
/dev/hda1   /      ext2   defaults,noatime   0 0
/dev/hda2   none      swap   sw         0 0
/dev/hda4   /usr      ext3   noatime         0 1
/dev/hda5   /var      ext3   noatime         0 1
/dev/hda6   /home      ext3   noatime         0 1
/dev/cdroms/cdrom0 /mnt/cdrom    auto    noauto,user      0 0
/dev/fd0   /mnt/floppy    auto    noauto,user      0 0
none      /proc      proc   defaults      0 0
none      /dev/shm   tmpfs   nodev,nosuid,noexec   0 0
none      /proc/openprom   openpromfs   defaults   0 0
Back to top
View user's profile Send private message
cchapman
Guru
Guru


Joined: 16 Jan 2003
Posts: 440
Location: Fremont, NE

PostPosted: Mon Apr 10, 2006 3:41 pm    Post subject: Reply with quote

Are you using scsi drives by any chance? if so you need to substitiute hda with sda..
Back to top
View user's profile Send private message
BillyBoy
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2003
Posts: 101
Location: USA

PostPosted: Mon Apr 10, 2006 6:38 pm    Post subject: Reply with quote

Usually no SCSI on the U5.

Make sure the kernel you are pointing to in your silo.conf file actually exists. What does ls -l /boot show you? The kernel needs to be there as kernel-2.4.30, according to your post.

Here's the silo.conf from my U5:

Code:
root = /dev/hda1
default = Gentoo
timeout = 40
image = /boot/kernel-genkernel-sparc64-2.4.32-sparc-r2
        label = Gentoo


and it works fine for me.

Are you sure it's on hda?
Back to top
View user's profile Send private message
i-right-i
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2004
Posts: 118
Location: Chandler, AZ USA

PostPosted: Mon Apr 10, 2006 7:06 pm    Post subject: Reply with quote

fearofthedark wrote:
fstab:
Code:
/dev/hda1   /      ext2   defaults,noatime   0 0
/dev/hda2   none      swap   sw         0 0
/dev/hda4   /usr      ext3   noatime         0 1
/dev/hda5   /var      ext3   noatime         0 1
/dev/hda6   /home      ext3   noatime         0 1
/dev/cdroms/cdrom0 /mnt/cdrom    auto    noauto,user      0 0
/dev/fd0   /mnt/floppy    auto    noauto,user      0 0
none      /proc      proc   defaults      0 0
none      /dev/shm   tmpfs   nodev,nosuid,noexec   0 0
none      /proc/openprom   openpromfs   defaults   0 0


I noticed you said you have EXT3 compiled into your kernel, do you have EXT2 as well, I dont think that is there be default, and if you didnt add it, it wont be there. Your boot partition shows your using ext2 for your boot partition.

i-right-i
_________________
Gentoo on x86
Gentoo on SPARC
Back to top
View user's profile Send private message
fearofthedark
n00b
n00b


Joined: 09 Apr 2006
Posts: 8

PostPosted: Mon Apr 10, 2006 8:55 pm    Post subject: Reply with quote

No SCSI drives.

I'm sure its hda, there's only the one hard drive, and /dev/hda is what I use to get the LiveCD to mount the drive.

ls -l /boot shows me that the kernel is there with the name kernel-2.4.30

Ext2 support is compiled into the kernel.
Back to top
View user's profile Send private message
fearofthedark
n00b
n00b


Joined: 09 Apr 2006
Posts: 8

PostPosted: Fri Apr 14, 2006 3:54 pm    Post subject: Reply with quote

I gave up and did a fresh install on a new hard drive. The new install works.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum