Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [dracut]

The tag has no usage guidance.

0
votes
1answer
22 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 ...
0
votes
0answers
32 views

Unable to re-create initramfs using dracut

I am experimenting on some rescue situations using CentOS7 minimal image and virtualbox. I: deliberately deleted my initramfs file booted from CentOS7 minimal iso image entered into rescue mode ...
3
votes
0answers
297 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. ...
0
votes
0answers
49 views

Can I restore my RHEL 7 server after messing up partitions in fdisk?

I was attempting to change my partitions in Linux (RHEL 7) and I deleted a partition using fdisk. Then, I attempted to reboot the system. Now, when I connect to my Linux box, I'm in a Dracut shell and ...
4
votes
1answer
403 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
343 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
186 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
30 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
0
votes
1answer
159 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
0answers
6k 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 (...
0
votes
1answer
11k 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
480 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
303 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 ...
1
vote
0answers
450 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
131 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 ...
1
vote
0answers
131 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
271 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
3k 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
446 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
1k 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
75 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
316 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
1answer
1k 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
327 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 ...
3
votes
3answers
44k 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
1k 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://...