Questions tagged [dracut]

The tag has no usage guidance.

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

Fedora Live - Encrypted Persistent Overlay

I set up a live fedora on a USB stick with overlayfs. I've been prying into the files to see what goes where. I would like to have an encrypted overlay (everything's out in the open at the moment), ...
  • 403
0 votes
0 answers
32 views

Dracut shell error attempting to boot from USB

I have been trying to get Rockstor NAS software installed on a bare system with new SSDs from an ISO on a USB stick created with dd. The loader allows me to select Install-Rockstor_Leap15.4-generic ...
0 votes
0 answers
17 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 ...
  • 303
0 votes
0 answers
75 views

LUKS + TPM2 + noSD + Dracut

So I have been struggling for several days to determine what I am doing wrong and I know it is something small. I currently have Void Linux setup on a full encrypted LUK2 volume. The system uses ...
0 votes
0 answers
42 views

Splash file (bmp) with UKI (efi) file with dracut or mkinitcpio

I want to use a splash file converted from a JPG to a BMP (required by dracut and mkinitcpio when making a UKI file). I've been successful with only one such file, but I don't know why. The kernel ...
  • 26
2 votes
1 answer
491 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/...
1 vote
1 answer
151 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 ...
  • 163
1 vote
1 answer
681 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 ...
1 vote
0 answers
56 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 ...
  • 11
0 votes
1 answer
332 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 ...
  • 1
1 vote
1 answer
2k 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 ...
  • 479
0 votes
0 answers
40 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 ...
2 votes
0 answers
532 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/...
  • 21
1 vote
0 answers
371 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 ...
  • 63
1 vote
1 answer
4k 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 ...
  • 63
1 vote
0 answers
60 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 ...
  • 935
0 votes
1 answer
674 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 ...
0 votes
1 answer
289 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 ...
1 vote
0 answers
427 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 ...
  • 13
0 votes
1 answer
32 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 ...
  • 117
0 votes
1 answer
733 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 ...
0 votes
1 answer
912 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, ...
3 votes
0 answers
687 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/...
  • 380
0 votes
2 answers
4k 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-...
0 votes
0 answers
836 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 ...
  • 351
1 vote
0 answers
801 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 ...
  • 11
3 votes
1 answer
2k 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 ...
1 vote
2 answers
20k 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 ...
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 ...
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 ...
  • 141
0 votes
0 answers
1k 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 ...
0 votes
1 answer
328 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 ...
1 vote
1 answer
750 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/". "...
1 vote
2 answers
29k 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 (...
  • 21
3 votes
3 answers
38k 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 ...
  • 303
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 ...
1 vote
1 answer
921 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 ...
  • 46.8k
2 votes
1 answer
4k 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' { ...
  • 2,161
0 votes
1 answer
403 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 ...
  • 945
3 votes
0 answers
216 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 ...
  • 133
0 votes
1 answer
553 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, ...
  • 133
1 vote
0 answers
7k 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 ...
0 votes
1 answer
648 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 ...
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
1 vote
1 answer
150 views

Cannot boot up when Adaptec SCSI card is replaced

Current Fedora 19 installation is on an Adaptec 29320 and I am trying to temporarily replace it with an Adaptec 29160. The functionality of the cards is very nearly the same except the replacement is ...
0 votes
0 answers
627 views

build initramfs for different host

Cross compiling a kernel takes minutes, deploying the thing on the target machine takes an hour. Most of the time is spent generating the initramfs. Both the build host and the target run Fedora which ...
  • 1,662
0 votes
2 answers
4k views

Running dracut on AWS EBS Centos 7 prevents booting

I have a minimal Centos 7 build. When I run dracut --force, it builds a new initramfs that is 20mb smaller. The only difference in the modules section is an absence of qemu. localhost login: [ 3322....
  • 221
3 votes
0 answers
646 views

LUKS decryption at boot: using an nfs mount to store the key

I've been through this site for a number of LUKS related questions. I've seen methods for storing the LUKS key in plaintext on the root filesystem or on a USB key. My question is: Is there a way ...
5 votes
4 answers
81k views

boot problem in linux

I have unfortunately format drive /dev/sda2. So all the /root,/home,swap LVM no longer exists. Because of this my server is unable to work properly. it shows only dracut#>Dracut Error: [ OK ] ...
  • 111
0 votes
1 answer
2k views

My CentOS 7 won't boot anymore

My CentOS 7 won't boot anymore. I returns by after boot: Assuming drive cache: write through I found some things to remove rhgb via the boot menu, but that didn't work. I remove it, and saved it ...