Jump to content

mkinitrd failed - Mandrake 9.1 -> Mandriva 2008


Guest RevDarkman
 Share

Recommended Posts

Guest RevDarkman

Hi All

 

I have just attempted and upgrade to a live server (I have backups!)

 

System was a fully functioning Mandrake 9.1 - I wanted to upgrade to get all teh udev bits working for USB hotswap and various other reasons.

 

The Mandriva 2008 installer goes through teh upgrade process with no errors until it reaches the bootloader installation. - I get the error...

 

mkinitrd failed.

(mkinitrd -v -f /boot/initrd-2.4.21-0.25mdk.secure.img --ifneeded 2.4.21-0.25mdksecure))

 

thsi was on the second and third attempts - the first attempt said the img was mdklaptop, even though this is a Dell Poweredge Server.

 

I did this today (late friday afternoon) so i would have the whole weekend to sort if it went wrong, still not looking forward to a rebuild as there are around 100 users that'll need doing, including email, data, samab shares etc etc.....

 

Any advice on how to get around this would be greatly appreciated

 

I only had my mobile with me so there are some very poor screenshots here.

Link to comment
Share on other sites

Mandriva is not a rolling distro, hence there is a chance the update will break something in your system. Upgrading more than 1 version up is even riskier... It looks like the installer fails at the stage when it attempts to create a bootloader entry for the old kernel 2.4.21. I would skip writing the bootloader, finish the upgrade, then boot from a resque CD, edit the grub menu manually based on the content of /boot (eg remove anything related to the 2.4.21 kernel, then install grub to MBR or wherever you want it to be, reboot.

Link to comment
Share on other sites

Upgrading 9.1 to 2008 simply isn't a possibility. There is too large of a difference in packages, configuration, and just about every aspect of the system for an upgrade to be successful.

 

If you want 2008 running on this system, it's most likely (99.999999999%) you'll need to do a full rebuild. Back stuff up and good luck.

 

One other tip (and I really do mean this in the nicest way): it may be a good idea to try updating more than once every 5 years. Especially if running a live server.

 

Chalk this one up as lesson learned.

Edited by tyme
Link to comment
Share on other sites

Guest RevDarkman
One other tip (and I really do mean this in the nicest way): it may be a good idea to try updating more than once every 5 years. Especially if running a live server.

 

Chalk this one up as lesson learned.

 

LOL yes I know - but when customers don't want to pay for your time and have a 'if it ain't broke don't fix it attitude' then.... but now they havbe to pay for a weekend's worth of work!

 

Well I backed up and rebuilt, data copying back as we speak.......

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...