View previous topic :: View next topic |
Author |
Message |
fearofthedark n00b
Joined: 09 Apr 2006 Posts: 8
|
Posted: Sun Apr 09, 2006 5:05 am Post subject: Kernel Panic: VFS: Unable to mount root fs on 03:01 |
|
|
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 |
|
|
cchapman Guru
Joined: 16 Jan 2003 Posts: 440 Location: Fremont, NE
|
Posted: Sun Apr 09, 2006 7:32 am Post subject: |
|
|
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 |
|
|
fearofthedark n00b
Joined: 09 Apr 2006 Posts: 8
|
Posted: Sun Apr 09, 2006 10:11 pm Post subject: |
|
|
I'm using ext3; ext3 support is compiled into the kernel.
I don't see the default boot options setting. |
|
Back to top |
|
|
cchapman Guru
Joined: 16 Jan 2003 Posts: 440 Location: Fremont, NE
|
Posted: Mon Apr 10, 2006 5:05 am Post subject: |
|
|
can you post your fstab? |
|
Back to top |
|
|
fearofthedark n00b
Joined: 09 Apr 2006 Posts: 8
|
Posted: Mon Apr 10, 2006 11:16 am Post subject: |
|
|
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 |
|
|
cchapman Guru
Joined: 16 Jan 2003 Posts: 440 Location: Fremont, NE
|
Posted: Mon Apr 10, 2006 3:41 pm Post subject: |
|
|
Are you using scsi drives by any chance? if so you need to substitiute hda with sda.. |
|
Back to top |
|
|
BillyBoy Tux's lil' helper
Joined: 26 Nov 2003 Posts: 101 Location: USA
|
Posted: Mon Apr 10, 2006 6:38 pm Post subject: |
|
|
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 |
|
|
i-right-i Tux's lil' helper
Joined: 08 Nov 2004 Posts: 118 Location: Chandler, AZ USA
|
Posted: Mon Apr 10, 2006 7:06 pm Post subject: |
|
|
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 |
|
|
fearofthedark n00b
Joined: 09 Apr 2006 Posts: 8
|
Posted: Mon Apr 10, 2006 8:55 pm Post subject: |
|
|
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 |
|
|
fearofthedark n00b
Joined: 09 Apr 2006 Posts: 8
|
Posted: Fri Apr 14, 2006 3:54 pm Post subject: |
|
|
I gave up and did a fresh install on a new hard drive. The new install works. |
|
Back to top |
|
|
|