You are not logged in.

#1 2006-03-20 09:42:14

trapdoor
Member
Registered: 2005-03-27
Posts: 82
Website

Weird Kernel Panic (more or less solved)

Hey guys,

When I tried booting this morning i got a Kernel Panic.

I tried using archck and the stock kernel, but both give me the same error

VFS: Cannot open root device "hda3" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

I chrooted into hda3 and this works perfectly, so any ideas?[/code]

Offline

#2 2006-03-20 11:39:32

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: Weird Kernel Panic (more or less solved)

Did you run an fsck on /dev/hda3?


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#3 2006-03-20 12:06:38

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,121

Re: Weird Kernel Panic (more or less solved)

Had the same problem once. I forgot that my HD was connected to a kind of SATA controller.. Try sda3 if you are unsure about that.


Dammit, haven't been here in a while. Still rocking Arch. smile

Offline

#4 2006-03-20 13:27:25

trapdoor
Member
Registered: 2005-03-27
Posts: 82
Website

Re: Weird Kernel Panic (more or less solved)

Sigi wrote:

Had the same problem once. I forgot that my HD was connected to a kind of SATA controller.. Try sda3 if you are unsure about that.

It worked for like 2 Years with hda3 so i don't think it changes over night

Offline

#5 2006-03-20 14:05:53

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,121

Re: Weird Kernel Panic (more or less solved)

trapdoor wrote:
Sigi wrote:

Had the same problem once. I forgot that my HD was connected to a kind of SATA controller.. Try sda3 if you are unsure about that.

It worked for like 2 Years with hda3 so i don't think it changes over night

Who knows. Have you updated udev or your kernel lately?


Dammit, haven't been here in a while. Still rocking Arch. smile

Offline

#6 2006-03-20 14:12:22

trapdoor
Member
Registered: 2005-03-27
Posts: 82
Website

Re: Weird Kernel Panic (more or less solved)

Yep, i did... but i think the problem has something to do with initramfs.

So what i did is, i put in the arch 0.7 installation cd and chrootet into /dev/hda3 and did mkinitramfs, but it always says that /sys/ is not mounted, so how do i do that?

Or is there an easier way, maybe via live cd to fix this?

Offline

#7 2006-03-20 14:23:04

MAC!EK
Member
Registered: 2005-09-27
Posts: 265

Re: Weird Kernel Panic (more or less solved)

Does /sys directory exist?
Mayby add initrd-full to lilo as an additional boot label?

Offline

#8 2006-03-20 14:38:38

trapdoor
Member
Registered: 2005-03-27
Posts: 82
Website

Re: Weird Kernel Panic (more or less solved)

It exists but it isn't mounted, i added initramfs-full to grub, but nothing happened

Offline

#9 2006-03-20 14:54:50

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,121

Re: Weird Kernel Panic (more or less solved)

Can you post your /etc/fstab and your /boot/grub/menu.lst or lilo.conf?


Dammit, haven't been here in a while. Still rocking Arch. smile

Offline

#10 2006-03-20 21:47:05

trapdoor
Member
Registered: 2005-03-27
Posts: 82
Website

Re: Weird Kernel Panic (more or less solved)

Here we go with fstab and menu.conf

#
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0

/dev/cdrom             /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
/dev/dvd               /mnt/dvd  udf       ro,user,noauto,unhide   0      0
/dev/fd0               /mnt/fl   vfat      user,noauto             0      0

/dev/hda2 swap swap defaults 0 0
/dev/hda3 / reiserfs defaults 0 0
/dev/hdb1 /home/trapdoor/data reiserfs user 0 0
/dev/hda1              /mnt/win2         vfat   user

and

# (0) Arch Linux
title  Arch Linux  [/boot/vmlinuz26]
root   (hd0,2)
kernel /boot/vmlinuz26archck root=/dev/hda3 initrd /boot/initramfs-full.img ro

title Windows XP
rootnoverify (hd0,0)
chainloader +1
makeactive

Hope this wil help in any way

Offline

#11 2006-03-20 22:09:47

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,121

Re: Weird Kernel Panic (more or less solved)

Try this, don't know if it helps:

# (0) Arch Linux
title  Arch Linux  [/boot/vmlinuz26]
root   (hd0,2)
kernel /boot/vmlinuz26archck root=/dev/hda3 ro
initrd /boot/initramfs-2.6.15-archck.img

Cheers Sigi


Dammit, haven't been here in a while. Still rocking Arch. smile

Offline

#12 2006-03-21 08:51:24

trapdoor
Member
Registered: 2005-03-27
Posts: 82
Website

Re: Weird Kernel Panic (more or less solved)

I tried it tomorrow, but without any positive result.

Are there any other suggestions? If not, i will backup all my data and reinstall arch.

Offline

#13 2006-03-21 08:59:06

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,121

Re: Weird Kernel Panic (more or less solved)

What do you mean by "without any positive result"?
Still the same error? Do you have the newest version of mkinitramfs installed?

Cheers Sigi


Dammit, haven't been here in a while. Still rocking Arch. smile

Offline

#14 2006-03-21 13:28:31

trapdoor
Member
Registered: 2005-03-27
Posts: 82
Website

Offline

#15 2006-03-22 20:42:59

trapdoor
Member
Registered: 2005-03-27
Posts: 82
Website

Re: Weird Kernel Panic (more or less solved)

I reinstalled my system and now everything works perfect again, so thanks for your help anyway. I'll mark this thing solved now.

Offline

Board footer

Powered by FluxBB