This page looks best with JavaScript enabled

The system does not find the root partition, installed on lvm

 ·  ☕ 2 min read  ·  🐧 sysadmin

Article shows how to solve the issue with missing swap and plymouthd sigrtmin error, when swap is not created as LVM, but as a standard swap.

Boot-Message:

1
2
3
dracut-initqueue[279] Warning: Could not boot
dracut-initqueue[279] Warning; /dev/mapper/rhel_…-root does not exit
sigrtmin+20 from PID 297 plymouthd

Last error is because of mounting swap failed.

The solution is really simple. Check is standard swap is on with command:

1
swapon -s

Check where swap is mounted in /etc/fstab

1
cat /etc/fstab | grep -i swap

If it will show something similar to this:

1
/dev/sdc    swap swap defaults 0 0

Turn off swap:

1
swapoff /dev/sdc

Then extend the logical group for example rhel, create logical volume swap in rhel volume group and make a swap on this logical volume:

1
2
3
vgextend rhel /dev/sdc
lvcreate rhel -n swap -L 1024M
mkswap /dev/rhel/swap

Add the following entry in /etc/fstab instead /dev/sdc

1
/dev/rhel/swap swap swap defaults 0 0

Enable swap

1
swapon -v /dev/rhel/swap

Example: Change this:

1
GRUB_CMDLINE_LINUX="rd.lvm.lv=rootVG/root rd.lvm.lv=oldnameVG/swapLV rhgb quiet"

To this:

1
GRUB_CMDLINE_LINUX="rd.lvm.lv=rootVG/root rd.lvm.lv=rhel/swap rhgb quiet"

When that is completed, you ’ll want to regenerate the grub config:

1
grub2-mkconfig -o /boot/grub2/grub.cfg

You can verify that it worked by looking at /boot/grub2/grub.cfg and verifying that swap is now pointed at the correct VG/LV

1
cat /boot/grub2/grub.cfg

It should contain this:

1
GRUB_CMDLINE_LINUX="rd.lvm.lv=rootVG/root rd.lvm.lv=rhel/swap rhgb quiet"
Share on

sysadmin
WRITTEN BY
sysadmin
QA & Linux Specialist