redhat efi grub修復linux
現象:
開機出現grub>界面,沒法進入系統。centos
解決:
grub> ls (會列出幾個盤)
grub> ls (hd0,1) (逐個確認哪一個是系統盤)app
grub> ls (hd0,1)/ (如hd0,1是系統盤,查看/下面內容,一會會用到)
grub> insmod xfs
grub> set root=(hd0,1)
grub> linux16 /vmlinuz-xxxx root=/dev/mapper/rhel-root (centos爲centos-root)
grub> initrd16 /initramfs-xxxx.img
grub> bootide
正常會進入系統,此時只是臨時解決,還需繼續操做it
再重啓就會正常了class