Questions tagged [initrd]
initrd is a method for loading a temporary file system into memory, during the process of booting the Linux kernel.
167 questions
0
votes
1
answer
202
views
Issue with Custom RHEL 8.10 ISO Boot
I'm facing an issue while booting a custom RHEL 8.10 ISO. During the boot process, I encounter the following error:
initqueue[1065]: /usr/sbin/fetch-kickstart-disk: line 24: rmdir: command not found
...
0
votes
1
answer
182
views
Old distro version on new hardware
I am trying to install CentOS 6 on new hardware for testing because our software is dependent on the package versions in CentOS 6. The trivial answer would be to update the software to run on a newer ...
0
votes
0
answers
162
views
How to limit the number of initrd images kept in /boot under Debian Linux?
initramfs failed to do its job a few days ago and I've just noticed today that my boot partition was almost full because of useless initrd images. Is there a way of telling Debian to keep only two or ...
0
votes
1
answer
167
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: ...
-1
votes
1
answer
280
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 ...
0
votes
1
answer
129
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 ...
0
votes
0
answers
192
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 ...
9
votes
2
answers
813
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 ...
0
votes
0
answers
100
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 ...
1
vote
0
answers
1k
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 ...
2
votes
2
answers
2k
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 ...
4
votes
1
answer
1k
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 ...
0
votes
2
answers
1k
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....
1
vote
2
answers
3k
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 ...
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, ...