歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 重裝Linux RedHat9.0後修復GRUB

重裝Linux RedHat9.0後修復GRUB

日期:2017/2/28 16:31:54   编辑:Linux教程

如果機子先裝Windows再裝Linux,剛在安裝Linux過程中會提示安裝grub.

若是相反,則Windows系統會重寫MBR,此時會出現開機識別不出Linux系統.此時應該怎樣解決?

以下以機子上裝有Linux RedHat9.0和Windows操作系統為列講解如何修復GRUB:

1.找到RedHat或是Fedora第一張安裝盤.

2.從光盤啟動,出現第一個安裝界面時,按Linux rescue模式進入

3.輸入Linux rescue

4.出現#時,輸入chroot /mnt/sysimage 按Enter

5.再輸入grub-install /dev/hda

6.重啟ok

Copyright © Linux教程網 All Rights Reserved