After raid 1 disk replacement faced with this issue
# grub2-install /dev/sdbInstalling for i386-pc platform.grub2-install: error: disk `mduuid/e54081d398c6d57b4d67436f6d032162' not found.
Need to boot from a resque mode and mount these
root@rescue ~ # mount -o bind /dev /mnt/devroot@rescue ~ # mount -o bind /proc /mnt/procroot@rescue ~ # mount -o bind /sys /mnt/sysroot@rescue ~ # chroot /mnt/root@rescue ~ # source /etc/profile
After this you can install grub2
root@rescue ~ # grub2-install /dev/sdaInstalling for i386-pc platform.Installation finished. No error reported.root@rescue ~ # grub2-install /dev/sdbInstalling for i386-pc platform.Installation finished. No error reported.root@rescue ~ # exitroot@rescue ~ # umount /mnt/boot /mnt/dev /mnt/proc /mnt/sys /mnt/root@rescue ~ # reboot
No comments:
Post a Comment