dracut-innitque timeout
- User
dracut-innitque timeout
- Assistant
- User
stuck at running for dev-mapp
- Assistant
dracut-innitque timeout
stuck at running for dev-mapp
It seems like you're discussing a timeout issue related to Dracut and the initramfs framework. Dracut is a modern and flexible initramfs infrastructure used by several Linux distributions during the boot process. The "initque" you mentioned might be a typo or shorthand for something else, but I'll assume you're referencing a timeout issue during the initramfs phase.
When Dracut encounters a timeout, it generally suggests that something has taken too long to complete, such as waiting for a device to become available. Here are some steps you can take to troubleshoot and resolve this issue:
Examine Boot Logs:
journalctl -b
Increase Timeout:
/etc/dracut.conf or a file in /etc/dracut.conf.d/):
# Add or modify the following lines
kernel_cmdline="rd.timeout=<new_timeout_value>"
<new_timeout_value> with an appropriate timeout duration in seconds.Rebuild Initramfs:
dracut -f
Kernel Command Line Parameters:
rd.timeout=<new_timeout_value>
/etc/default/grub) and add or modify the GRUB_CMDLINE_LINUX line:
GRUB_CMDLINE_LINUX="rd.timeout=<new_timeout_value>"
grub2-mkconfig -o /boot/grub2/grub.cfg # For systems using GRUB2
update-grub # For Debian-based systems
Check for Hardware Issues:
Update Dracut:
Debugging Dracut:
rd.debug
/run/initramfs/rdsosreport.txt, which you can review for insights.By following these steps, you should be able to identify and mitigate the timeout issues you are encountering with Dracut and the initramfs process.
It sounds like your system is getting stuck while attempting to initialize device-mapper (LVM) volumes during the boot process. This might indicate problems with your LVM configuration, underlying storage, or even the Dracut initramfs itself. Below are some steps you can take to troubleshoot and resolve this issue:
If your system is not bootable, you can try booting into rescue mode:
Esc, Shift, or e) to bring up the GRUB menu.e to edit it.linux or linuxefi and append rd.break to the end.Ctrl+X to boot with these options.Once you are in the Dracut shell (usually /bin/sh):
lvm pvs
lvm vgs
lvm lvs
lvm vgchange -ay
Examine the logs for any error messages:
journalctl -b
dmesg
Check Dracut logs: Sometimes Dracut logs can provide more details:
cat /run/initramfs/rdsosreport.txt
/etc/fstab ConfigurationVerify that there are no errors in your /etc/fstab file, as incorrect entries can cause the system to hang during boot:
cat /etc/fstab
Ensure that there are no pending hardware issues. Check the status of the disks and associated hardware:
lsblk
smartctl -a /dev/sda # Replace sda with the relevant device
Boot from a live ISO or use an existing working kernel/initramfs if available:
Chroot into your system:
mount /dev/your_root_partition /mnt
mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
chroot /mnt
Rebuild initramfs:
dracut -f
rd.shell rd.debug to get to a shell prompt when the failure occurs. This will give you a more interactive environment for troubleshooting.nomodeset parameter if you suspect graphic driver issues.Ensure your system packages, including Dracut and LVM utilities, are fully up to date:
yum update dracut device-mapper # For RHEL/CentOS/Fedora
apt-get update && apt-get upgrade dracut lvm2 # For Debian/Ubuntu
Stuck errors at the dev-mapper stage typically involve problems with device-mapper, LVM configurations, or hardware issues. Use the aforementioned steps to gather more diagnostic information and attempt to resolve the issue. If these steps still don't resolve your problem, providing detailed error messages from the logs in a support forum or to a system administrator can help get more specialized assistance.
Not yet included in a published release.