LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-27-2003, 01:49 PM   #1
zzzt
LQ Newbie
 
Registered: Oct 2003
Location: Kansas City
Distribution: Mandrake 9.2
Posts: 26

Rep: Reputation: 15
initrd hosed after upgrading kernel


I'm trying to upgrade the 2.4.10mdk kernel in Mandrake 9.2 to the new 2.6 kernel and have hit a hurdle.

I noticed that there were 2 initrd files :

initrd-2.4.10.mdk.img
and
initrd.img

I think the initrd.img might have had an extension other than img...

The 2 files before I went through the upgrade to the 2.6 kernel were both 600K in size. After, there was only initrd-2.6.0.img, and it was only 72K. Now, linux won't load. As soon as I make a choice from lilo, the screen just goes black. I did make a MandrakeMove CD, so I can at least access my linux drive. Any ideas?
 
Old 12-27-2003, 02:10 PM   #2
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
why do you need initrd?
 
Old 12-27-2003, 02:39 PM   #3
zzzt
LQ Newbie
 
Registered: Oct 2003
Location: Kansas City
Distribution: Mandrake 9.2
Posts: 26

Original Poster
Rep: Reputation: 15
I think it's needed for ext3, which I'm using. I think that the reason I get a dead black screen immediately after lilo is because the kernel can't read the filesystem. I'm betting that I'll have to reload everything, but I'm hoping that someone will either have an easy get-around or will tell me that I'm all screwed up about the cause of my problem and help me down the right path.
 
Old 12-27-2003, 02:58 PM   #4
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
you dont need initrd (its got nothing to do with ext3). can you post your lilo.conf here pls?
also, post your /etc/fstab.
also, when you say your screen goes blank, is it after the fs has been mounted, and all modules loaded (like while startin X, for which ur runlevel would be 5 - if this is the case, its not a kernel issue[just X] change to runlevel 2 and see)? or is it before that (some kinda kernel panic while mounting the root fs)?

also, did you go through all the steps needed after building your kernel? did you copy the kernel image to /boot, copy the System.map to /boot, and foremost, did you run lilo as root?

Last edited by h/w; 12-27-2003 at 03:00 PM.
 
Old 12-28-2003, 09:12 AM   #5
zzzt
LQ Newbie
 
Registered: Oct 2003
Location: Kansas City
Distribution: Mandrake 9.2
Posts: 26

Original Poster
Rep: Reputation: 15
Well, I can't access my linux drive w/ MandrakeMove. I think it's time to reload. But first, here are the error messages I get when trying to boot into failsafe mode:

Error inserting '/lib/ext3.ko': -1 unknown symbol in module
Error 19 mounting ext3 flags defaults
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
.
.
.
kernel panic: No init found. try passing init: option to kernel
 
Old 01-10-2004, 02:22 PM   #6
redkazan
Member
 
Registered: Dec 2003
Location: Maine, US
Distribution: Slack 9.1
Posts: 55

Rep: Reputation: 15
Framebuffer?

zzzt:

If you're getting a blank screen immediately *after* lilo (the kernel is loaded succesfully from lilo), your problem probably has to do with the framebuffer. Did you enable the fb in menuconfig? If so, did you enable any drivers for it?

The kernel only tries to access your filesystem after loading drivers and the like. Thus, if it's having trouble accessing your FS, the error message will look something like: "VFS: unable to mount fs blah blah blah". I'd bet a dollar your problem is related to video hardware, if you're just getting a blank screen after lilo succesfully (?) loads the 2.6 kernel.

The real question is, did you back up your old kernel, or did you perhaps just add a new entry in your lilo.conf for the new kernel (so that you can choose which kernel to use on startup)? If not, you may have to format/reinstall. (I don't know anything about MandrakeMove)

rk
 
  


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
Kernel 2.6: I don't want/need initrd ... sundialsvcs Linux - Software 1 08-20-2005 09:25 AM
upgrading kernel by using initrd djgerbavore Slackware 2 05-10-2005 04:30 PM
Grub, initrd and new kernel (2.6.10) wilu Linux - Newbie 3 02-25-2005 06:28 AM
initrd hosed during new kernel install zzzt Linux - Newbie 1 12-27-2003 01:48 PM
no initrd.img after upgrading kernel buknoy Linux - General 1 10-10-2003 04:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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