How to solve grub errors at startup-Lessons from pain points

Source: Internet
Author: User
How to solve the grub error during startup-pain lessons-general Linux technology-Linux technology and application information. The following is a detailed description. If you have installed more than two systems (I am talking about Ubuntu), Grub will be used for guidance. I have tried this situation, when xp and ubuntu are started, grub loading please wait appears during startup ...... Error 17 or error 15

I have never seen such a situation before. With no experience, I made some irreparable error attempts and finally had to reinstall two systems, all the documents I am working on (on the desktop) are flying. I am so depressed that I hope future generations will not take this path any more.

The lessons I learned this time are: 1. the XP system must be mounted on the drive C; 2. Don't worry, do a good job of searching for information!

A little guide has hurt me for one night.

The solution is as follows:

1. boot the system to a pure DOS using an optical drive or USB flash drive. (do it as a USB drive)
2. Run dir/p/a in C: \ to check whether the boot. ini file exists (all in the operating system disk)
3. Find the boot. ini file and run the edit boot. ini command to edit the file.
4. this usually occurs when boot. the INI file contains c: \ grub or \ boot \ grub. refer to the boot of another computer with the same operating system as your computer. INI file modification. Note that the characters are correct.
If it is an XP Professional Edition system, you can modify it as follows:
[Boot loader]
Timeout = 3
Default = multi (0) disk (0) rdisk (0) partition (1) \ WINDOWS
[Operating systems]
Multi (0) disk (0) rdisk (0) partition (1) \ WINDOWS = "Microsoft Windows XP Professional"/noexecute = optin/fastdetect
No. The last two lines in the previous article are one line in boot. ini. Note that the characters and spaces are correct.
5. Save the disk and restart it to return to XP.
Note: 1. The CD or USB flash drive must be boot to a pure DOS
2. the boot. ini file may contain system. Hide. Read-Only attributes. You can use the attrib command to edit the file.
3. copy the boot. ini file for reference to the USB flash drive and overwrite the boot. ini file on your computer.
Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.