LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 04-10-2006, 11:49 AM   #1
ssenuta
Member
 
Registered: Mar 2006
Location: NYS
Distribution: Mandriva-2006
Posts: 123

Rep: Reputation: 16
Discovery-2006 doesn't boot. Need help with the mkinitrd command


I need help running the mkinitrd command. Is it possible to run mkinitrd and
have it create an initrd.img file for a kernel that is "not active"? Also, if
this isn't possible can I edit the existing Initrd.img file or its linuxrc
file and then save-as a new /boot/initrd.img for the new kernel?

Here is my delima:

I installed the Mandriva Discovery-2006 OS and discovered that it won't boot
because the release-kernel doesn't recognize my onboard ide controller. I also
found a kernel patch that address this problem on the VIA website but the patch
instructions require me to create a new initrd.img for the patched kernel-
2.6.12-12.

I can't create this initrd.img as instructed by the patch readme instruction
file because it says to use the Mandrive install CD1 and boot into "rescue
mode". However, Rescue mode doesn't work for my Discovery linux. Selecting
this option only starts a new install. By-the-way, The "Live-cd" supplied
with Discovery-2006 doesn't work properly either. It complains that it cannot
mount its "loopfs" and then drops me into a miminal nash shell.

I don't mean beatup on Mandriva. I had there Mandrake-8.0 & Mandrake-9.2
distributions and was satisfied with both of them. I am also sure I will
be pleased with the Mandriva Discovery-2006 distribution if I can get it
to boot.

Thank you all for reading this post & I'm looking forward to any advice
you guys or gals can offer.
 
Old 04-24-2006, 08:31 AM   #2
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606

Rep: Reputation: 53
>>have it create an initrd.img file for a kernel that is "not active
Assuming you can boot one way or another, I think the answer is yes.
Assuming your patched kernel is in place,
you would do the whole compilation thing (necessary?),
then mkinitrd
then copy Initrd.img to /boot/initrd2.img

If ou install grub instead of lilo you can just edit for one boot
the command line and say to use initrd2.img

>>Rescue mode doesn't work for my Discovery linux
weird

There is an updated kernel for mandriva 2006 free (version 2.6.12.-14mdk I think).
Maybe will not help.

Did you try mandriva 2006 free?
DId you check your iso / are you sure it is well burnt?

>>onboard ide controller
Model?
>>patch readme instruction
Any link?

Is this a sata drive?
Is there a legacy mode in the bios that works?
 
  


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
Resizing text in the command line Mandrivia 2006 jeffshen Mandriva 3 03-29-2006 11:23 AM
Mandriva 2006 boot issue Juterassee Mandriva 5 03-02-2006 10:34 PM
Live CD - Mandriva Discovery Live 2006 wpennington Mandriva 2 11-14-2005 09:28 AM
mkinitrd command shanenin Linux - Software 2 03-06-2005 08:38 AM
quick mkinitrd command help imagineaxion Mandriva 2 10-24-2004 03:13 AM

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

All times are GMT -5. The time now is 01:52 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
Open Source Consulting | Domain Registration