
05-29-2006, 11:09 AM
|
|
Junior Member
|
|
Join Date: May 2006
Location: Noida
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Dual Boot with Windows - Hal.dll Missing or Corrupt
I have installed pc-bsd alongside Windows Xp via a standard graphical install, and now when I select DOS on my boot loader, I get the error:
HAL.dll Corrupt or MIssing
Now, I know that there is a way to repair this using the Windows Recovery console but this will remove all the data in my MBR and I wont be able to boot to pc-bsd.
Please help.
Abhinav
|
|

05-29-2006, 11:13 AM
|
 |
Super Moderator
|
|
Join Date: Jul 2005
Location: Estonia
Posts: 3,610
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Dual Boot with Windows - Hal.dll Missing or Corrupt
|
Originally Posted by iBrood
|
Now, I know that there is a way to repair this using the Windows Recovery console but this will remove all the data in my MBR and I wont be able to boot to pc-bsd.
Please help.
|
From Installcd rescue mode fire:
__________________
"All parts should go together without forcing. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer." -- IBM maintenance manual, 1975
|
|

05-29-2006, 11:38 AM
|
|
Junior Member
|
|
Join Date: May 2006
Location: Noida
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
Sorry, but I'm completely new to BSD/Linux. Could you please tell me where the rescue mode is. I was unable to locate it in the CD's main menu or it's installation menu.
I tried using the command you provided in the emergency shell in the utilities in the installation men but it had no effect.
|
|

05-29-2006, 11:46 AM
|
 |
Super Moderator
|
|
Join Date: Jul 2005
Location: Estonia
Posts: 3,610
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
Originally Posted by iBrood
|
Sorry, but I'm completely new to BSD/Linux. Could you please tell me where the rescue mode is. I was unable to locate it in the CD's main menu or it's installation menu.
I tried using the command you provided in the emergency shell in the utilities in the installation men but it had no effect.
|
Emergency is the "rescue" mode. Thiss command would install BSD bootloader to MBR.
__________________
"All parts should go together without forcing. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer." -- IBM maintenance manual, 1975
|
|

05-29-2006, 11:52 AM
|
|
Junior Member
|
|
Join Date: May 2006
Location: Noida
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
As I said, I did try that command in the emergency shell but it had no effect.
|
|

05-29-2006, 12:27 PM
|
 |
Super Moderator
|
|
Join Date: Jul 2005
Location: Estonia
Posts: 3,610
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
Originally Posted by iBrood
|
|
As I said, I did try that command in the emergency shell but it had no effect.
|
What is your drive configuration? Is it primary or secondary, first drive or second?
More information about FreeBSD bootloader.
|
Quote:
|
boot0cfg [-Bv] [-b boot0] [-d drive] [-f file] [-m mask] [-o options]
[-s slice] [-t ticks] disk
On PCs, a boot manager typically occupies sector 0 of a disk, which is known as the Master Boot Record (MBR). The MBR contains both code (to which control is passed by the PC BIOS) and data (an embedded table of defined slices).
The options are:
-B Install the `boot0' boot manager. This option causes MBR code to be replaced, without affecting the embedded slice table.
|
Try this:
|
Code:
|
# boot0cfg -B -d ad0 |
__________________
"All parts should go together without forcing. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer." -- IBM maintenance manual, 1975
|
|

05-30-2006, 06:48 AM
|
|
Junior Member
|
|
Join Date: May 2006
Location: Noida
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
What you said worked perfectly, however my Windows installation was corrupted beyond repair, so I had to format the system and reinstall Windows because other users require it.
|
|

05-30-2006, 08:14 AM
|
 |
Super Moderator
|
|
Join Date: Jul 2005
Location: Estonia
Posts: 3,610
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
Originally Posted by iBrood
|
|
What you said worked perfectly, however my Windows installation was corrupted beyond repair, so I had to format the system and reinstall Windows because other users require it.
|
I don't think pcbsd destroyed your windows installation, PC-BSD is mounting NTFS filesystems read-only by default.
__________________
"All parts should go together without forcing. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer." -- IBM maintenance manual, 1975
|
|

05-30-2006, 09:26 AM
|
|
Junior Member
|
|
Join Date: May 2006
Location: Noida
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
Then I dont know what did because I didnt tamper with the Windows partition. I chose unpartitioned space for the PC-BSD installation.
|
|

05-30-2006, 06:44 PM
|
|
Senior Member
|
|
Join Date: May 2006
Location: Greece
Posts: 1,141
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Dual Boot with Windows - Hal.dll Missing or Corrupt
|
Originally Posted by iBrood
|
I have installed pc-bsd alongside Windows Xp via a standard graphical install, and now when I select DOS on my boot loader, I get the error:
HAL.dll Corrupt or MIssing
Abhinav
|
The only time I have seen this message is when I install windows on a PC, install all drivers, then take the disk out and try to boot it on another PC. It's mainly a disk controller misconfiguration. Windows installed remember eg an SIS controller and suddenly it sees a VIA controller.
CRASH!
You didn't do anything like that by any chance did you?
Hal.dll stands for Hardware Abstraction Layer (or more ways to crash your windows installation apart from using keyboard and mouse).
It could be that you have a corrupt hard drive. The PCBSD boot loader starts windows just fine, no other clue as what caused the problem.
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 09:38 AM.
|
|