A few days ago, due to some misoperations, Windows XP broke down and I didn't want to reinstall it immediately. After the startup, I found that my Fedora 7 was not found in the boot menu.
So I went online to findArticleLook, I tried to reinstall grub with the rescue CD of Fedora 7, but I failed to try it. The most common method is as follows:
# Grub
Grub> root (hd0, 5)
Grub> setup (hd0)
Grub> quit
#
An error was reported during setup, indicating that the installation could not be completed. The grub-install command could not be installed. Finally, I decided to try wingrub.
I got a wingrub in sourceforge.net and checked that the date was before 05 years .. the result is that there is no MBR option during installation on XP, and grub/menu cannot be entered after restart. interface under list ..
Finally installed with climbing version of grub (http://nufans.net/software/tools/grub_climbing_v7.exe), restart, see grub installed successfully !!
Next, use explore2fs to read/boot/GRUB/menu. lst under fedora.
Copy the content of Fedora started in menu. lst to the file corresponding to C:/boot/GRUB/menu. lst.
In menu. lst under my own fedora, the text that starts fedora is
Title fedora (2.6.22.1-27. fc7)
Root (hd0, 6)
Kernel/boot/vmlinuz-2.6.22.1-27.fc7 Ro root = label =/1 rhgb quiet
Initrd/boot/initrd-2.6.22.1-27.fc7.img
In the menu. LST file copied to wingrub, the number of the partition where fedora is located must be reduced by 1 and changed to the following one. The other values can be unchanged:
Title fedora (2.6.22.1-27. fc7)
Root (hd0, 5)
Kernel/boot/vmlinuz-2.6.22.1-27.fc7 Ro root = label =/1 rhgb quiet
Initrd/boot/initrd-2.6.22.1-27.fc7.img
If you have other systems that copy the same copy, you can subtract 1 from the Partition Number.
FreeBSD has not been restored. I have read the article saying that this is relatively simple. Wait for a rest and try again ..
This grub is too difficult to install. I still don't understand it, so I have to try it out first.
The link that helps me solve the problem is attached below:
Http://blog.csdn.net/zhangYan1981/archive/2006/12/13/1440396.aspx