LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-10-2012, 11:32 AM   #1
embeddedlinux
LQ Newbie
 
Registered: Mar 2012
Posts: 10

Rep: Reputation: Disabled
not able to boot with new and existing kernel in ubuntu


Hi all,
I downloaded latest kernel 3.3.4 source from kernel.org, compiled it successfully(make), did make install and added to grub.conf file. Now when I tried to boot from 3.3.4 I am getting kernel panic and if I try to boot from existing kernel 2.6.38.8 then, I am not able to get the kernel selection window at the start of boot every time. I tried to restore back by removing the 3.3.4 kernel with some commands mentioned in the forum but with no success. Any help?

Thanks
 
Old 05-10-2012, 01:12 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,296

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
I never do a 'make install' with a kernel because it thinks it knows where everything is and what bootloader you're using, and it's wrong.

If you can boot on an install cd, mount your drives (You need /, usr, & /boot if they are separate), cd to the kernel top source (I'm presuming /usr/src/linux-nnn) and try something like

cp arch/x86/boot/bzImage ../../../boot/your_kernel_name
cp System.map ../../../boot/System_map_name
make modules_install
 
  


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
Dual-boot Windows XP after existing Ubuntu Lucid install--Can I do this? Oldgeek54 Linux - General 1 02-01-2012 02:30 PM
Install Mint 7 on existing XP Pro/ubuntu 9.04 dual boot blues2use Linux Mint 5 11-05-2009 10:28 PM
Need advice on turning existing Linux dual-boot into tri-boot with XP mojovski Linux - Newbie 7 03-14-2006 10:55 PM
HowDo I replace my existing kernel with a precompiled distro kernel ? gmartin Slackware 1 01-06-2004 09:46 PM
Dual boot "merge" from existing 98 & existing Linux atsmith Linux - Newbie 4 07-13-2003 03:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:41 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