Can't re-create initrd

Heinz Diehl htd+ml at fritha.org
Sat Oct 11 07:03:50 UTC 2014


On 10.10.2014, CLOSE Dave wrote: 

> What am I doing wrong?

You could use dracut to recreate your initramfs?
Works flawlessly (here as a test, with an old kernel):

[root at kiera boot]# dracut -v -f initramfs-3.16.3-rc1.img 
I: *** Including module: i18n ***
I: *** Including module: drm ***
I: *** Including module: plymouth ***
I: *** Including module: kernel-modules ***
I: *** Including module: resume ***
I: *** Including module: rootfs-block ***
I: *** Including module: terminfo ***
I: *** Including module: udev-rules ***
I: *** Including module: biosdevname ***
I: *** Including module: systemd ***
I: *** Including module: usrmount ***
I: *** Including module: base ***
I: *** Including module: fs-lib ***
I: *** Including module: shutdown ***
I: *** Including modules done ***
I: *** Installing kernel module dependencies and firmware ***
I: *** Installing kernel module dependencies and firmware done ***
I: *** Resolving executable dependencies ***
I: *** Resolving executable dependencies done***
I: *** Pre-linking files ***
I: *** Pre-linking files done ***
I: *** Hardlinking files ***
I: *** Hardlinking files done ***
I: *** Stripping files ***
I: *** Stripping files done ***
I: *** Creating image file ***
I: *** Creating image file done ***
I: Wrote /boot/initramfs-3.16.3-rc1.img:
I: -rw------- 1 root root 9672264 Oct 11 08:59
/boot/initramfs-3.16.3-rc1.img


More information about the users mailing list