LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-18-2007, 02:59 PM   #1
veeruk101
Member
 
Registered: Mar 2005
Distribution: Ubuntu 12.04 LTS
Posts: 249

Rep: Reputation: 16
PXE Boot Error: "Kernel panic - not syncing: Attempted to kill init!"


When using PXE boot, the OS looks like it's booting up to a certain point, but then gives the following error:

Code:
Activating logical volumes
  Volume group "VolGroup00" not found
ERROR: /bin/lvm exited abnormally! (pid 312)
Creating root device
Mounting root filesystem
mount: error 6 mounting ext3
mount: error 2 mounting none
Switching to new root
switchroot: mount failed: 22
umount /initrd/dev failed: 2
Kernel panic - not syncing: Attempted to kill init!
So it looks like the LVM stuff is causing the problem.

The kernel I used was the vmlinuz-2.6.9-42.0.3.EL that's located in the /boot directory of a Red Hat Enterprise Linux 4 installation. The ramdisk image I specified is the initrd-2.6.9-42.0.3.EL.img that's located in that same folder. (Because the kernel and image come from the same place and are already created, they must be compatible with each other.)

(I don't mind using another kernel/image pair, but I'd like one that's downloadable rather than me having to compile a kernel and create a ramdisk, so that I can isolate the cause of the problem to something that wasn't caused by my creation of the kernel or image.)

What could be going wrong here, and how can I fix it?
 
Old 07-18-2007, 03:30 PM   #2
veeruk101
Member
 
Registered: Mar 2005
Distribution: Ubuntu 12.04 LTS
Posts: 249

Original Poster
Rep: Reputation: 16
By the way, my configuration file located under /tftpboot/linux-install/pxelinux.cfg/ is as follows:

Quote:
default linux
label linux
kernel vmlinuz-2.6.9-42.0.3.EL
append initrd=initrd-2.6.9-42.0.3.EL.img root=/dev/ram rw ip=dhcp
As there isn't the greatest documentation on the above file, there's a huge chance I've prepared the above configuration file incorrectly.

The boot process continues to a certain point after finding both the kernel and image file, so I believe the TFTP server has been set up correctly. The client obtains an IP address from DHCP, and downloads these files and spits out a lot of information to the console before the errors in my previous post.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Explained: "kernel panic - not syncing - attempted to kill init" sundialsvcs Linux - Software 36 04-24-2010 08:58 AM
"Kernel panic - not syncing: Attempted to kill init!" after Yum update, CentOS 4.4 TestedDoughnut Linux - General 7 02-15-2007 04:22 PM
"Kernel panic: Attempted to kill init." eajack Linux - Desktop 1 08-23-2006 12:14 AM
kernel panic - not syncing attempted to kill init KennyS Fedora 1 02-22-2006 07:51 PM
Fedora Core 2 Install "attempted to kill init" kernel panic STuPiDiCuS Fedora - Installation 1 06-21-2004 03:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration