Questions tagged [dracut]

dracut is a Linux initramfs environment, initially written for Fedora.

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

RHEL9.2 complains about missing /lib/modules/5.14.0-284.25.1.el9_2.x86_64 when rebuilding initramfs

The kernel on one of our RHEL9.2 servers was recently upgraded to 6.2.8 in preparation for a software upgrade but due to complications, we've had to revert back to 5.14.0-284.25.1.el9_2.x86_64. I've ...
nathan.glades's user avatar
0 votes
0 answers
18 views

Bootprocess stops after detaching raid member

I run following Setup in my Testlabor before migrating into production: Dm-crypt/luks Raid1 / btrfs EFI dracut / fedora Server GRUB2 Systemd I simulated a drive failure (the one without boot partition)...
marcelfoss's user avatar
0 votes
0 answers
156 views

Issues with Kickstart on Fedora 38

I'm having an issue where I receive the following errors when attempting an install with Anaconda Kickstart. The input below is the default when I enter the ‘inst.ks’ option Input: setparams 'Install ...
brokaryote's user avatar
0 votes
1 answer
658 views

Rocky 9.1 dracut fails to boot

My rocky 9.1 vm kernel is not able to load/boot/decrypt a LVM Luks2 volume during boot. Booting with 5.14.0-162.6 works fine. But fails booting the latest 5.14.0-162.18 or 5.14.0-162.12 kernel, dracut ...
sherwood's user avatar
0 votes
1 answer
195 views

During which dracut hook can a PXE client rename predictable interfaces names with a udev rule?

tl;dr: During load of an initramfs (execution of dracut modules) on a PXE client, I need to rename the kernel-given (predictable) interface names (right now they're unpredictable ethX names). This way,...
brimhalgh's user avatar
1 vote
1 answer
756 views

CentOS 7 (dracut) is finding inconsistent network device names causing problems for kickstart

I use the boot options biosdevname=1 net.ifnames=1 in order to get consistent, predictable device names. I'm starting to notice a problem where in some cases, the network device names are not ...
guzzijason's user avatar
  • 1,410
0 votes
0 answers
853 views

Linux server wont shutdown - A start job is running for Login iSCSI Target

I am settin up a server with draut and iSCSI - I messed up a target / IP mapping, and now my server is stuck while booting: A start job is running for Login iSCSI Target ... (23min 10s / no limit) I ...
Matt Clark's user avatar
0 votes
2 answers
6k views

After changing a system disk partition, system won't boot, goes into "Dracut Emergency Shell"; how do I get it to boot?

Background I had a new system that I'd spent a lot of time configuring the software on to perform all manner of services and then discovered the drive was potentially flaky. So I decided to replace ...
Richard T's user avatar
  • 1,226
2 votes
1 answer
1k views

Why do I have a dracut initramfs in /var/tmp?

I never used dracut so far. I understood dracut filesystems (Wiki) as temporary systems that help mounting system specific kernel modules during the boot process. But after successful boot of my SLES ...
TheCooocy's user avatar
  • 141
1 vote
1 answer
4k views

CentOS: Install dm-raid module into initramfs to enable lvm raid boot?

I have CentOS 7, and I want lvm mirrors on my root logical volume. I had some panic after I used "lvconvert -m3 cl_excalibur/root" to create two mirrors, and it would not boot. The logical volume ...
Charlweed's user avatar
  • 249
1 vote
0 answers
219 views

Customized Red-Hat 6.7 to 7.4 upgrade

I have a customized RHEL6.7 server, it has several LVM2 partitions, the root volume is LVM2 based and is located on: stats/rootvol im editing the current GRUB (0.97 which part of RHEL67) to look like ...
joe's user avatar
  • 11
5 votes
2 answers
18k views

CentOS7 Dracut lvm command not found

I updated CentOS7 kernel because of Meltdown issue from 3.10.0-693.11.1 to 3.10.0-693.11.6, but after that update, I cannot boot as centos drop to the dracut with error warning /dev/mapper/centos-...
user979291's user avatar
1 vote
0 answers
657 views

Centos 7 ISCSI diskless boot with ibft

I have diskless server system, based on Centos 7. It receives targets specified in NIC bios and boots. The problem is - the system has very low iSCSI failure timeout, it fails in 5 seconds. Here is ...
Mizeraj's user avatar
  • 11
4 votes
6 answers
31k views

centos7: boot error dracut-initqueue after converting virtual disk

I installed centos7 on Ubuntu 16.04 KVM with qcow2 disk format. To deploy my centos maschine I need it in vhdx disk format to support Microsoft's Hyper-V. I used qemu-image to convert it from qcow2 ...
Volker Raschek's user avatar
2 votes
2 answers
7k views

PXE boot CentOS 7.2 diskless fails with "Failed to start Switch Root"

I am setting up a CentOS 7.2 server so clients can boot a diskless CentOS 7.2 image. I have done this with CentOS 6.6 and it works fine over multiple servers and clients over many years. Using the ...
John Hupcey's user avatar
2 votes
1 answer
130 views

Fresh CentOS 7.2 VM hangs before asking for drive password after initial yum update and subsequent crash

Sequence of events: Start install CentOs 7.2 using Everything ISO in Vmware vSphere 5.5 Choose Server with Gui, manual partitioning, encrypted sdd contains /home, /data Initial boot is great, fast, ...
tacos_tacos_tacos's user avatar
0 votes
1 answer
635 views

PXE Boot Does Not Pass Kernel Boot Parameters to /proc/cmdline Centos 7.2

I have a PXE boot server (everything is inside vmware) with a label that is configured as follows: label 2g kernel centosX64_7.2 append text nofb load_ramdisk=1 initrd=centosX64_72....
user3081519's user avatar
2 votes
1 answer
1k views

CentOS: After Kernel Update system does not boot (/dev/md2 does not exist)

after doing a kernel-update (only via yum update) my centOS 7 (64bit) does no longer boot. I now booted into rescue-mode and tried to mount /dev/md2 - this worked fine: Any ideas what I could do ...
MyFault's user avatar
  • 913
0 votes
2 answers
1k views

Unable to create CentOS 7.2 Kickstart DVD

I'm quite new to the kickstart concept and I've been reading and testing this for the past few days and I'm having an issue I can't seem to find anywhere on the web right now... At first I wanted to ...
Marc Girard's user avatar
2 votes
1 answer
831 views

dracut-pre-trigger rd.md=0 removing md raid activation boot fails

The system is Fedora 22, recently upgraded from Fedora 21. The remaining kernel from Fedora 21 boots. The two kernels installed after the upgrade fail to boot. The system is an Intel S-5000 PAL with 5 ...
dan sawyer's user avatar
0 votes
2 answers
2k views

Dracut-Kernel update required but won't when running Yum on Centos 6.6

I'm a fair newbie when it comes to Linux, but I'm having problems updating a small Centos 6.6 box that's been working fine and updating previously. When running yum update I get the error below. I've ...
Dae 's user avatar
  • 11
0 votes
1 answer
2k views

CentOS 7 (Dracut) - Network boot with gateway in different subnet

I'm trying to auto-setup VM guests with CentOS 7 using network boot and kickstart with external network connectivity based on linux bridge. And I'd like to have solution lightweight, simple and ...
b3niup's user avatar
  • 101
0 votes
1 answer
210 views

Close putty connection from CentOS 6 shell script

as title says I have a centOS 6 machine which uses an dracut, initramfs preboot ssh. I want to create a shell script that at the end of it's execution it closes the console and ssh connection. How can ...
codiac's user avatar
  • 689
2 votes
2 answers
2k views

How can I secure the dracut shell?

When there are errors during the initrd part of a system boot, dracut will drop to a shell (so you can fix things). Is there a way to require a password before going into the shell, in the manner ...
asciiphil's user avatar
  • 3,096