SolvedHowto create missing initrd-3.19.8-desktop-3.mga5.img?

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

SolvedHowto create missing initrd-3.19.8-desktop-3.mga5.img?

Postby janpihlgren » Jun 21st, '15, 06:17

During upgrade from mga4 to mga 5 I run in an infinit loop when upgrad one(1) package so I have to interupt the upgrade. I took a chance an tried to boot and it succeed.
Then I discovered that I still run kernel 3.14.43-desktop-1.mga4 (uname -a)
I then search the directory /boot/grub and there discover that initrd-3.19.8-desktop-3.mga5.img is missing.
There is one row with red text that blinks:
lrwxrwxrwx 1 root root 32 jun 20 12:59 initrd-desktop.img -> initrd-3.19.8-desktop-3.mga5.img

under that line are these lines:

Code: Select all
lrwxrwxrwx 1 root root       33 maj 24 06:23 initrd.img -> initrd-3.14.43-desktop-1.mga4.img
-rw------- 1 root root  8357369 maj 24 06:23 initrd.img.old


I can't find the img-file in the repository. (MCC
My question is:
How do I create/get/install initrd-3.19.8-desktop-3.mga5.img ?

After a few bootings the boot.log contains:

Code: Select all
$ more boot.log
modprobe: ERROR: could not insert 'sdhci': Module already in kernel
Error running install command for sdhci
sh: /bin/true: No such file or directory
Error running install command for sdhci
modprobe: ERROR: could not insert 'sdhci_pci': Module already in kernel
Error running install command for sdhci_pci
sh: /bin/true: No such file or directory
Error running install command for sdhci_pci

Welcome to Mageia 5!

Startar netprofile:  The default is the current profile.
                                                                                                                            [  OK  ]

[   52.284241] systemd-fsck[737]: StorageNy: clean, 139179/61054976 files, 171515292/244189752 blocks
[   52.284413] systemd-fsck[751]: /dev/sda10: clean, 339/256000 files, 35541/1022127 blocks
[   52.284587] systemd-fsck[821]: /dev/sda8: clean, 12438/314496 files, 211270/1256960 blocks
[   52.311377] systemd-fsck[883]: /dev/sda9: clean, 117778/4939776 files, 5643034/19729820 blocks
[   52.326982] systemd-fsck[903]: /dev/sda11: clean, 188/5193728 files, 7553218/20751955 blocks
virtualbox (4.3.28-1.mga5): Installing module.
.....(bad exit status: 101)
  A newer module version than this already exists in this kernel.
  Skipping install... (you can manually install later with --force)
Letar efter ny hårdvara
Last edited by janpihlgren on Jun 22nd, '15, 00:33, edited 2 times in total.
User avatar
janpihlgren
 
Posts: 294
Joined: Mar 30th, '11, 12:23
Location: Marsta, Sweden

Re: Howto create missing initrd-3.19.8-desktop-3.mga5.img?

Postby doktor5000 » Jun 21st, '15, 16:48

You could create it as root via
Code: Select all
dracut initrd-3.19.8-desktop-3.mga5.img 3.19.8-desktop-3.mga5

but better way would be to uninstall and reinstall that particular kernel as your description makes me wonder which packages have not been successfully installed.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Howto create missing initrd-3.19.8-desktop-3.mga5.img?

Postby janpihlgren » Jun 22nd, '15, 00:32

Thank you for your advice. I uninstall the kernel and install it again but there have to be som more errors so after reinstall the kernel I couldn't get the gui work.
The solution was to do a new "clean" installation.
That installation succeeded.
User avatar
janpihlgren
 
Posts: 294
Joined: Mar 30th, '11, 12:23
Location: Marsta, Sweden


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest