Skip to main content

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.

0 votes
1 answer
39 views

ZFS error for load-key

I've tried everything I know until I'm exhausted. Please, if you can help me, I need to access my project stored on my hard drive. The command I used: sudo zfs load-key rpool/ROOT/ubuntu_uy913x And ...
MoonMiddays's user avatar
0 votes
1 answer
64 views

Unable to mount encrypted ZFS filesystem after reboot

Key load error: Failed to open key material file: Input/Output Error. Command: `mount -o zfsutil -t zfs rpool/ROOT/ubuntu_uy913 /root/`. Message: `zfs_mount_at() failed: encryption key not loaded`. `...
MoonMiddays's user avatar
0 votes
1 answer
31 views

Custom initrd script failing to init "Attempted to kill init"

I am trying to create a custom ramdisk, but it keeps failing right before launching init. Here is the script: https://gist.github.com/amanuel2/f3e8bb9399f3b3bd36a90cd925ecf63d Logs: Edit 2: Logs: ...
amanuel2's user avatar
  • 101
0 votes
1 answer
52 views

Boot failing: Dracut-initqueue rm: cannot remove /lib/dracut/hooks/initqueue/finished/devexists-.....sh: Read-only file system

I started using Dracut around a year ago to use Yubikey Pin unlock and everything was fine a few days ago. After a routine apt update on my LUKS encrypted Debian Trixie machine the linux kernel was ...
bluewolf's user avatar
0 votes
1 answer
306 views

stuck on "still waiting for dracut initqueue hook" timeout

In an attempt to use my TPM module to automatically unlock the LUKS-encrypted LVM volume, I followed a guide and set up /etc/crypttab and installed dracut which then proceeded to create what I think ...
bluppfisk's user avatar
  • 163
0 votes
0 answers
20 views

Why do kernel-core and raspberrypi2-kernel4 packages in Rocky Linux repository "latest" have different kernel versions?

I'm using Rocky Linux on a Raspberry Pi, and I noticed that the kernel-core and raspberrypi2-kernel4 packages have different kernel versions. Here's the output from my system: # uname -a Linux rocky9 ...
NevilleDNZ's user avatar
0 votes
0 answers
35 views

How to use initramfs on raspberrypi cm4

base info board:rpi cm4 img:core-image-base-xx.wic.bz, build by yocto add u-boot(version:2022.01) support; add Initial RAM filesystem and RAM disk (initramfs/initrd) support initramfs:...
user24949766's user avatar
1 vote
1 answer
125 views

Fedora - Migrate root filesystem to new drive / partition

I need a quick bit of help. I've migrated my /root and /home directory off a BTRFS partition to and EXT4 partition, because, for some strange reason .. BTRFS always fail! .. However, now that the EXT4 ...
E Net Arch's user avatar
0 votes
1 answer
29 views

SSD Multi-Boot Grub Trouble

I have 3 Linux-Distros installed on a SSD (Ubuntu, Parrot, Kali). There are all separated from each other, meaning they don't share a /home partition or anything like that. I also have no swap ...
Pascal Vallaster's user avatar
0 votes
1 answer
53 views

Making a Debian USB, wrong initrd.img

So, once I learned (here of course) that a 'live USB' can't be mounted nor written to, I stopped trying to update my Debian 12 install image with my files and started again with a fresh stick. Copied ...
Ray Andrews's user avatar
  • 2,527
0 votes
0 answers
81 views

When I run sudo apt-get upgrade, it shows errors regarding initramfs-tools

When I run sudo apt-get upgrade, I get this output: Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly ...
Andy Choo Chi Hong's user avatar
0 votes
1 answer
106 views

How to repack an initramfs cpio archive?

I have unpacked an initramfs cpio archive, and repacked it with sudo find -depth | sudo cpio -o -H newc > ~/repacked_initramfs.cpio, as per: https://salsa.debian.org/kernel-team/initramfs-tools/-/...
fadedbee's user avatar
  • 971
0 votes
1 answer
13 views

How can I rearchive an initramfs cpio, without losing the hard links?

I have a Debian initramfs, which: I uncompressed with: ~/my_initramfs $ sudo cpio -idmBv < ../initramfs.cpio . bin conf conf/arch.conf ... cpio: usr/sbin/watchdog linked to usr/bin/[ cpio: usr/...
fadedbee's user avatar
  • 971
0 votes
0 answers
18 views

how do I enable stickykeys while still in initrd

Followup to sticky keys in single user mode But I don't need it during normal single user. I need it in initrd to enter cryptsetup password. How do I apply a custom keymap to initrd? The manual gives ...
Joshua's user avatar
  • 1,893
2 votes
0 answers
236 views

Custom Linux kernel build fails at loading initial ramdisk

I have been trying to build my own Linux kernel, but it keeps hanging after Loading initial ramdisk... I am currently using Arch linux, and have tried several different configs. I tried both the 6.8-...
HarlanCheese's user avatar

15 30 50 per page
1
2 3 4 5
���
33