Created
February 25, 2021 20:25
-
-
Save janisblaus/fd13210dc2d61bf53e432010ce37c329 to your computer and use it in GitHub Desktop.
Fix Grub ♥ on OVH nvme disks, software RAID | Centos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mount /dev/md2 /mnt | |
mount /dev/nvme0n1p1 /mnt/boot/efi | |
mount --bind /dev /mnt/dev | |
mount --bind /proc /mnt/proc | |
mount --bind /sys /mnt/sys | |
chroot /mnt | |
grub2-mkconfig -o /boot/grub2/grub.cfg | |
grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg | |
grub2-install /dev/nvme1n1 | |
grub2-install /dev/nvme0n1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment