The Ubuntu cannot be booted due to Hal. dll corruption.

Source: Internet
Author: User

After Ubuntu is installed, use diskgen to overwrite the Hard Drive boot area, install grub in windows, and compile menu. lst to guide ubuntu.

After it is started today, it is found that Ubuntu cannot be entered and the prompt C: \ windows \ system32 \ Hal. dll is damaged.

So I tried to enter Windows XP and found that I could access Windows XP. Check whether c: \ windows \ system32 \ Hal. dll exists. overwrite the file from the ghost file.

After the restart, the system still cannot enter the mongotau system. The system still prompts that c: \ windows \ system32 \ Hal. dll is damaged.

It does not appear that c: \ windows \ system32 \ Hal. dll is damaged.

Some checks show that the boot. ini file contains

C: \ grldr = "ubuntu"

C: \ ghldr = "one-click Restore"

Grldr and ghldr are two files that guide grub through the XP system boot function. The grldr file is lost. After the grldr file is added, UBUNTU can be accessed normally.

Solve this problem

Hal. DLL is damaged or lost. In fact, this file does not necessarily exist. It can be said that copying a file back to system32 cannot be solved. the cause of this error is boot. an error occurs in the INI file, causing the machine to be unable to boot from the specified path. In this way, the system searches for other paths without Hal on other paths. DLL file, this error will be prompted. the general solution is to log on to the fault recovery console and run the fixboot command. INI, and then use bootcfg/Add to reconstruct the boot. ini.

This is because boot in the C root directory. the INI file is invalid. As a result, it is started from c: \ windows by default. However, because your Windows XP is not installed on drive C, the system prompts that Hal cannot be found. DLL file. Failed to start. The solution is to re-edit the boot. ini file.

1) Use the Win9x boot disk to start and use the edit. EXE command to edit the file. After editing. EXE is started, enter the content of the boot. ini file in the correct format and save it as the boot. ini file.

2) use the copy con command to create a boot. ini file. Input copy con c: \ Boot. ini in DOS and press Enter. Enter the Input key in the format of the boot. ini file and press Ctrl + z after entering all the content. The prompt "^ Z" is displayed on the screen. When you press enter again, the system will prompt 1 file (s) Copied. This indicates that the creation is successful.

3) use the bootcfg command in the fault recovery console.

4) after creating a file on another computer, copy the file to the C-drive root directory of the damaged computer and overwrite the source file.

Another way is to copy a Hal. dll file from another disk, insert it into your computer, and then use a system installation disk to put it into the optical drive. In the first choice, select repair to go to the doc. Then try it all the time from A: B. If you see a USB flash drive, use it.

Copy Hal. dll c: \ windows \ system32 \ Hal. dll. The principle is that when the system is installed, the USB flash disk is also detected and can be used. Floppy disk. But you should not have a soft drive.

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.