Questions tagged [dracut]
The dracut tag has no usage guidance.
46
questions
0
votes
0
answers
13
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 ...
1
vote
1
answer
155
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
13
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 ...
0
votes
1
answer
83
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 ...
0
votes
0
answers
141
views
How to update initramfs from kickstart when installing to eMMC disk
I'm trying to install Centos 8 to an embedded computer fitted with onboard eMMC storage. The installation completes successfully but the system does not boot.
After reset, the boot menu is displayed ...
-1
votes
1
answer
901
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 ...
0
votes
0
answers
28
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
290
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/...
1
vote
0
answers
238
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
1
answer
3k
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 ...
1
vote
0
answers
41
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 ...
0
votes
1
answer
402
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
170
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
374
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 ...
0
votes
1
answer
31
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 ...
0
votes
1
answer
396
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
590
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
510
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/...
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
618
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 ...
1
vote
0
answers
670
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 ...
2
votes
1
answer
1k
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
14k
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
2k
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
1k
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 ...
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
301
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
550
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
1
answer
22k
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 (...
3
votes
3
answers
36k
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 ...
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
794
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 ...
2
votes
1
answer
3k
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' {
...
0
votes
1
answer
365
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 ...
2
votes
0
answers
187
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 ...
0
votes
1
answer
484
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, ...
1
vote
0
answers
6k
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
622
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]"' | ...
1
vote
1
answer
125
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
514
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
...
0
votes
2
answers
3k
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....
3
votes
0
answers
575
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
78k
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 ] ...
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 ...
1
vote
1
answer
2k
views
Where are isoboot, boot=isolinux and iso-scan/filename parameters documented?
I see this example in the dracut docs:
linux (loop)/isolinux/vmlinuz0
boot=isolinux
iso-scan/filename=$isofile
root=live:LABEL=$isolabel
ro
rd.live.image
These texts:
https://...