Skip to main content

Questions tagged [dracut]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
70 views

dracut with btrfs (raid1) on lvm on luks

I’m using Ubuntu with dracut for initramfs with BTFRS on LVM on LUKS: $ lsblk -o name,type,mountpoint,fstype NAME TYPE MOUNTPOINT FSTYPE sda disk ...
Marc's user avatar
  • 1
0 votes
1 answer
28 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
92 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
  • 161
0 votes
0 answers
47 views

How to write a pre-mount startup script for dracut?

I want to create a script that suspends the system for 2 seconds before filesystem mount because of a firmware bug on my acer laptop specified on the ArchLinux-Wiki. That article tells me how to do it ...
TskTskTsk's user avatar
0 votes
0 answers
180 views

Dracut - what is it and why does it suddenly run without reboot?

I see that dracut has been run on my system (RHEL 9) during the weekend, and it seems like it has changed my authselect configuration messing up SSH connections. After some searching I've found that: ...
N. J's user avatar
  • 167
0 votes
0 answers
65 views

What is the best tool to recover data from Centos Linux volumes

I have this error when starting Centos 7, [ 198.942749] dracut-initqueuel3371: Warning: /dev/centos/root does not exist [ 198.9438971 dracut-initqueue[337]: Warning: /dev/centos/swap does not exist [ ...
Pampayacu's user avatar
0 votes
0 answers
172 views

startup message in Centos 7: could not boot

Dead community, Does anyone know the solution to this error message that I get when starting Centos Linux (3.10.0-1160.66.1.el7.x86_64) 7 (Core) [ 198.942749] dracut-initqueuel3371: Warning: /dev/...
Pampayacu's user avatar
0 votes
1 answer
364 views

RHEL 7.9 + microcode_ctl + warning in kernel messages

I want to share the following issue after upgrading the security rpm's on RHEL 7.9 machines include update of microcode_ctl rpm rpm -qa | grep microcod microcode_ctl-2.1-73.15.el7_9.x86_64 we noticed ...
yael's user avatar
  • 13.3k
1 vote
0 answers
73 views

Dracut: What does the rd.lvm.snapshot command line option do?

In the dracut.cmdline manpage, under the deprecated section, it has these old options and their replacements. rd_LVM_SNAPSHOT rd.lvm.snapshot rd_LVM_SNAPSIZE rd.lvm.snapsize But no actual ...
gdi's user avatar
  • 143
0 votes
0 answers
235 views

How to find why /dev/disk isn't created?

During boot system logs into journal [ 4.604302] x-com (udev-worker)[359]: sda: /usr/lib/udev/rules.d/73-seat-late.rules:13 Failed to import properties 'ID_SEAT' from parent: Operation not ...
Sanchez's user avatar
0 votes
0 answers
181 views

Unable to load LVM module

I am using RHEL 8, it was installed with Server with GUI, I need to change it to CLI (minimal) only so what I did from SSH session I ran following commands yum group install "Minimal" -y ...
csx4's user avatar
  • 371
3 votes
1 answer
1k views

Failed to boot after installing dracut on Ubuntu 22.04 with zfs file system

I installed (sudo apt install dracut, did not change any configuration files) dracut on my Ubuntu 22.04 and rebooted. Now I get the message dracut: FATAL: Don't know hot to handle 'root=ZFS=rpool/ROOT/...
ubuntulinuxxuser987's user avatar
1 vote
1 answer
460 views

Stop Dracut from asking for a password

I have a device I've encrypted with luks1 and I decrypt it with a script in init.d. (Centos 6, no keyscript in crypttab). Its a raid disk, with the encryption under the raid, but I don't think that ...
yesennes's user avatar
  • 173
1 vote
1 answer
2k views

What rd.live.image means?

I've recently started to use Fedora more. I want to understand boot options. I'm currently unable to find meaning of rd.live.image. Where is it documented? dracut.cmdline - dracut kernel command line ...
Martian2020's user avatar
  • 1,177
1 vote
0 answers
80 views

verify live image in dracut

I have enabled EFI on the target host, enabled secure boot with my own PlatformKey, enabled ipxe bootstrap image where imgverify is used for checking the signature of the initrd. Now I have the ...
Oleg's user avatar
  • 11
0 votes
1 answer
598 views

How to isolate (reserve) GPUs with identical hardware IDs via IOMMU / dracut / kernel parameters (in VoidLinux)

I'm trying to set up pci/gpu passthrough on void. Specifically, using the vfio-pci driver to "reserve" one of the GPUs. I have been following the procedure outlined in this void-docs PR (and ...
vn-ck's user avatar
  • 1
2 votes
1 answer
5k views

dracut -f shows "Failed to find module" and nvme error message

Running dracut -f <pathToInitRamFs> <kernelVersion> to add some custom drivers to the initramfs shows an error message from the nvme command. In addition, it fails to copy those custom ...
Danny's user avatar
  • 613
0 votes
0 answers
63 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 ...
Beqa Chkoi's user avatar
2 votes
2 answers
2k 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/...
Jeff's user avatar
  • 21
1 vote
1 answer
554 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 ...
MacLCM's user avatar
  • 73
2 votes
1 answer
6k 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 ...
MacLCM's user avatar
  • 73
1 vote
0 answers
82 views

dracut.conf version of --uefi?

Looking through man dracut.conf I see equivalents to a lot of the command line options from man dracut, but I don't see one that causes it to generate a UEFI executable like --uefi would on the ...
Huckle's user avatar
  • 1,025
0 votes
1 answer
1k views

In a systemd initrd, how do I persist a mount into the new root

Background I'm building a custom initrd using dracut. It: mounts an ext4 disk partition to /data retrieves a squashfs image over the network, which it stores in /data mounts the squashfs mounts an ...
Gary van der Merwe's user avatar
0 votes
1 answer
575 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 ...
Yurij Goncharuk's user avatar
1 vote
0 answers
502 views

packer - hyperv - centos dracut initqueue timeout errors

facing errors while using packer to build an image with hyperv for centos8 attaching logs at ends its picking the ks.cfg, its getting the ip as well from dhcp, i could see in the rdsosreport.txt as ...
snehid's user avatar
  • 23
0 votes
1 answer
38 views

Install own kernel in CentOS. Is that possible?

So I'm having a customized kernel(.deb packages). And like I wanna apply kernel on CentOS. Is this possible? Over the internet found out that it's possible with "dracut tool", but how? Or I ...
Viktor's user avatar
  • 217
0 votes
1 answer
2k views

Unable to disable kernel module

I'm trying to disable kernel module for my motherboard's bluetooth chip: btintel. I've added a blacklist entry to /etc/modprobe.d/blacklist-btintel.conf (I also tried blacklist.conf, this didn't make ...
Daniel Sloof's user avatar
0 votes
1 answer
1k views

How to configure lvm from dracut emergency shell?

I am sorry if this is a silly question or someone has already answered it. I am new to linux and encounter a problem with booting into OS (Qubes OS 4.0.1). After some time searching about the problem, ...
Plutonium's user avatar
3 votes
0 answers
822 views

CentOS-8 - Unsealing LUKS volume with TPM2 module - clevis issue

Im trying to get a LUKS volume unlocked by the TPM-module on a Dell Optiplex 3060. The binding seems to work fine: clevis luks bind -d /dev/nvme0n1p3 tpm2 '{"pcr_ids":"7"}' $ luksmeta show -d /dev/...
n-tchen's user avatar
  • 440
0 votes
2 answers
5k 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-...
3dalliance's user avatar
0 votes
0 answers
1k views

What does this dracut log output mean? Why is there an infinite loop?

I'm fighting a server with Centos 7 that doesn't start. I've no idea why. I found that I can pass the rd.debug parameter to the kernel and it logs a LOT of dracut initialization messages. 1.6MB in ...
Vilx-'s user avatar
  • 507
1 vote
0 answers
936 views

Live USB with custom CentOS image and Veracrypt Partition

Context: I have a USB drive with 2 partitions: the first one is a custom, non-persistent, image of CentOS 7.6 1810 (with GNOME) and the second one is an encrypted data partition. The objective is to ...
Jon's user avatar
  • 11
5 votes
1 answer
3k views

What is the relationship between dracut and initramfs?

When experiencing a boot failure I see the system drop to a prompt which says dracut. It is my understanding dracut is used to generate an image of initramfs. What I'm confused about is that based on ...
Grant Curell's user avatar
1 vote
3 answers
28k views

System boots into Dracut mode in CentOS 7

Recently tried booting up my server but i get the following error. It seems that initramfs is not able to generate and i tried to boot into rescue mode and found that fstab file was empty. Updated the ...
Bhargav Mg's user avatar
3 votes
0 answers
3k views

FIPS integrity test failed on RHEL 7.5 with 4.X kernel

I have a Dell PowerEdge R7425 with Intel NVME P4500/P4510 NVME drives. On the 3.10 kernel, the NVME drives throw I/O errors very frequently, and these errors have led to a system halt once already. I ...
kurisushouri's user avatar
4 votes
1 answer
2k views

RAIDs disappearing on reboot (Centos 7.5)

I'm trying to create 4 RAID 0 disk arrays on my system running Centos 7.5 and have the RAIDs automount after a reboot. For some reason, only one of the RAIDs /dev/md0 is persistent between boots. The ...
ks0ze's user avatar
  • 141
1 vote
0 answers
2k views

Problem with starting Oracle Linux after Migrating form OVM to hyper-v

I am planing to move form OVM to hyper-v, in-order to do the migration, I shutdown OVM (VM is using Oracle Linux 7.2) normally, then exported the appliance from OVM Console, move it to Windows machine ...
Ahmad Abuhasna's user avatar
0 votes
1 answer
343 views

Unable to upgrade openSUSE Leap 42.2 to 42.3

I'm trying to upgrade from openSUSE Leap 42.2 to 42.3 using: :~> cd /etc/zypp/repos.d :~> sed -i 's/42.2/42.3/' * :~> zypper refresh :~> zypper dup :~> reboot After rebooting I get messages such ...
raydona's user avatar
1 vote
1 answer
1k views

Migrate from Initramfs-tools to Dracut

I have a question about migrating fron "Initramfs-tool" to "Dracut". Initramfs-tools relies on customization scripts hosted by the folders "/etc/initramfs-tools/" and "/usr/share/initramfs-tools/". "...
Antonio Petricca's user avatar
1 vote
2 answers
36k views

warning /dev/centos/root swap centos-root does not exist -- after configuring DRBD

I configured DRBD on default CentOS 7.3 Installation like following: /dev/centos/home was taking all the space in sda2 so reduced it and created /dev/centos/home (20% space) and /dev/centos/drbd (...
bakasan's user avatar
  • 21
4 votes
3 answers
41k views

How do I change dracut-initqueue timeout?

During boot, my CentOS 7 box yields a bunch of messages like [ 202.161851] myhost dracut-initqueue[381]: Warning: dracut-initqueue timeout - starting timeout scripts and then drops me to a prompt. I ...
Pascal's user avatar
  • 323
1 vote
2 answers
1k views

How can I execute tpm2_nvread in the initramfs image created by dracut for centOS 7?

I want to load unlock my LUKS partition (root file system) at boot time using a TPM 2.0. I've had no success using a keyscript=/path/to/script in my /etc/crypttab file, however I made progress using ...
spanishgum's user avatar
1 vote
1 answer
1k views

Should userspace stop MD RAID arrays during shutdown? If so, why?

The following comment confuses me: It just so happens, that dracut has code in the shutdown routine, which shuts down all raid arrays... For non-root disks this should be part of an mdadm ...
sourcejedi's user avatar
2 votes
1 answer
5k views

How to add cryptsetup to Dracut

I'm switching to Dracut and I've numerous problems. In order to eliminate them one by one, first I want my system to boot correctly. So my Grub2 entry looks like this: menuentry 'dracut' { ...
ceremcem's user avatar
  • 2,361
0 votes
1 answer
440 views

amazon aws : dracut mount filesystems in random order?

I have two linux instances on amazon. Both of them have one disk device. For test, I power off one instance (A) and attach its volume to the second one (B), as /dev/xvdf. Into this server, I can mount ...
Massimo's user avatar
  • 1,015
3 votes
1 answer
280 views

Making update-persistent changes to initrd in CentOS

I am booting a CentOS image via NFS, which requires a custom initramfs from dracut, with some extra modules. I want the kernel to get updated normally, using yum update. This will automatically ...
Dan's user avatar
  • 133
0 votes
1 answer
652 views

Creating generic initramfs that is kernel-independent

I've just setup a proof-of-concept UEFI, PXE, NFS diskless booting system. For the NFS booting to work, I needed to create a custom initramfs using dracut-network including modules for nfs, network, ...
Dan's user avatar
  • 133
1 vote
0 answers
9k views

Dracut not finding root device

When I boot my server, it shows the following and hangs forever: [ 88.166038] usb 2-1: device not accepting address 2, error -110 [ 88.285980] usb 2-1: new high-speed USB device number 3 using ...
user2963501's user avatar
0 votes
1 answer
673 views

openSuse 42.2 is unable to boot when root is on RAID1 which is broken (with one missing/new/empty disk)

Here is the case: I have two disks setup in RAID 1 as follows: /dev/md0 (/dev/sda1 + /dev/sdb1) → /boot /dev/md1 (/dev/sda2 + /dev/sdb2) → / My scenario: Start server with RAID 1 and array fully ...
Cedric Simon's user avatar
1 vote
1 answer
2k views

Fedora 24 boot stops at "Starting Switch Root..." after disabling udev/udisks

I'm installing a new Fedora 24 system, and just for "fun", I ran this command: systemctl -t service|grep 'loaded active running'| perl -anle 'print "systemctl stop $F[0]; systemctl disable $F[0]"' | ...
user avatar