You are not logged in.

#1 2008-10-15 00:48:49

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Kernel Panic during Boot

I had to switch out my current sata hard drive for a pata hard drive.  When I went to install arch linux, everything installed fine.  However, after running pacman -Syu, my system failed to boot anymore, giving me a message saying "Kernel panic: No init found. Try passing init= option to kernel"

I looked around and tried the solutions, by setting init= to /sbin/init, /usr/sbin/init, /bin/init, etc, and none of those worked.  I read up on the wiki and tried chrooting into my system, but that failed to work as well.

I read up on the wiki, and found out about the problem with the change in the labelling scheme of pata drives to use the sdX convention, rather than hdX.  However, the instructions don't help, because the drives are labeled by UUID, rather than hdX or sdX.  What do I do now?  I'm stuck using Fedora once again, and the current ATI drivers for Fedora 8 suck.  My card is running like it's from 3 or 4 years ago!

Offline

#2 2008-10-15 07:39:32

Onwards
Member
From: Pakistan
Registered: 2007-04-18
Posts: 108

Re: Kernel Panic during Boot

/dev/hdX naming scheme won't work anymore in the new kernel (.27), as I understood it.

Offline

#3 2008-10-15 13:49:12

sinister99
Member
Registered: 2007-04-10
Posts: 136

Re: Kernel Panic during Boot

are you using lilo? there was a new kernel.  If you are, you have to run /sbin/lilo after each kernel update

Offline

#4 2008-10-15 14:33:33

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Re: Kernel Panic during Boot

Actually, I was using grub.  Right now, Arch isn't installed.  What do I need to do during the install procedure to fix this problem?

Offline

#5 2008-10-15 15:05:16

Onwards
Member
From: Pakistan
Registered: 2007-04-18
Posts: 108

Re: Kernel Panic during Boot

No need to take any extraordinary measures. Just follow the steps as the installer directs.

Offline

#6 2008-10-15 15:21:53

koch
Member
From: Germany
Registered: 2008-01-26
Posts: 369

Re: Kernel Panic during Boot

have an eye here before updating your new system...

http://bbs.archlinux.org/viewtopic.php?id=56431

Offline

#7 2008-10-15 17:13:38

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Re: Kernel Panic during Boot

Hmm, I saw that klibc before I installed to the pata drive.  I just ran pacman -Rd klibc before upgrading and had no problems.  Though, since klibc is a dependency of mkinitcpio, I should try removing the symlink rather than the package itself.

Offline

#8 2008-10-16 11:56:09

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Re: Kernel Panic during Boot

Okay, I'm making another installation attempt, using the instructions that koch pointed out.  If I run into any problems, I'll post them here.

Offline

Board footer

Powered by FluxBB