Fedora安裝完再裝windows的開機修復!
重灌FC跟Windows每次都很有戲…
當你安裝的順序有異的時候就有機會遇到這東西。
這篇文章主要是先裝FC 再裝windows的話,FC就回不來了。
就讓我們來救難用的FC吧(誤
Topic : Reinstalling the Boot Loader
In many cases, the GRUB boot loader can mistakenly be deleted, corrupted, or replaced by other operating systems.
The following steps detail the process on how GRUB is reinstalled on the master boot record:
Boot the system from an installation boot medium.
基本上就是放進安裝CD然後選擇救援模式 rescue mode
Type linux rescue at the installation boot prompt to enter the rescue environment.
一直都按下OK他就會自動把搜尋到的linux patition mount 到sysimage下面。
Type chroot /mnt/sysimage to mount the root partition.
輸入這個指令!
Type /sbin/grub-install bootpart to reinstall the GRUB boot loader, where bootpart is the boot partition (typically, /dev/sda).
我是用FC17 所以我發現他沒有grub-install 只有 grub2-install 所以下面的指令grub的都應該改成grub2
Review the /boot/grub/grub.conf file, as additional entries may be needed for GRUB to control additional operating systems.
Reboot the system.
我不知道在那模式怎麼重開XD 就用alt ctrl delete大法了
可以用 好險!!!
不過大概好像都是用把grub install 到開機的硬碟上面
只有一顆硬碟的話基本上就是會在 /dev/sda