You are not logged in.

#1 2008-10-14 16:25:22

Verminoz
Member
From: Greece
Registered: 2008-08-17
Posts: 47
Website

[Solved] kernel panic

hello,
after the last upgrade with pacman (including kernel image) I get this:

Failed to execute /init
Kernel panic - not syncing: No init found. Try passing init= option to kernel

Can you help? Why does this happen? (it's also nice to learn what is happening big_smile )

Last edited by Verminoz (2008-10-14 18:11:41)


Ohne Musik ware das Leben ein Irrtum

Offline

#2 2008-10-14 16:59:22

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: [Solved] kernel panic

Post some data ...say from dmesg..can't help without data!


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#3 2008-10-14 17:08:33

Verminoz
Member
From: Greece
Registered: 2008-08-17
Posts: 47
Website

Re: [Solved] kernel panic

Unfortunately, I can't get you dmesg because the system never boots, neither from the normal image or the fallback. Now I have booted the PC from the Archlinux live cd. If you think this dmesg would help I can post it here.

I am trying to chroot to my system like this:
mkdir /media/md
mount /dev/sda6 /media/md
chroot /media/md

but I get this stupid error:
chroot cannot run command '/bin/bash': Exec format error

The filesystem however is there including /bin/bash with execute priviledges...

yikes

Last edited by Verminoz (2008-10-14 17:09:54)


Ohne Musik ware das Leben ein Irrtum

Offline

#4 2008-10-14 17:38:33

Verminoz
Member
From: Greece
Registered: 2008-08-17
Posts: 47
Website

Re: [Solved] kernel panic

Ok! Apparently, I was trying to chroot from a i686 cd while I have x86_64 installed I burned a x86_64 live cd and I managed to chroot to my installed system. I reinstalled sysvinit and initscripts but after reboot I still get the same problem.

Now that I have chroot, any ideas on how to get my system running? the last thing I did was a pacman -Syu that installed a new kernel image...


Ohne Musik ware das Leben ein Irrtum

Offline

#5 2008-10-14 17:45:13

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

Re: [Solved] kernel panic

Try chrooting into your system and then regenerating kernel images with "mkinitcpio -p kernel26".  Sometimes this helps...

Offline

#6 2008-10-14 18:11:23

Verminoz
Member
From: Greece
Registered: 2008-08-17
Posts: 47
Website

Re: [Solved] kernel panic

It worked! Thanks a lot! smile


Ohne Musik ware das Leben ein Irrtum

Offline

Board footer

Powered by FluxBB