您的位置:首页 > Web前端

Find the boot option for Fedora after installing WINDOWS 7

2010-09-05 03:05 295 查看
Windows XP is really a nice and handy Operating System in the past. The real consideration here is, for me, I need to install a Windows-based english version OS, which unfortunately I only find the Windows 7 free copy from my school's repository. I really know that installing the Windows 7 can destory the MBR and cause the disappearance of fedora boot option when the machine is on, but I donnot care because I know it can be rescued back.

So, the whole thing turns to be pretty easy, ha. Installing the Windows 7, only took 20 mins. Reboot the system, bingo, you cannot find the fedora boot option. Hi, man, take it easy.

1 Find a flash driver, using any tools, like unetbootin-windows (surely it is free) to burn any fedora live CD iso file into the flash driver. Then, modify the BIOS setting to let the HDD USB as your first booting device. (Or you can just using any Live CD to getting into your original ext4 format fedora file system. )

2 After your login, try the install icon on the desktop. Press next until you see the mount position of your "/" and "/boot/", which on my machine are /sda5 and /sda7, respectively. You can find your own settings. In this step, we just get know where are the / and /boot/ mounted.

3 Close the install wizard stated above, and open a terminal. Just type:

$su

#mount /dev/sda5 /mnt

#mount /dev/sda7 /mnt/boot

#grub-install -root-directory /mnt /dev/sda

4 Reboot your system. Make sure that you un-pluggin the flash driver and take out the live CD. Hey, see the familiar GRUB interface? Yes, everything comes back.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐