Questions tagged [dracut]
dracut is a Linux initramfs environment, initially written for Fedora.
24
questions
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 ...
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)...
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 ...
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 ...
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,...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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-...
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 ...
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 ...
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 ...
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, ...
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....
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...