Questions tagged [initramfs]

The "initial RAM file system" is the successor of initrd. It is a root filesystem that is embedded into the kernel and loaded early in the boot process.

476 questions
6
votes
1 answer

Adding dropbear to initramfs with dracut on Fedora

I'm trying to add dropbear to my initramfs so I can unlock the encrypted disk through a remote SSH session (as described here). I'm running Fedora 16 which apparently uses dracut to generate the initramfs image. Can anyone explain (or provide a…
6
votes
3 answers

How do I determine if my kernel uses initramfs?

I'm reading up on Wake on Lan on Debian wiki and there is a part that says: If your kernel uses an initramfs image (eg. Debian stock kernels), also run update-initramfs -u (or update-initramfs -u -k all if necessary) to rebuild kernel initial…
linstar
  • 753
3
votes
1 answer

initramfs.cpio location

So I'm trying to build a basic initramfs using this tutorial on Ubuntu 14.04.5 LTS, and the last step "External file list" is throwing me off. I created the initramfs.cpio file from initramfs.list and placed it in my kernel build directory. After…
3
votes
2 answers

Understanding a simple configuration file for initramfs

Can somebody explain me what is happening in the following? # This is a very simple, default initramfs dir /dev 0755 0 0 nod /dev/console 0600 0 0 c 5 1 nod /dev/tty 0666 0 0 c 5 0 nod /dev/null 0600 0 0 c 1 3 nod /dev/mem 0600…
user2799508
  • 1,712
1
vote
1 answer

how to trigger intentionally to rebuild initramfs and vmlinuz

I was learning to use debootstrap and forgot to include some modules when initramfs was rebuild. Later I copied over what was missing, but the missed files were not included when the system was rebooted - only after some more additions (with apt…
1
vote
1 answer

Cannot recover from initramfs: File or directory not found when manually mounting root device

When not specifying linux /vmlinuz root=/dev/sdb1 correctly in the grub shell, I get dropped to the initramfs shell. Instead of rebooting, I would like to continue boot process from there. As explained here, I want to do: mount /dev/sdb1…
Multisync
  • 474
1
vote
0 answers

Kiwi produces huge initramfs

I'm using Kiwi to build a boot CD based on OpenSUSE 13.1. I want the disk ISO image to be as tiny as possible. I managed to get the read-only filesystem down to only 100MB, but for reasons unknown, the initrd file is 80MB on its own. (!!) Is there…
0
votes
1 answer

copy_exec command not found when executing update-initramfs

I'm currently trying to include cryptsetup into my initramfs so i can boot after having encrypted the root partition. I created a hook-script in /usr/share/initramfs-tools/hooks/my_hook With the following content copy_exec /sbin/cryptsetup…
KoKlA
  • 101
  • 2