LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 06-04-2008, 01:03 PM   #1
ufmale
Member
 
Registered: Feb 2007
Posts: 385

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 http://www.cyberciti.biz/tips/compil...kernel-26.html

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

Booting the kernel,
Red Hat nash version 4.2.1.6 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, 09:58 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
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, 10:22 AM   #3
ufmale
Member
 
Registered: Feb 2007
Posts: 385

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, 11:28 AM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
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, 09:23 PM   #5
ArkRoyal
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.
 
  


Reply


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


All times are GMT -5. The time now is 07:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration