Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-04-2012, 04:11 AM   #1
LQ Newbie
Registered: Jan 2012
Posts: 12

Rep: Reputation: Disabled
To install multiple kernels on ubuntu machine

I wanted to have another kernel 3.0.4 on ubuntu 11.04, with my own configuration options(not a pre built kernel).For that i followed the steps below.

1) Downloaded the kernel-3.0.4
2) make menuconfig
3) make
4) sudo make install

and the contents of my boot is as follows:

cd /boot


In the boot prompt, the new linux kernel version comes.When i select it and try to boot with that,not able to boot.A blank screen only appears.I am not getting what is the mistake i am making.Please throw some light on this.

Old 05-04-2012, 04:16 AM   #2
LQ Guru
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 10,387

Rep: Reputation: 3073Reputation: 3073Reputation: 3073Reputation: 3073Reputation: 3073Reputation: 3073Reputation: 3073Reputation: 3073Reputation: 3073Reputation: 3073Reputation: 3073
boot the old kernel 2.6.38 and see the logs
Old 05-04-2012, 04:27 AM   #3
Senior Member
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Originally Posted by Mayurapriyan View Post
with my own configuration options(not a pre built kernel).
Looks like you left an important configuration out.It is always best, if you don't do this often, to use a working config (in other words one that is already on your system) as a base to start from. That way you should at least be able to boot to a working system.

Try this method (of course you will need to change the file paths/names to suit your system)
1. cd into the extracted folder.
2. cp /boot/config-3.2.0-2-amd64 .config
3. make menuconfig
4. select exit on make menuconfig, unless you need to enable things like non-free drivers etc in which case you will need to go through the lists and select the things you need. Make sure you save the config after enabling anything.
5. fakeroot make-kpkg --jobs=2 --initrd --append-to-version=-custom --revision=yyyymmdd kernel_image kernel_headers modules_image Change the bold to suit your purpose, append-to-version=-custom is what you want to call itmake sure you keep the - infront of the name. revision= is the date you compile on write it in this order year month date yyyymmdd.
6. let it work through the process and if there are no errors listed at the end install the debs.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple kernels mbvo Linux - Kernel 3 02-17-2010 10:37 PM
Multiple kernels SI_TW Linux - Kernel 5 10-23-2008 02:42 PM
Running Multiple Kernels unosaso Slackware 2 04-05-2005 11:50 AM
Multiple Kernels apocolpse Linux - Newbie 3 03-17-2005 03:09 AM
Multiple kernels, one partition -- possible? Tino27 Linux - Newbie 2 11-05-2003 05:14 PM > Forums > Linux Forums > Linux - General

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