Page 1 of 1

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

PostPosted: Jun 21st, '15, 06:17
by janpihlgren
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

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

PostPosted: Jun 21st, '15, 16:48
by doktor5000
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.

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

PostPosted: Jun 22nd, '15, 00:32
by janpihlgren
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.