You are not logged in.

#1 2007-09-23 01:47:40

sokuban
Member
Registered: 2006-11-11
Posts: 412

kernel panic since upgrade to core. Unable to mount root fs on

kernel panic : not syncing; VFS; Unable to mount root fs on unknown-block (0,0)

I get that error since I upgraded archlinux to the latest version. The last time I upgraded before that was while the repos was still named current. Since I upgraded to core that happened.

What should I do? How could I fix this? I have this problem on the fallback kernel too.

Last edited by sokuban (2007-09-23 01:49:57)

Offline

#2 2007-09-23 03:02:04

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: kernel panic since upgrade to core. Unable to mount root fs on

Sounds like mkinitcpio did not generate a valid image.  You will need to boot or chroot into your system somehow and regenerate the images (after confirming that mkinitcpio.conf is configured correctly) - it is best to load the module for the filesystem of your root partition as well modules for sata pata or whatever your hard drive uses using the modules array towards the beginning of the file.  That would be one idea.

Offline

#3 2007-09-23 12:04:31

sokuban
Member
Registered: 2006-11-11
Posts: 412

Re: kernel panic since upgrade to core. Unable to mount root fs on

How would I do that?

Can the Archlinux CD boot into an existing archlinux installation?

Let me try.

Yup, the Archlinux CD can boot the system with no worries. Now how would i go with this mkinit thing? I remember I had a problem like this when I first got archlinux. I'll see if the topic is still here.

Last edited by sokuban (2007-09-23 12:18:20)

Offline

#4 2007-09-23 12:15:56

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: kernel panic since upgrade to core. Unable to mount root fs on

boot: arch root=...


1000

Offline

#5 2007-09-23 12:21:46

sokuban
Member
Registered: 2006-11-11
Posts: 412

Re: kernel panic since upgrade to core. Unable to mount root fs on

Ok, I found the command "mkinitcpio -p kernel26"

It seems to be rebuilding the kernel now, lets see if it works like this or it is really a problem with my config files.

And it works folks!!

Wow, so I just had bad luck when I upgraded? Thanks for all your help.

Last edited by sokuban (2007-09-23 12:23:22)

Offline

#6 2007-09-28 18:11:12

xboxer21
Member
From: New Jersey, US
Registered: 2007-09-26
Posts: 4

Re: kernel panic since upgrade to core. Unable to mount root fs on

Hello All,
I have two hard drives installed in my pc, one is ATA and the other one is a SATA.
ATA is /dev/sda  200GB
SATA os /dev/sdb 40GB
I have installed arch linux onto sdb. grub also is installed to sdb.
Whenever I do a pacman -Syu and reboot I get the kernel panic not synching attempted to kill init error message at boot
I then boot the pc using the fallback image and copied the fallback config to /etc/mkinicpio.conf and ran mkinitcpio -p kernel26 and rebooted. everything works fine. but just running the command pacman -Syu and rebooting will end up with the same problem. though pacman -Syu does not install any updates. what is it that I'm doing wrong?

Thanks

Last edited by xboxer21 (2007-09-28 18:11:36)

Offline

#7 2007-09-28 23:41:58

sokuban
Member
Registered: 2006-11-11
Posts: 412

Re: kernel panic since upgrade to core. Unable to mount root fs on

New kernel update, and it won't boot again folks.

After I go in with the Archlinux CD, then use the same command I used in the above post. It boots again.

So I still have a problem. Just not as severe.

Offline

Board footer

Powered by FluxBB