Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 06-04-2008, 02:03 PM   #1
Registered: Feb 2007
Posts: 386

Rep: Reputation: 30
cannot boot after update kernel

I have a RedHat EL4 desktop. I try recompiling new kernel 2.6.25 myself and able to follow steps from

When I boot with the new kernel, I get an error

Booting the kernel,
Red Hat nash version startin
Reading all physical volumes. THis may take a while...
No volume groups found
Unable to find volume group "VolGroup00"
ERROR: /bin/lvm exited abnomally! (pid 383)
mount: error 6 mounting ext3
mont: error 2 mounting none
switchingroot: mount failed: 22
umount /initrd/dev failed: 2
Kernel panic -- not shyncing: Attempted to kill init!

I am not sure what all this mean... it worked with the old kernel if I switch back.

Please help!!
Old 06-05-2008, 10:58 PM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
Please use the web site search. This question comes up all the time. Search for the string "kernel panic" or "not syncing" or "attempted to kill init". Make sure that you spell the words correctly.

Basically this has to do with the initrd image for the new kernel not having the driver to mount the system partition.
Old 06-06-2008, 11:22 AM   #3
Registered: Feb 2007
Posts: 386

Original Poster
Rep: Reputation: 30
I googled, but could not find exact solution i can proceed.
I guess it is because the new kernel detects a RAID card (connected drives).

I also check my Kernel configure file and it do support ext2 and ext3. My guess it is because of the LVM.

Do I need LVM in Kernel or some module for this new kernel? How do I check the if my configure has that?
Old 06-06-2008, 12:28 PM   #4
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
The first step should have been "make oldconfig". This will copy your old kernel config options for the new kernel, then you can fine tune it with "make xconfig".

The .config file exists in the kernel source directory. Also, look in /boot/config-<version>. The config of the running cable may be accessible from "zcat /proc/config.gz". Run diff on your old .config and the new one.
Old 06-06-2008, 10:23 PM   #5
LQ Newbie
Registered: Jun 2008
Posts: 11

Rep: Reputation: 0
If it's enabled in the kernel you can also get a copy of the config in /proc/config.gz It is the config file saved in the running kernel itself. SO if you have a kernel that does almost everything you want, like boot, you can use this kernel and just extract it and save it as .config in the root of your kernel source. The run what ever method you use to configure your kernel and you just change the part you need.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
can't boot after kernel update lordpeter Linux - Software 1 10-10-2004 10:41 AM
Can't boot with new kernel after update MHouse Fedora 2 08-22-2004 04:02 AM
Kernel update boot problems, no boot loader StaticSage Red Hat 2 01-09-2004 07:05 AM
kernel-update, a success... BUT... couldn't boot from the updated-kernel Pisces107 Red Hat 7 12-17-2003 03:27 PM
update to new kernel ,bootup still boot old kernel? kalmen Linux - General 3 06-21-2003 07:55 PM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 02:34 PM.

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