|
|
Repair boot in dracut Mode
- Scan then reapply LVM configuration
dracut:/#lvm vgscan
dracut:/#lvm vgchange -ay
- Mount essential filesystems
dracut:/#mount /dev/mapper/rootvg-root /sysroot
dracut:/#mount --bind /dev /sysroot/dev
dracut:/#mount --bind /proc /sysroot/proc
dracut:/#mount --bind /sys /sysroot/sys
- Switch to bash
dracut:/#chroot /sysroot
bash-4.4#mount -av
bash-4.4#vgs
bash-4.4#lvs
bash-4.4# cat /etc/default/grub
- Now apply necessary changes in /etc/default/grub then regenerate grub file
bash-4.4#grub2-mkconfig -o /boot/grub2/grub.cfg
bash-4.4#exit
dracut:/#reboot
|
|