2022 Developer Survey is open! Take survey.

Questions tagged [dracut]

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

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

Cannot boot from initramfs (unable to switch root, sysroot directory is empty)

Okay, so I have a problem with Fedora 34. More specifically, I have a problem with a custom built image that is part of the services that we deliver. The Problem The problem has to do with initramfs. ...
user avatar
1 vote
1 answer
213 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 ...
user avatar
  • 1,340
0 votes
0 answers
282 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 ...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
  • 1,128
1 vote
1 answer
510 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 ...
user avatar
  • 111
0 votes
1 answer
3k 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 ...
user avatar
  • 209
1 vote
0 answers
217 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 ...
user avatar
  • 11
4 votes
2 answers
15k 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-...
user avatar
1 vote
0 answers
578 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 ...
user avatar
  • 11
4 votes
6 answers
23k 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 ...
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 ...
user avatar
2 votes
1 answer
93 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, ...
user avatar
0 votes
1 answer
566 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....
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 ...
user avatar
  • 893
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 ...
user avatar
1 vote
1 answer
641 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 ...
user avatar
0 votes
2 answers
1k 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 ...
user avatar
  • 11
0 votes
1 answer
1k 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 ...
user avatar
  • 101
0 votes
1 answer
207 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 ...
user avatar
  • 639
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 ...
user avatar
  • 2,996