Linux網絡配置之(十四)grub或內核修復

grub或內核修復

grub修復

grub > ls

grub > ls (hd0,msdos1)/grub2

grub> linux16 /vmlinuz-xxxxx root=/dev/mapper/centos-root

 

grub> initrd16 /initramfs-.xxxxx.img

grub> boot

[root@google gohb]# sudo grub2-mkconfig -o /boot/grub2/grub.cfg

重啓,正常登陸

內核修復

Esc

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章