LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Closed Thread
  Search this Thread
Old 11-23-2008, 07:17 AM   #1
shariefbe
Member
 
Registered: Aug 2008
Location: Tiruchirappalli, India
Distribution: UBUNTU 11.04
Posts: 368

Rep: Reputation: 31
unable to boot an new kernel


Hi..i am using ubuntu 7.10 distro...in that the preinstalled kernel is "linux-2.6.22-14 generic"...after that i planned to compile an new kernel...so i downloaded from kernel.org....the new kernel which i download is "linux-2.6.22.14"...so i compiled that new kernel an d\tried to install...so that i followed the below steps

#cd /usr/src/linux-2.6.22.14
#make menuconfig
#make
#make modules
#make modules_install
#make install


after this commands i opened this /boot/grub/menu.lst and i added the below lines extra which i given in the block letters...

title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=7ef4f8ec-7dd3-4c02-9f24-c9438e6b8bce ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet

title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=7ef4f8ec-7dd3-4c02-9f24-c9438e6b8bce ro single
initrd /boot/initrd.img-2.6.22-14-generic

title My Custom Kernel
root (hd0,0)
kernel /boot/vmlinuz-2.6.22.14 root=/dev/hda1 ro


title Ubuntu 7.10, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet

but now i am unable to boot from new kernel..when i select the new kernel means i am getting the following error

starting up.....
uncompressing linux...ok,booting the kernel
[ 53.987716]kernel panic - not syncing: VFS : unable to mount root fs on unknown -block(0.0)


so i dont know what to do...can any one suggest me what to do and how to do...cause i am new to linux...
 
Old 11-23-2008, 07:55 AM   #2
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
I think you have built some drivers as modular in your kernel that are required at boot time.

These usually are things like hard drive controllers and file systems.

If you use an initrd image then these get preloaded ... otherwise you will have to make those drivers built into the kernel.

Last edited by dxqcanada; 11-23-2008 at 07:57 AM.
 
Old 11-23-2008, 08:32 AM   #3
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
In Ubuntu, you can automate many of the steps. See the howtoforge site
 
Old 11-23-2008, 11:25 PM   #4
shariefbe
Member
 
Registered: Aug 2008
Location: Tiruchirappalli, India
Distribution: UBUNTU 11.04
Posts: 368

Original Poster
Rep: Reputation: 31
ya i am telling that i dont know to create an initrd image...and the main thing is i am not having an initrd image in /boot/grub so can you tell the way of creating the image of initrd...the main thing is this command follows the error...

mkinitrd does not working...showing an error....what to do?

i edited the /boot/grub/menu.lst file to boot an new kernel...the edited things are typed in the first post itself...please see that and suggest me...and do favour....Thanks a lot

Last edited by shariefbe; 11-23-2008 at 11:27 PM.
 
Old 11-26-2008, 11:28 AM   #5
shariefbe
Member
 
Registered: Aug 2008
Location: Tiruchirappalli, India
Distribution: UBUNTU 11.04
Posts: 368

Original Poster
Rep: Reputation: 31
i made the changes even i am getting error as...

Begin :waiting for root file system

what to do?
 
Old 11-27-2008, 09:27 AM   #6
shariefbe
Member
 
Registered: Aug 2008
Location: Tiruchirappalli, India
Distribution: UBUNTU 11.04
Posts: 368

Original Poster
Rep: Reputation: 31
please refer the post number 18 and find me solution please.....

http://www.linuxquestions.org/questi...154/page2.html
 
Old 11-27-2008, 10:54 AM   #7
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Continue here: http://www.linuxquestions.org/questi...lation-685154/
 
  


Closed Thread



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
unable to boot an new kernel shariefbe Linux - Software 5 11-27-2008 09:23 AM
2.6.25 kernel unable to boot eric_hick Linux - Kernel 1 08-29-2008 07:25 PM
Unable to boot kernel erpe Debian 3 07-13-2006 04:58 PM
Unable to boot any kernel after compile BobNutfield Slackware 13 03-14-2006 01:08 PM
kernel problem unable to boot jwijesundra Linux - General 1 01-08-2005 02:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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