136 votes
Accepted

Possible missing firmware /lib/firmware/i915/* for module i915

For a general solution, apt-file is your way to solve the Possible missing firmware... warning. E.g.: apt-file search bxt_dmc firmware-misc-nonfree: /lib/firmware/i915/bxt_dmc_ver1.bin firmware-misc-...
GAD3R's user avatar
  • 66.8k
32 votes

Possible missing firmware /lib/firmware/i915/* for module i915

You may download them from here and copy downloaded files to /lib/firmware/i915/, then update-initramfs -u -k all. (then sudo apt-get update -y)
Dr.Eissa's user avatar
  • 437
31 votes

Possible missing firmware /lib/firmware/i915/* for module i915

It appears the answer was the whole time in front of my eyes. I have finally found the right package: firmware-linux, which installs most of the missing firmware. Install it with: Debian and ...
Vlastimil Burián's user avatar
22 votes

Missing modules (cat /proc/modules; ls /dev) and UUID doesn't exist in BusyBox

I did the following to fix my error, which I got after flashing a new BIOS. Enter reboot in the prompt Goto BIOS setup Goto SATA Configuration Change to AHCI save and restart.
Sandeep Vattapparambil's user avatar
20 votes
Accepted

extract Embedded initramfs

There is some information about this in the gentoo wiki: https://wiki.gentoo.org/wiki/Custom_Initramfs#Salvaging It recommends the usage of binwalk which works exceedingly well. I'll give a quick ...
freaker's user avatar
  • 414
18 votes

Why use cpio for initramfs?

Quoting Documentation/filesystems/ramfs-rootfs-initramfs.txt: Why cpio rather than tar? This decision was made back in December, 2001. The discussion started here: http://www.uwsg.iu....
lvella's user avatar
  • 541
18 votes

What is the equivalent of mkinitcpio.conf on debian?

To configure the initramfs in Debian, you can modify /etc/initramfs/initramfs.conf, or add configuration files and hooks to /etc/initramfs/conf.d and /etc/initramfs/conf-hooks.d. To rebuild the ...
Stephen Kitt's user avatar
15 votes

Mount root filesystem from initramfs

exec switch_root /mnt/root /sbin/init https://wiki.gentoo.org/wiki/Custom_Initramfs#Init
Petr Ketner's user avatar
15 votes
Accepted

How to create ASCII cpio archive (SVR4 with no CRC)?

You can do this with GNU cpio: $ find . | cpio -o -H newc > /tmp/file 40 blocks $ file /tmp/file /tmp/file: ASCII cpio archive (SVR4 with no CRC)
that other guy's user avatar
15 votes
Accepted

pivot_root from initramfs to new root - error "Invalid argument"

Unlike the initrd, Linux does not allow to unmount the initramfs. Apparently this helped keep the kernel code simple. Instead of pivot_root, you can use the switch_root command. It implements the ...
sourcejedi's user avatar
  • 50.4k
12 votes

Unlock LUKS encrypted Debian root with key file on boot partition

Keyfiles matching the shell-style (globbing) pattern KEYFILE_PATTERN defined in /etc/cryptsetup-initramfs/conf-hook will be included in the initramfs, but the other keyfiles will not, according to ...
ignis's user avatar
  • 344
10 votes
Accepted

md raid not mounted by dracut

The dracut documentation implies that any md raid arrays should be automatically assembled, and that the rd.md.uuid parameter should only be used if you only want certain arrays assembled as part of ...
dghodgson's user avatar
  • 301
10 votes
Accepted

Set initramfs to prompt for luks passowrd on startup on Mint 18?

The UUID in /etc/crypttab has to be the UUID of the device that the crypt container sits on top of, not the UUID of the container. Or in other words, if you have /dev/sda1 with /dev/mapper/sda1_crypt ...
Nick's user avatar
  • 1,101
10 votes

update-initramfs hangs on debian Stretch

thank you for all your answers. I solved the problem by using ps faux and identified that sync does nothing/waits forever. As i had an usb drive which somehow died and got disconnected the drive ...
Christian's user avatar
  • 303
10 votes

No mkinitcpio preset present

Had this recently. My solution was to chroot into the system from an Arch live system. Delete the empty linux.preset in /etc/mkinitcpio.d/ and then run pacman -S linux. This regenerated the linux....
MeisterGlanz's user avatar
9 votes

Mount root filesystem from initramfs

It depends on the kind of problem, if the problem was borking the initramfs image itself then you'll need to actually regenerate it (run update-initramfs) to fix things. Remember the initramfs file ...
aluchko's user avatar
  • 101
9 votes
Accepted

/etc/crypttab not updating in initramfs

I'm here because I ran into the same problem, found this question via Google, and have some information to add. I am attempting to auto-unlock a LUKS drive without having type a passphrase. First, I ...
8 votes

Prevent Debian from auto-assembling RAID at boot

This is an old question, but since I searched quite long for a solution, I want to share my result: # /etc/mdadm/mdadm.conf ARRAY <ignore> UUID=3f620e6d:4e655d66:b931eb71:baf7cf3a From man ...
Toxiro's user avatar
  • 181
8 votes

Extracting concatenated cpio archives

/usr/lib/dracut/skipcpio $your-initrd-img | zcat | cpio -id --no-absolute-file-names or else /usr/lib/dracut/skipcpio $your-img | gunzip -c | cpio -id (in FreeBSD there is no --no-absolute-file-...
Kostya Berger's user avatar
8 votes
Accepted

Initramfs in debootstrap chroot of fully encrypted system

Using /etc/initramfs-tools/conf.d/cryptsetup is deprecated in stretch. The new preferred method is to set "CRYPTSETUP=y" in /etc/cryptsetup-initramfs/conf-hook. In buster and later, this ...
Andrew Gallagher's user avatar
8 votes

Luks, ssh unlock, Strange behaviour, Invalid authorized_keys file

I finally found a solution thanks to some help on #debian. On recent debian, the procedure seems to be quite different. Here is the new one: First make sure that dropbear and dropbear-initramfs are ...
tobiasBora's user avatar
  • 4,101
8 votes

Content of initramfs

initramfs images can contain multiple segments, and it’s common nowadays to have a short cpio archive containing early-boot files (such as microcode updates) before the main, compressed, cpio archive. ...
Stephen Kitt's user avatar
7 votes

How to mark "not fully installed" apt-get package as "successfully installed"

ONLY IF YOU KNOW WHAT YOU ARE DOING, you can manually tell dpkg that the package is installed. You can edit package entry in /var/lib/dpkg/status file: set status line "Status: ok installed" (or "...
Tullio Andreatta's user avatar
7 votes
Accepted

No support for locale: en_US.utf8

Have a look at /usr/lib/locale/. If your output looks like this, read on: ls /usr/lib/locale/ C.UTF-8 locale-archive The warning isn't critical, as far as I can tell, but you may try: sudo locale-...
Kubulai's user avatar
  • 86
7 votes
Accepted

wrt (openwrt / lede) initramfs

The initramfs OpenWRT/LEDE kernel builds are including the rootfs image into initramfs, attaching it to the kernel so it will put the filesystem in a ramdisk during bootup and utilize it as /. You don'...
L29Ah's user avatar
  • 823
7 votes
Accepted

Missing modules (cat /proc/modules; ls /dev) and UUID doesn't exist in BusyBox

Your empty output from cat /proc/modules indicates you have no kernel modules loaded, so something has gone wrong with either initrd file generation when installing your current kernel, or with ...
telcoM's user avatar
  • 97.1k
7 votes
Accepted

update-initramfs: failed for /boot/initrd.img-4.15.0-112-generic with 1

The real error message tucked away in all that output is Write error : cannot write compressed block which, by an overwhelming margin, is found to be the result of insufficient free space available ...
Peter J. Mello's user avatar
6 votes

Extracting concatenated cpio archives

gunzip needs to be run only once (consuming all input), whereas cpio should be run once per embedded archive, like so: gunzip -c <input.cgz | while cpio -i; do :; done
Charles Duffy's user avatar
6 votes

update-initramfs selects wrong kernel

From the man pages of update-initramfs -k version Set the specific kernel version for whom the initramfs will be generated. For example the output of uname -r for your currently ...
SHW's user avatar
  • 14.8k

Only top scored, non community-wiki answers of a minimum length are eligible