Reply
 
Thread Tools Display Modes
  #1  
Old 05-29-2006, 11:09 AM
iBrood iBrood is offline
Junior Member
 
Join Date: May 2006
Location: Noida
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to iBrood Send a message via MSN to iBrood Send a message via Yahoo to iBrood
Default 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
Reply With Quote
  #2  
Old 05-29-2006, 11:13 AM
antik's Avatar
antik antik is offline
Super Moderator
 
Join Date: Jul 2005
Location: Estonia
Posts: 3,610
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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:
Code:
# boot0cfg -B 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
Reply With Quote
  #3  
Old 05-29-2006, 11:38 AM
iBrood iBrood is offline
Junior Member
 
Join Date: May 2006
Location: Noida
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to iBrood Send a message via MSN to iBrood Send a message via Yahoo to iBrood
Default
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.
Reply With Quote
  #4  
Old 05-29-2006, 11:46 AM
antik's Avatar
antik antik is offline
Super Moderator
 
Join Date: Jul 2005
Location: Estonia
Posts: 3,610
Thanks: 0
Thanked 0 Times in 0 Posts
Default
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
Reply With Quote
  #5  
Old 05-29-2006, 11:52 AM
iBrood iBrood is offline
Junior Member
 
Join Date: May 2006
Location: Noida
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to iBrood Send a message via MSN to iBrood Send a message via Yahoo to iBrood
Default
As I said, I did try that command in the emergency shell but it had no effect.
Reply With Quote
  #6  
Old 05-29-2006, 12:27 PM
antik's Avatar
antik antik is offline
Super Moderator
 
Join Date: Jul 2005
Location: Estonia
Posts: 3,610
Thanks: 0
Thanked 0 Times in 0 Posts
Default
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
Reply With Quote
  #7  
Old 05-30-2006, 06:48 AM
iBrood iBrood is offline
Junior Member
 
Join Date: May 2006
Location: Noida
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to iBrood Send a message via MSN to iBrood Send a message via Yahoo to iBrood
Default
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.
Reply With Quote
  #8  
Old 05-30-2006, 08:14 AM
antik's Avatar
antik antik is offline
Super Moderator
 
Join Date: Jul 2005
Location: Estonia
Posts: 3,610
Thanks: 0
Thanked 0 Times in 0 Posts
Default
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
Reply With Quote
  #9  
Old 05-30-2006, 09:26 AM
iBrood iBrood is offline
Junior Member
 
Join Date: May 2006
Location: Noida
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to iBrood Send a message via MSN to iBrood Send a message via Yahoo to iBrood
Default
Then I dont know what did because I didnt tamper with the Windows partition. I chose unpartitioned space for the PC-BSD installation.
Reply With Quote
  #10  
Old 05-30-2006, 06:44 PM
Apatewna Apatewna is offline
Senior Member
 
Join Date: May 2006
Location: Greece
Posts: 1,141
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Apatewna Send a message via MSN to Apatewna Send a message via Yahoo to Apatewna
Default 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.
__________________
RTFM and STFW before anything bad happens

Please read and UNDERSTAND these pages before posting:
http://www.catb.org/~esr/faqs/smart-questions.html
http://en.wikipedia.org/wiki/Netiquette
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
dual boot windows 7 cydell Installing PC-BSD 5 02-26-2010 11:27 PM
Install 8.0 dual-boot Windows 7 spideyak Installing PC-BSD 1 01-18-2010 03:47 AM
dual boot with windows xp zshguru FreeBSD Help 5 04-07-2008 10:32 PM
Dual-boot with Windows XP Amigamerlin Tips and Tricks 23 03-26-2008 02:28 AM
Configure windows to dual boot pokesomi Installing PC-BSD 2 10-24-2005 06:11 AM


All times are GMT. The time now is 09:38 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.