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.

Filter by
Sorted by
Tagged with
0
votes
1answer
16 views

“no root device specified. Boot arguments must include a root= parameter” after installing rEFInd on windows 10 / pop os dual boot

I recently set up dual boot on a new dell xps 9700, carving off two partitions (/boot and root) for Pop OS (ubuntu-derivative). This was working fine, except Pop OS was taking boots without giving me ...
0
votes
1answer
16 views

Unlock LUKS device remotely - ipconfig: no devices to configure

I am trying to unlock my root encrypted Debian Buster on an acepc T11. I installed dropbear, added DEVICE=enp1s0 IP=:::::enp1s0:dhcp to /etc/initramfs-tools/initramfs.conf and executed update-...
1
vote
1answer
36 views

LUKS not prompting for password after kernel update

I have an unencrypted /boot partition and an encrypted root under lvm, created during kubuntu installation: root# cat /etc/crypttab nvme0n1p5_crypt UUID=562c3c2c-9ef4-4417-aff8-1912e3828175 none luks,...
0
votes
2answers
312 views

Ubuntu 20.04: Also having issues while unpacking initramfs, but changing to gzip does not solve my problem

I have issues while customizing ubuntu 20.04. When I made a new initrd for booting (iso/casper/initrd), I got this error: initramfs unpacking failed: Decoding failed then dropped into initramfs ...
-1
votes
1answer
70 views

how to update Linux Kernel on “Ubuntu LTS 20.04” Windows Subsystem for Linux 2

is it possible to update Linux kernel on WSL2 ukuu isn't possible and dpkg --install *.deb gives me an error (Reading database ... 68035 files and directories currently installed.) Preparing to ...
0
votes
1answer
173 views

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

I'm stuck in the boot and can't open any terminal. When I try to boot my laptop it shows the following error: Gave up waiting for root device. Common problems: -Boot args (cat /proc/cmdline) -Check ...
2
votes
1answer
41 views

switch_root from initramfs is failing

we're trying to implement an initramfs with the intent of: Open a LUKS partition (using a key saved on TPM) Mounting the partition RO Mounting an OverlayFS switch_root to the new system The first ...
1
vote
2answers
51 views

How does the kernel know where to find the file-system?

I'm fairly new to Linux and especially Embedded Linux. I'm working on an already-developed project on an embedded device where the root filesystem type is SquashFS, the compressed read-only file ...
0
votes
0answers
11 views

Initramfs cannot find /sys on /root/sys and /proc on /root/proc

I left my laptop running in sleep mode but im pretty sure it ran out of battery while still in sleep mode. Initramfs cannot find /sys on /root/sys, /proc on /root/proc and line 373 cant open /root/...
0
votes
2answers
40 views

Setting up initrd/initramfs in Linux kernel

My understanding is that the initrd/initramfs set up a file system in the RAM to help the kernel initialization. I have got following doubts; (1) Is the initrd/initramfs is setup by bootloader(eg: ...
1
vote
0answers
31 views

grub2win isoboot CloneZilla LiveCD unable to find a medium containing a live file system

Help, please. I've got: Win10 Pro. With legacy bios bootloader. Installed grub2win bootloader. Added menu entry isoboot CloneZilla LiveCD. iso-file situated on local disk with NTFS file system. Menu ...
1
vote
2answers
92 views

How to disable compression of initrd.img file of Debian Linux 10 buster

I want to disable compression of /boot/initrd.img file to boot a bit faster. My disk is large enough to accomodate the extra 10MB. To be honest I think that should be the default, who can't afford ...
0
votes
1answer
74 views

Cannot disable resume partition/file on Debian Linux 10 buster

When I sudo update-initramfs -u I get this information message: I: The initramfs will attempt to resume from /dev/sda4 I: (UUID=6511e9fe-a340-4e5f-b42d-19acd4211b35) I: Set the RESUME variable to ...
2
votes
2answers
100 views

Why does initramfs need to overmount rootfs with the new root?

I read the linux documentation on initramfs and the source code of switch_root. The documentation says: When switching another root device, initrd would pivot_root and then umount the ramdisk. ...
0
votes
0answers
14 views

Switch lowerdir mount on overlayfs and remove NFS during ramdisk?

I'm using an NFS as the lowerdir of my overlayfs which is mounted at / and I'm attempting to sync it to the local disk /dev/sda1 but after the boot up is complete the NFS is still mounted and I'm not ...
2
votes
1answer
165 views

Ubuntu 20 boot blocked, loading initial ramdisk

I have just installed Ubuntu 20 Mate. When I try to boot it, the process is blocked at loading initial ramdisk. I already tried to reinstall it. What could be the problem? I am using a Dell Inspiron ...
0
votes
0answers
108 views

U-Boot “Wrong Ramdisk Image Format” with initramfs on BeagleBone black

I am following the book "Mastering Embedded Linux Programming - Second Edition" trying to boot up the Linux kernel mounting a ramdisk. I have U-boot 2020.01 working and the Linux kernel image made. I ...
0
votes
1answer
230 views

Linux Mint 19.3 fresh install boot to busybox / initramfs

I made a fresh install of Mint 19.3 on my SSD (no other OS on the disk). On boot, I have the Mint logo, then drop to busybox : see image. I have seen other poeple with similar problem, yet I didn't ...
0
votes
1answer
25 views

initrd and intramfs purpose confusion

My understanding of the purpose of having initrd or intramfs is for the kernel to be able to mount a temporary file system in RAM to load drivers and other things in order to be able to mount the ...
0
votes
0answers
64 views

How to fix this problem “SMBus host controller not enabled” in a VM Parrot OS with WMware

I´m having this issue, running the VM with Advanced options for Parrot GNU/Linux and recovery mode I'm reading and search, but whole related with the issue don't work for me. I cannot use reboot, ...
1
vote
1answer
101 views

How to get /dev/tpm* in initramfs?

For passwordless decryption of a LUKS volume I want to use clevis with my TPM 2.0 module. This module is recognised in Debian Testing (bullseye): /dev/tpm0 and /dev/tpmrm0 exist (so that I am able to ...
0
votes
0answers
16 views

Dracut: load just one module from a particular directory, without installing

I need to add a kernel module (example.ko) to initramfs - a particular version that I compile. I don't, however, want to install that version on the computer where it's compiled. I know that I can ...
0
votes
1answer
1k views

No mkinitcpio preset present

My laptop lost battery during an update, so the linux kernel got truncated. After arch-chrooting into it and reinstalling linux, it's OK, but /boot/initramfs-linux.img (and the fallback) are empty. ...
0
votes
1answer
27 views

dracut: use only specified configuration file

Is it possible to tell dracut do not use configuration files in /etc/dracut.conf.d/ and /usr/lib/dracut/dracut.conf.d during initramfs creating? I move configuration files to temporary directory ...
0
votes
0answers
33 views

Error after clonezila copying, need help with initramfs

I copied a 58GB sd card to another 60GB sd card with clonezilla. /boot is encrypted and I successful decrypt boot and then it's time to type password for encrypted system but before text Please ...
1
vote
0answers
47 views

How can I change the name of an unencrypted LUKS partition mounted as the root filesystem?

When I installed Linux, the block-device-path of my root LUKS device was /dev/md125 and the unencrypted partition was /dev/mapper/md125_crypt. I have since renamed the MD device to /dev/md0, and now I'...
3
votes
0answers
125 views

Stuck on /init with custom CPU

For a university project I was tasked with implementing privilege levels on an existing RISC-V (rv32i) processor with the end goal to have it run Linux. Due to complexity, my project ended with the ...
0
votes
1answer
127 views

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 ...
0
votes
0answers
19 views

Ubunutu 16.04 boot problem showing busybox error

I have Ubuntu 16.04 PC with some application running and connected to internet at remote location, and few days before internet goes offline and pc goes offline. And when I reboot the PC goat ...
0
votes
1answer
167 views

Make cryptsetup available from the Busybox Ash during boot for remote unlocking

I've tried to set up remote unlocking following online guides like these. First I tried it on ubuntu 18.04, I am trying now in Debian buster. In both cases I was able to set up dropbear to give me ...
0
votes
0answers
56 views

How to auto mount LUKS partition on boot time that contains the other RAID-1 device?

I've set up a server with BTRFS with Single profile. Partition scheme is as follows: /dev/sda: +-- sda1: Boot +-- sda2: LUKS (foo_crypt) +-- LVM (foo) +-- foo-root (BTRFS)...
0
votes
0answers
42 views

Problem trying to install Slackware 14.2

I tried to install Slackware 14.2 that I recorded on a USB Stick using the rufus software, but the following happened when trying to install on my Desktop: After pressing Enter on the root: line it ...
0
votes
0answers
63 views

My computer says “/dev/sda2 contains a file system with error, check forced”

I have followed the instructions below but with no positive results in return: fsck /dev/sda2 Fixed and blocked all the corrections done by running Reboot I can't run any application on my desktop (...
0
votes
0answers
48 views

How is initramfs maintained throughout the execution of the Android kernel?

So, while reading the book Operating System Concepts 10th edition, I found the concept of initramfs. I know that it is used in Linux as a temporary RAM file system to load all of the drivers to mount ...
0
votes
2answers
164 views

Can't convince initramfs of my new swap partition

(Running Debian 10.2 XFCE) Due to some partition resizing needs, I had to delete my original swap partition and add a new one. I changed the entry in /etc/fstab - swap is recognized and working. I ...
4
votes
3answers
15k views

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

I am getting these warnings every time I update my initramfs image(-s) with update-initramfs on my Dell PowerEdge T20 server running GNU/Linux Debian Buster 10.0. Is there a fix? W: Possible missing ...
2
votes
2answers
920 views

Grub: boot with USB key, then continue booting from SD card?

I have an old laptop that has a built-in SD card reader, only it's not available at boot. I can however grub boot linux (Debian) from a small 8GB USB key (USB 2.0), but it's very slow. The SD card is ...
0
votes
0answers
33 views

Failed to connect to lvmetad after shrinking linux partition with cfdisk

WARNING: Failed to connect to lvmetad. Falling back to device scanning. Device /dev/sda2 has size of 1113587712 sectors which is smaller than corresponding PV size of 1952473088 sectors. Was device ...
2
votes
1answer
291 views

file /proc/cmdline is empty

I'm having a problem to boot my system, because the initramfs which should get its values from /proc/cmdline, such as the root device, isn't able to obtain any value, and that's because this file is ...
0
votes
1answer
447 views

Where is the documentation for the IP variable in initramfs.conf?

Multiple sources, including this one, mention using the IP variable in initramfs.conf to set a static IP address in the pre-boot environment, and I have used this successfully in the past. However, ...
0
votes
0answers
176 views

Initramfs not able to mount /system

I Built 3.18 kernel for my android device. its stuck at init where the init is supposed to find the /system from Android DT and mount it , unfortunately it fails to find the location the error from ...
2
votes
1answer
104 views

Get packed/unpacked initrd (initial ramdisk) files running again

Ahoy friends. Currently i'm trying to get Parted Magic running on my PXE server providing NFS support. So i had to edit the initrd.img file, had to add the scripts, and everything worked well. But ...
0
votes
2answers
1k views

Kernel Panic - Not syncing : VFS: unable to mount root fs on unknown-block (0,0)

After updating more than ~1000 things my installation of RHEL 2.6.32-220.el6.x86_64. I get the following kernel panic message: Kernel Panic - Not syncing : VFS: unable to mount root fs on unknown-...
1
vote
1answer
924 views

How does initramfs mount root filesystem?

The iniramfs is like a small os which mount root file system and hand over control to systemd. So, how does initramfs work internally? Is there any scripts executed to mount the root in linux?
1
vote
1answer
723 views

Boot problems with empty fstab in initramfs

I have recently reinstalled my Linux Mint 19.2 from a USB which went fine. Upon starting the system, though, it get's stuck at initramfs. The error messages above state Mount: mounting /dev on /root/...
1
vote
0answers
52 views

Initramfs not reading new configuration/scripts

I am trying to add some custom initramfs scripts to /etc/initramfs-tools/scripts/init-bottom/. However, these are not executed at next boot, after having rebuilt with # update-initramfs -u In fact, ...
0
votes
2answers
1k views

LVM on LUKS FDE: GRUB won't mount my root partition / during boot even though cryptomount and cryptdevice are given in grub.cfg

I have a triple boot setup (3xLinux). All Linuces share /home and swap, and their / partitions are next to each other. All reside in an LVM on LUKS: # lsblk NAME MAJ:MIN RM ...
0
votes
1answer
327 views

Disabling Hibernation Boot on Debian Buster

i recently installed Debian 10 Buster with KDE Plasma Desktop to my laptop. When i logon, system starts up the apps while they were open before shutdown. I edited the file /etc/initramfs-tools/conf....
2
votes
1answer
118 views

How can I implement resuming from hibernation in my initramfs script? (swap file on encrypted root partition)

So I messed up and executed echo disk > /sys/power/state instead of echo mem > /sys/power/state accidentally. And then realized what I had just done. Some details about the setup: It's using ...
1
vote
1answer
100 views

How to autoprobe block devices in initramfs?

I am building a custom Alpine image based on isolinux. Basically, I am squashing rootfs, and mounting it as overlayfs. Bootloader does its job fine, kernel loads, but I am stuck at initramfs. Let ...

1
2 3 4 5
7