How to reinstall grub and GRUB-related configuration
Source: Internet
Author: User
Reload the grub method and GRUB-general Linux technology-Linux technology and application information. For details, refer to the following section. Author: yuki, source: blog, responsible editor: Luo liyan
When we re-install Windows, the MBR will be overwritten, so that the original GRUB or LILO will disappear, or for some reason, the original GRUB will disappear, you only need to reinstall GRUB at this time.
When we re-install Windows, the MBR will be overwritten, so that the original GRUB or LILO will disappear, or for some reason, the original GRUB will disappear, you only need to reinstall GRUB at this time.
There are many methods to reinstall GRUB. This method is not feasible. Try it again/
1. Start with the installation CD, select upgrade and installation, and then select only GRUB installation.
2. Start with the installation disc and enter linux rescue in BOOT.
That is, to enter the rescue mode, enter chroot/mnt/sysimage when the command prompt is displayed #
Then enter grub-install/dev/hda
Done...
3. How can I fix the grub/lilo boot menu without a soft drive?
A. Copy the dosutils directory in the first linux installation disk to the windows disk. If it is iso, you can use winrar3 for extraction.
B. Enter pure dos, enter the dosutils directory, and execute loadlin autoboot/vmlinuz root =/dev/hdxx () hdxx as your linux root partition. In this way, you can enter linux.
C. Run grub-install/dev/hdx (x = a, B, c, d) or lilo to rewrite the boot.
Also can refer to: http://www.linuxfans.org/nuke/modul...iewtopic&t=5101
4. If you use grub to guide linux and windows, the grub in MBR will be damaged after windows is re-installed due to a problem, and grub needs to be restored.
A. Place the first installation disc of linux to the optical drive, restart the machine, and use the optical drive to guide the system in BOIS.
B. After the installation interface is installed, press the [F4] key, that is, the linux rescue mode.
C. A series of keyboards and a few simple preparations, and then [continue... This process is simple.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service