Sunday, 9 January 2022

 Booting from GRUB


efi and lvm

grub2 with efi and lvm
grub> ls
grub> set root=(hd0,gpt2)
grub> linuxefi /vmlinuz-3.10.0 root=/dev/mapper/centos_argomnnod01-root
grub> initrdefi /initramfs-3.10.0
grub> boot
# grub-install /dev/sda2
### grub-mkconfig -o /boot/grub2/grub.cfg
# grup-mkconfig -o /boot/efi/EFI/centos/grub.cfg

No comments:

Post a Comment