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

systemd says “networking.service failed” but network is up

Normally, I run Gentoo with openrc init, but am installing a Debian 10 server and having some trouble understanding systems. The server boots via a custom dracut initrd which created a bonded network ...
1
vote
1answer
23 views

How does linux know to mount / without /etc/fstab

When /etc/fstab gets deleted/name is changed booting into the machine still works, in addition the root file system (/) is still mounted and on the correct storage device, how does it know to mount / ...
1
vote
1answer
56 views

Why do distros(e.g. Arch) use BOTH initramfs and root={smth}?

I thought the goal of initramfs is to boot a root partition and chroot into it. But I can't understand why do distro developers use initramfs if there is ALWAYS a root={smth} flag.
0
votes
1answer
13 views

Initramfs error code 8 after booting to Windows on other hard drive

I have multiple hard drives on my computer with different partitions, with different Windows installations and older (malfunctioning) Ubuntu versions. When I change my hard drive boot priority in the ...
0
votes
0answers
27 views

Method to “unzip” and “zip” this boot image with root filesystem folders?

I am struggling with "unzipping" and "zipping" back this root filesystem from my bootable usb. I have found some similar questions but they are too old, i think, and maybe the root ...
0
votes
0answers
15 views

init unable to find root device on computer in restoration

I'm a bit out of solution on this one : I am restoring an old computer (15 years old...), which was running archlinux. I have inadvertently erased the pacman package database (and all /var ...), and I ...
0
votes
0answers
19 views

Clonned Linux from USB

I have several net-top-boxes, all of them has 32GB mSata ssd and linux OS (f25, I guess). Almost all theese devices has same problem time to time, wont boot, freezing while posting, caused by SSDs. I ...
1
vote
2answers
32 views

Don't working Centos7 root password recovery methods

Each time whenever I tried to get in initrd shell i was faced with the same problem "Starting switch boot" and it did nothing... I tried to put rw init=/bin/sh instead of ro in kernel boot ...
0
votes
1answer
25 views

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 ...
0
votes
1answer
50 views

How to change the language in busybox

I turned off the computer, but when I opened it again, it gave me an error: I find the solution of it,(i need to write fsck /dev/sda8) however my keyboard is in russian, so i can not type anything in ...
2
votes
0answers
48 views

Mint Linux - Calling update-initramfs from a mounted partition

I'm kind of a newbie to linux. I'm having trouble installing a mint linux on a KVM while passing a nvidia graphics card. The first problem I'm having is the known issue "Initramfs unpacking ...
0
votes
0answers
19 views

How to configure linux kernel so that it does not require initrd?

What should be done in the menuconfig to compile a kernel which does not require initial ramdisk?
0
votes
1answer
28 views

Why genkernel decides to only include 4 modules in my initramfs?

The /lib/firmware in my initramfs-5.*.img has only 4 modules: modules/5.10.12-gentoo/kernel/ ├── drivers │   └── net │   ├── macvlan.ko.xz │   └── vxlan.ko.xz └── net ├── ipv4 │   └── ...
2
votes
1answer
102 views

Do I need to update initramfs on every kernel recompilation?

Suppose that: any kernel configuration regarding initramfs (loading external initramfs support and compression) No RAID or lvm used rootfs uses ext4 Is it really necessary to generate a new ...
1
vote
0answers
49 views

How do I get a script included in initramfs with dracut?

I am using dracut to create an initramfs to test a script for creating a key in the TPM chip. For now, this script is just a dummy script, so I can see if I've created the initramfs correctly: #!/usr/...
0
votes
0answers
63 views

unable to decrypt luks partition in initramfs

I'm setting up decrypt over ssh and have successfully created an initramfs I can boot into. currently though, whether pasted or typed manually, my password fails to be accepted, but I've confirmed ...
1
vote
1answer
84 views

Dropping to initramfs shell

For many years now I've been an avid windows & mac user. Most recently, the growing love-affair between tech corporatists and government bureaucrats has convinced me to take the plunge into the ...
0
votes
0answers
28 views

getting weird errors while installing RHEL on hardware: dracut-initqueue[1063]: warning: dracut-initqueue timeout - starting timeouts scripts

installation of RHEL8 on vmware was very smooth with the same ISO, so i thought to directly install it on hardware (as i faced some issues in the past with debian on hardware so i decided to try the ...
0
votes
0answers
45 views

LVM volume group and its logical volumes not activated during startup on Debian Buster

My LVs in the only volume group I have are marked as "inactive" (vgscan) or "NOT available" (lvdisplay) respectively after machine restart. vgchange -an makes them active / ...
0
votes
1answer
28 views

Fedora and default permissions for initramfs

I'm on Fedora 33 and I would like initramfs to be readable by any user after each kernel upgrade. How can I change its default permissions?
0
votes
0answers
60 views

Booting live OS (Tails) from SD Card

I get the following error while booting Tails from a micro Secure Digital (SD) Card: (initramfs) Unable to find a medium containing a live file system. On boot, my laptop Dell recognizes the micro SD ...
2
votes
0answers
31 views

Fedora boots to blank screen and never shows login or other text

I tried part of this tutorial and firmly broke my Fedora bootup. Usually when I boot up, the first thing that happens is I get a screen with my available kernels, I select one, and then it goes to a ...
0
votes
0answers
11 views

Switching rootfs on startup?

I'm trying to create a barebones bootable Linux DVD, currently I'm just expecting there to be a device on /dev/sda3 that has my rootfs but I was wondering if there was a way for me to initially set ...
0
votes
0answers
57 views

Getting error on start fedora and taking me to emergency mode

When I am Starting my fedora pc it gives me a console. I am getting a big mess. I entered the password and I ran systemctl command and I checked that it was unable to start initrd-switch-root.service ...
4
votes
1answer
2k views

“cryptsetup: ERROR: Couldn't resolve device” combined with “cryptsetup: WARNING: target 'sda3_crypt' not found in /etc/crypttab”

After setting up hibernation on ubuntu 20.04 and modifying it that it works for encrypted swap partitions, I'm getting several issues: First, after rebooting from hibernation, I got "Gave up ...
0
votes
0answers
51 views

How to switch from a running system to initramfs, in order to unmount the root overlayfs and its components and than reboot or shutdown?

The embedded system is based on NXP ARM iMX8Mini, the root filesystem is an overlayfs composed by three parts, these parts are filesystems that are contained inside files image. The partition who ...
0
votes
0answers
84 views

Ubuntu 20.04.1 Boot error: “/dev/sda2 does not exist. Dropping to shell.”

I installed Ubuntu 20.04.1 LTS on my old PC (Sony VAIO Fit 15A) using a configured live USB. While installing I kept all recommended settings and did not check the box to download third party ...
1
vote
1answer
59 views

How to ensure that a package is correctly installed/updated after “post-installation script: subprocess returned error exit status 1”

After upgrading to Debian 10.7 I got this error, possibly due to lack of storage space: Error while installing package: installed initramfs-tools package post installation script: subprocess returned ...
2
votes
0answers
50 views

Custom boot logo without custom kernel?

If you build a custom Linux kernel, you can include a custom logo image that is displayed almost immediately on boot, followed by the regular boot messages (or Plymouth boot graphic). Is there some ...
2
votes
0answers
80 views

Cannot boot from grub / initramfs to desktop in linux mint

Recently I had to download some files for my uni coursework on Docker. I think they were temporarily installed on /var/ and I had to create some syslinks to enable me to have the space to install it. ...
0
votes
2answers
2k views

Ubuntu will no longer boot after upgrade from 20.04 to 20.10

Thanks in advance for the help. I have a Dell Precision 7540 that has Ubuntu 20.10 installed (previously 20.04). It is a pretty normal installation with a single physical nvme disk, with separate ...
0
votes
1answer
476 views

Pop OS 20.04 LTS | initramfs-tools error on apt

I was upgrading my python3 from 3.8.5 to 3.9, so I (probably shouldn't have) ended up apt removing python-apt. After that, I tried reinstalling it but this error came up: $ sudo apt-get install ...
0
votes
1answer
131 views

Intermittent hang after systemd startup on Debian Buster

I'm currently running Debian Buster with the 4.19.0-9-amd64 kernel. I find that intermittently after booting my system, selecting this kernel, entering my boot disk encryption key, and waiting for ...
0
votes
1answer
256 views

Grub is not booting Ubuntu with LUKS/LVM

I have installed Ubuntu 20.04 on LUKS/LVM but unfortunately on booting I am only getting a grub> prompt. # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda ...
0
votes
1answer
20 views

What utilities do I need to mount a virtual filesystem?

I am making an initramfs, and I want as few utilities as possible. Specifically, I don't want busybox. Since my root is zfs, I need zfs.mount. However, I also need to mount proc, sysfs, devtmpfs, and ...
0
votes
1answer
115 views

How to manually get initramfs prompt at boot

I'm trying to get an initramfs prompt at boot because I have no USB drives or anything that I can use, and I need to use fsck on my /dev/sda, but that's obviously not allowed while it's mounted. It's ...
0
votes
1answer
111 views

What should I mount and unmount in an initramfs?

I found this simple example of an initramfs from the Gentoo Wiki: #!/bin/busybox sh # Mount the /proc and /sys filesystems. mount -t proc none /proc mount -t sysfs none /sys # Do your stuff here. ...
0
votes
1answer
274 views

KDE Partition Manager can't regrow my EXT4 partition after shrinking it?

I'm sorry if I mix different units in this but these are the units I see when working. I decided to add a new partition to my bootable sd card which contained a 21GB partition of an EXT4 file system (...
1
vote
0answers
89 views

Dracut skips over new custom dracut module during initramfs build

Ok so I have a system running a RHEL 6 server and due to hardware restraints RHEL 6 is the newest I can use. Second I am trying to create a live network bootable initramfs for a pxe operation. In ...
1
vote
0answers
132 views

Error installing Arch on LUKS-encrypted ZFS root: `/sbin/init does not exist`

I have almost successfully installed Arch Linux on a LUKS-encrypted disk with a ZFS root. I can get the password prompt to decrypt the LUKS volume, but the next step with loading the installed system ...
0
votes
0answers
187 views

fsck in initramfs does nothing

I'm having problem while booting to Debian 9. I did fsck thing but it does nothing. The error said : /init: line 1: logsave: not found The root filesystem on /dev/sda6 requires a manual fsck BusyBox ...
0
votes
0answers
644 views

initramfs unpacking failed : xz-compressed data is corrupt

I have this problem with fedora 32 bootable iso my laptop(Acer 5741 core i5,4f ram,250gb sad), "failed to start iscsi userspace i/o driver" , "Refusing to continue " and "...
0
votes
0answers
16 views

What boot or script parameters are different in a live iso verses a normal image(specificall redhat based distro's)

Ok so I know the difference between the functionality of live verses a normal iso but I want to know what boot parameters / startup scripts are different that are fed to the initramfs/dracut that make ...
1
vote
1answer
898 views

Dracut will not create images containing modules not in use by the current system

Ok so dracut is not performing as I believe it should and I cannot find a workaround. I have created several images before but now I am trying to create a live boot initramfs to go along with a custom ...
0
votes
0answers
17 views

What does switch_root do to mountpoints except /proc, /dev, /sys and /run

I'm unsure about exactly how switch_root handles other mountpoints. As per the description in switch_root manpage all I could know is that it moves /proc, /dev, /sys and /run to the newroot and ...
0
votes
1answer
577 views

How to automatically run mkinitramfs on Debian after apt update for kernel packages?

What I am trying to achieve is to have an encrypted root file system on a Raspberry Pi (running Raspian Buster) that gets unlocked at boot via ssh. I got quite far by adapting a tutorial for Kali ...
0
votes
0answers
35 views

dracut for rhel 6 not creating modules

I have pxe booted and created custom initramfs.img s for centos 7 and 8 but due as part of an older system upgrade that still requires rhel 6 I have been trying to create a dracut initramfs.img . I am ...
1
vote
0answers
87 views

Difference between initrd.img and a initramfs.img?

an initrd.img sets the stage for the real root file system to take over once done, as I understand it the initramfs.img is a customizable version of the initrd. lets say you are loading to a diskless ...
0
votes
0answers
31 views

My grub isn't working well and I can't access my linux

I upgraded my windows 10 yesterday after which when I rebooted my PC it showed me grub rescue and I ran a series of command ls ls (hd0,msdos40 set root=(hd0,msdos4) set prefix=(hd0,msdos4)/boor/grub ...
0
votes
0answers
491 views

Upgrading initramfs-tools does not work on Linux Mint Ulyana

If I run sudo apt-get upgrade on the terminal the error Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 ...

1
2 3 4 5
8