Skip to main content

Questions tagged [initrd]

initrd is a method for loading a temporary file system into memory, during the process of booting the Linux kernel.

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
-1 votes
1 answer
24 views

Grub2 not booting initrd

I have a laptop (with UEFI) that used to be able to boot from a usb stick, but can't any more. The problem started when I interrupted a fresh install of Devuan Live. The laptop has a non-removable ...
Bruzzel's user avatar
  • 19
0 votes
0 answers
5 views

How can I see the missing contents of initrd in Debian 12 (bookworm)? [duplicate]

I have a 73M initrd, but it only contains 6.9M of files. Most of what I expect to be in the initrd is missing. root@debian:/tmp/tmp# ls -lAh /boot/initrd.img-6.1.0-18-amd64 -rw-r--r-- 1 root root 73M ...
fadedbee's user avatar
  • 971
0 votes
1 answer
51 views

How do I keep init from pivot_root and stay in ramdisk?

in short, I was not satisfied with the available distros as they are either roo large or are missing the features I need ootb, I also want it to boot it into ramdisk, so I made my own ISO. This ISO ...
qwerty_in_me's user avatar
0 votes
0 answers
70 views

noinitrd is ignored, always runs initrd copy of /init

I use an initrd currently on an imx8 processor that uses buildroot for a base filesystem. (kernel is 5.10.52) For debugging purposes, I want to bypass the initrd and load the filesystem I copied to a ...
Floyd Brown's user avatar
9 votes
2 answers
724 views

Eliminate inclusion of X11 libs in initrd

I'm running Debian Bookworm on a TS412 (QNAP); it stores the kernel & initrd in flash. It has a total of 16MB of flash. So even after tweaking with the MD partitions the best I can get is a 12MB ...
GraemeV's user avatar
  • 178
0 votes
0 answers
66 views

Linux without initrd: unable to mount rootfs

Setup Partitions: # fdisk -l /dev/sda ... Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 51199 49152 24M c W95 FAT32 (LBA) /dev/sda2 51200 204799 153600 75M 83 ...
GooseDeveloper's user avatar
0 votes
0 answers
677 views

Alpine linux how to load system into RAM

I need advice if possible to load entire system into RAM. Let's imagine following situation: Booting LIVE OS from DVD and login as root lsblk shows NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS loop0 ...
Rafal Niznik's user avatar
1 vote
2 answers
842 views

Nixos install results in error during boot of "Timed out waiting for device /dev/dis/by-uuid/... to appear" with external NVME drive via USB

I have an issue when using an external NVME drive, grub successfully boots but once entering the entry default configuration (nixos generation) it gives me the below error: "Timed out waiting ...
Chris Stryczynski's user avatar
4 votes
1 answer
837 views

What happens to the files in directories mounted by initrd , when initrd unmounts

While the linux boots up, initrd is mounted with basic support files and kernel modules, which are needed to help further boot procedure. Later the rootfs is mounted and initrd is unmounted from the ...
Franc's user avatar
  • 299
0 votes
2 answers
952 views

Why is my boot partition full?

When I run run apt-get dist-upgrade, I get update-initramfs: deferring update (trigger activated) Processing triggers for initramfs-tools (0.142) ... update-initramfs: Generating /boot/initrd.img-6.0....
Evan Carroll's user avatar
  • 31.8k
1 vote
2 answers
1k views

What files are pulled in by update-initramfs?

I need to know what config and data files are pulled in to make the initrd.img-xxx when update-initramfs (mkinitramfs) is executed. I am having a video driver problem that I have narrowed down to the ...
Max Power's user avatar
  • 264
1 vote
2 answers
2k views

How to change default username/hostname for Ubuntu 22.04.1 LTS LiveCD?

I'm trying to edit the default username/hostname for a a custom Ubuntu 22.04.1 LTS LiveCD. I'm understanding I need to edit the /etc/casper.conf file that resides inside $ISO_MEDIA/casper/initrd, ...
joliver's user avatar
  • 11
1 vote
1 answer
798 views

create initrd image compressed with zstd

I have initrd image compressed with xz. This is how I created it from image file initrd: e2image -ar initrd - | xz -9 --check=crc32 > initrd.xz now I need same image compressed using zstd ...
Martin Vegter's user avatar
0 votes
1 answer
553 views

Boot into Xen on debian11 (initrd trouble)

Linux xd 5.10.0-16-amd64 #1 SMP Debian 5.10.127-1 (2022-06-30) x86_64 GNU/Linux Edit 2022-07-20 This issue has had comes and goes, at the moment, I am having a lot of trouble when Xen boot lands on ...
Bruno Schroeder's user avatar

15 30 50 per page
1
2 3 4 5
11