Questions tagged [dracut]
The dracut tag has no usage guidance.
47
questions
0
votes
0answers
13 views
dracut: can I boot without a root filesystem?
Using dracut, is there a way that I can create an initramfs image that will boot without a root filesystem specified (that is, without a root= on the kernel command line)?
When I try specifying an ...
1
vote
0answers
19 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
14 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 ...
1
vote
0answers
46 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 ...
0
votes
0answers
14 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 ...
0
votes
0answers
141 views
How to create a PXE boot that runs totally in the target machines ram using root=live?
Ok so I have created some pxe images using centos 8 and 7 but for the application I am to use pxe for now I need it to run totally in the target machines ram. to do this from research I understand ...
1
vote
0answers
563 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
26 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
19 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
0answers
45 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
0answers
41 views
Dracut systemd service inactive (dead)
I have a debian machine with dracut instead of initramfs and I'm trying to enable a service to start when the system fails to boot. The service gets loaded but status says
Active: inactive (dead)
I ...
0
votes
1answer
190 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
1answer
79 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
0answers
263 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
1answer
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
0answers
158 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
1answer
234 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
0answers
339 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
2answers
2k 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
0answers
276 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
0answers
450 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
1answer
630 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
2answers
7k 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
0answers
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
1answer
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
0answers
951 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
1answer
287 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 ...
0
votes
0answers
52 views
Mageia 5.1 dracut error
im trying to boot into mageia 5.1 and it comes up with this error
dracut warning: could not boot dracut warning: /dev/disk/by-uuid/3438-85aO does not exist
1
vote
1answer
382 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/".
"...
0
votes
1answer
15k 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
3answers
27k 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
2answers
986 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
1answer
572 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
1answer
2k 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
1answer
273 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 ...
1
vote
0answers
175 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
1answer
398 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
0answers
5k 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
1answer
566 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
1answer
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
1answer
104 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
0answers
445 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
2answers
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
0answers
463 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
4answers
66k 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
1answer
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
1answer
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://...