[SOLVED] Missing an initrd file

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[SOLVED] Missing an initrd file

Postby nordont » Dec 1st, '13, 19:13

Hi, everyone. I am running Mageia 3 on an HP Pavilion laptop from a 16 GB flash drive. I have an intel processor and nVidia graphics. I am running the x86_64 version of Mageia.
So, this is my problem:
When I turn on my laptop, I am brought to the GRUB screen, but if I let it go to default, I get an error.

error: file '/boot/initrd-desktop.img' not found

This shows up for a few seconds, and then I get a long list that I can't interpret, but the basic format of the messages is:

[ 1.635794] [<ffffffff8107ff17>] hrtimer_interrupt+0xf7/0x230

The screen stays on these messages, and I have to force my laptop off. If the errors might help, I will upload a picture.
So, I reboot and go into advanced options, and see 3 choices.

Mageia Linux, with Linux desktop
Mageia Linux, with Linux 3.8.13.4-desktop-1.mga3
Mageia Linux, with Linux 3.8.13-desktop-1.mga3

Choosing the first option is the same as letting it go to default. Choosing the second option brings me straight to the long list of messages, without the file '/boot/initrd-desktop.img' not found error. And choosing the third option lets me boot into Mageia.
I looked in /boot/ and sure enough, initrd-desktop.img is there, but it is a symlink to initrd-3.8.13.4-desktop-1.mga3.img, which doesn't exist.
Here are the contents of /boot/

config@ mageia.bmp
config-3.8.13.4-desktop-1.mga3 symvers-3.8.13.4-desktop-1.mga3.xz
config-3.8.13-desktop-1.mga3 symvers-3.8.13-desktop-1.mga3.xz
dracut/ System.map@
gfxmenu* System.map-3.8.13.4-desktop-1.mga3
grub/ System.map-3.8.13-desktop-1.mga3
grub2/ vmlinuz@
initrd-3.8.13-desktop-1.mga3.img vmlinuz-3.8.13.4-desktop-1.mga3
initrd-desktop.img@ vmlinuz-3.8.13-desktop-1.mga3
initrd.img@ vmlinuz-desktop@

I'm not really sure where to go from here, but I think I need an initrd file for 3.8.13.4, but I don't know how to get one. Can someone help me out?
Thanks for any help.
Last edited by nordont on Dec 2nd, '13, 05:20, edited 1 time in total.
nordont
 
Posts: 2
Joined: Dec 1st, '13, 18:03

Re: Missing an initrd file

Postby jkerr82508 » Dec 2nd, '13, 01:01

nordont wrote:I think I need an initrd file for 3.8.13.4, but I don't know how to get one.
Boot into the working kernel and in a root terminal cd to /boot and then:
Code: Select all
dracut initrd-3.8.13.4-desktop-1.mga3.img 3.8.13.4-desktop-1.mga3
For explanations see
Code: Select all
man dracut
Jim
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: Missing an initrd file

Postby nordont » Dec 2nd, '13, 04:53

Boot into the working kernel and in a root terminal cd to /boot and then:
Code: Select all
dracut initrd-3.8.13.4-desktop-1.mga3.img 3.8.13.4-desktop-1.mga3


This fixed my problem.
Thanks!
nordont
 
Posts: 2
Joined: Dec 1st, '13, 18:03


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest