LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-12-2004, 03:24 PM   #1
sanfran49
Member
 
Registered: Jun 2003
Location: Oklahoma
Distribution: Debian, Windows 2K,
Posts: 41

Rep: Reputation: 15
After updating Kernel system will not boot !!


I went to http://www.linuxquestions.org/quest...=compile+kernel
and followed the instructions verbatim. I was recompiling my kernel from 2.20.2 to 2.6.2 . I am running Debian


All went well until I go to this last part:


Next remove existing initrd.img file:
rm -rf /boot/initrd.x.x.x.img

..And create the new one:
/sbin/mkinitrd /boot/initrd-x.x.x.img x.x.x
(Note: )
The last set of x.x.x is the eqivalent to your new kernel version and it looks to /lib/modules for that version.


When I type in the command /sbin/mkinitrd I get an error message No such file or directory. Even though I could not perform the command below, would it cause debian to not boot:

/sbin/mkinitrd /boot/initrd-2.6.2.img 2.6.2

Any help would be greatly appreciated.

Thanks,

Tony
 
Old 02-12-2004, 04:02 PM   #2
linuxnut2003
Member
 
Registered: Nov 2003
Location: Oklahoma, USA
Distribution: gentoo
Posts: 73

Rep: Reputation: 15
did you specify a unique kernel name in your makefile using extraversion= ?
 
Old 02-12-2004, 05:00 PM   #3
sanfran49
Member
 
Registered: Jun 2003
Location: Oklahoma
Distribution: Debian, Windows 2K,
Posts: 41

Original Poster
Rep: Reputation: 15
No I did not. I can however boot into to the kernel to make changes. Right ?


Tony
 
Old 02-12-2004, 05:42 PM   #4
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
AFAIK Dbian (woody) has serious problems if you try to upgrade the kernel to 2.6, you may try the kernel-mailing list, though.
 
  


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
After updating SuSE 9.2 packages, system fails boot without mounting /dev/hda2 orgcandman Linux - Software 5 08-16-2005 09:59 PM
Kernel Panic / System wont boot phatboyz Linux - Hardware 5 01-25-2005 08:39 AM
Question on Updating Kernel and Boot Disk chadypu Slackware 2 09-19-2004 04:05 AM
system boot hangs after installing kernel-ntfs urkhaa1975 Fedora 1 08-09-2004 11:17 AM
What to do with /boot/System.map on dual Kernel boot? cathodion Linux - General 2 05-17-2002 12:19 PM


All times are GMT -5. The time now is 06:47 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration