LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-28-2002, 07:30 AM   #16
mgroyal
LQ Newbie
 
Registered: Mar 2002
Posts: 19

Original Poster
Rep: Reputation: 0

I'll have a look this evening... *thx mara
 
Old 03-28-2002, 01:29 PM   #17
mgroyal
LQ Newbie
 
Registered: Mar 2002
Posts: 19

Original Poster
Rep: Reputation: 0
Mara, I know now what's my problem but I don't understand how to fix it.... Can you help me on that? The first two articles describe the problem.. The 3rd is my boot.ini... Could you tell what I need to change in the boot.ini?

thx



Problem hal.dll error:

For purposes of using the Multi-OS Feature, the NT/W2K system files are:
NTLDR
NTDETECT.COM
BOOT.INI
For SCSI drives, NTBOOTDD.SYS.
In order to install the OS to a drive letter that is a volume in an extended partition, you will need to use the Multi-OS Feature of BootIt NG.
If the BOOT.INI file does not point to the correct boot entry for Windows NT, you will get an error stating that ntoskrnl.exe is missing (for XP the file will be hal.dll). Simply correct the partition(x) entry in the BOOT.INI file or reorder the partitions in the MBR Details section of the boot item configuration.

Partitions are counted (starting at 1) in the MBR partition table as follows: All primary partitions on the drive excluding type 5 partitions (and 15 for Win2k/XP) then the volumes inside the extended partition.
Whenever booting directly from a HD other than HD0, the swap option must be used and the BOOT.INI rdrive(x) entry should be rdrive(0).

-----------------------------------------------------------------------------

FIXED! Hallelujah! hal.dll can eat my...well, anyways
First off, here's my setup:
I have two drives installed in my computer: the 20 GB one that came with it and a 40 GB one I added recently. The 20 GB is divided into two partitions; the first one has Windows 98se (which my computer came with), the second has Windows 2000 Professional. I wanted to install Windows XP Professional on my 40 GB drive, so I used PartionMagic to create a partition for it at the beginning of the drive. After installing it, the hal.dll hell began.

What ended up seeming to do the trick was editing my boot.ini file. Here's how it reads now:
[boot loader]
timeout=10
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows 2000 Professional" /fastdetect
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows 98" /fastdetect
C:\=MS-DOS

Through guess and check, I had to set my rdisk values to the IDE position of the disks (starting at 0) and the partition numbers to the order of the partitions (starting at 1). I haven't restarted that much, but I'm hoping my solution will hold. Best of luck to the rest of you.

----------------------------------------------------------------------------

<Here my boot.ini>

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional"
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional"
c:\LiloBoot.bin="RedHat Linux 7.2 (Kernel 2.4.7)"
c:\LiloBoot2.bin="RedHat Linux 7.2 2nd (Kernel 2.4.7)"
 
Old 03-28-2002, 03:49 PM   #18
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
If you see the choice, Windows part of the setup is done. Well, not exactly.
Linux part:
lilo
dd with parameters - if=/dev/hdx exactly the same as in boot=/dev/hdx line in lilo.conf
The rest you perfectly know: get the file, copy it to Windows.
Windows part:
add it to boot.ini
There is a document you may find useful: NT-bootloader-HOWTO (www.linuxdoc.org).
 
Old 04-03-2002, 02:52 AM   #19
mgroyal
LQ Newbie
 
Registered: Mar 2002
Posts: 19

Original Poster
Rep: Reputation: 0
hi mara,

my problem was the hall.dll error on booting up linux... This was because I copied the LiloBoot.bin to d-drive... This file must be on the first partition (Windows always c-drive) otherwise you'll get the annoying hall.dll error...

Now, it works properly YES!

Thank you for your great suppot!
Cheer mgroyal
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
redhat 9 & win xp networking ezeuba Red Hat 2 05-13-2004 04:54 PM
Lilo & win disk doggod Mandriva 2 02-03-2004 10:52 AM
Lilo: Dual boot Debian & Win 2000 mudelf Linux - General 3 11-12-2003 01:55 AM
LILO - dual booting win 95 / redhat 6.2 DiamondViper Linux - General 4 02-13-2002 08:45 PM
Win me & RedHat uttamsaxena Linux - Software 1 08-26-2001 01:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration