Problem Dual-Boot Linux-Win XP

freegeeks

Diamond Member
May 7, 2001
5,460
1
81
A friend of mine is trying to setup a dual-boot config Mandrake-Xp
he first installs Xp and then Mandrake on separate partitions
he configures LILO -- (until here everything works fine)
when he boots the computer and selects Xp he get's the an error that the hal.dll file is missing. xp asks to copy the file and reboot the system. now when he looks in the system32 folder the file is there (it's not missing).
what is going wrong here. i have a dualboot mandrake-w2k and everything installed without any probs --

thanks for any help
 

ToBeMe

Diamond Member
Jun 21, 2000
5,711
0
0
Been working on that too!;) XP's boot-Loader has changed quite a bit and as far as I have seen will cause problems with a dual or triple boot with Mandrake and at least a few other distro's. I have heard a few people claim they have been successfull at loading 98SE/XP/Mandrake.......but have not gotten any information from them on exactly how they acheived this feat!;)
 

freegeeks

Diamond Member
May 7, 2001
5,460
1
81
ToBeMe -- thanks for the quick reply


would the following work

1 install linux
2 install xp
3 boot linux with bootdiskette Linux
4 configure LILO / GRUB
5 reboot and cross your fingers :)

my friend is really desperate -- he already desinstalled/installed xp/linux a gzillion time the last few days

the xp copy is fine -- when he installs just xp it works without any probs so the copy of xp is ok
 

jtshaw

Member
Nov 27, 2000
191
0
0
I hear a nasty rumor that part of the WinXP anti-competitve MS crap is they changed the way the boot loader works so it can't be loaded in the same way NTLoader in the past could, thus LILO might not have the functionality to do it right now...try chainloading it with grub.
 

freegeeks

Diamond Member
May 7, 2001
5,460
1
81
he already tried with grub -- no go -- same problem --
i have more and more the feeling that dualboot xp-mandrake on one hd and 2 partitions is a no-go
 

ToBeMe

Diamond Member
Jun 21, 2000
5,711
0
0


<< would the following work >>


  • 1 install linux
    2 install xp
    3 boot linux with bootdiskette Linux
    4 configure LILO / GRUB
    5 reboot and cross your fingers
It *should*, but I even had some problems with that on one attempt!:(



<< i have more and more the feeling that dualboot xp-mandrake on one hd and 2 partitions is a no-go >>


Well, it's also a &quot;no-go&quot; on two HD's!:(

Like I said earlier, there are a few whom have posted here that they got it to work with XP........but never divulged how.:( Many more have also said they haven't been able to get it to work in this manner with XP. It is possible to use the command prompt to change the entries in NTBootloader and Lilo and have success!;)



<< hear a nasty rumor that part of the WinXP anti-competitve MS crap is they changed the way the boot loader works so it can't be loaded in the same way NTLoader in the past could, thus LILO might not have the functionality to do it right >>


LOL!;) More &quot;rumors&quot;........:( Would it also be &quot;anticompetitive&quot; if Linux, or any other company changed something to benifit their software and others wouldn't work?????;) Happens a lot you know!;):Q My LS-120 drives won't work in Linux......simple fact........is that &quot;anticompetitive&quot;???????:Q:Q:Q LOL!:)
 

y2kc

Platinum Member
Sep 2, 2000
2,547
0
76
XP (NT Bootloader) and Mandrake (lilo,grub) get along just fine. Here's what I did (several times).
1st installed XP then installed mandrake from a bootable CD, configured Lilo (which recognized the XP partition as &quot;NT&quot;). I even made the NT (XP) partition as the default and have had no problems. I've re-installed XP twice, ran the Mandrake upgrade, re-configured Lilo and voila, I was back in business. Reinstalling XP after my Mandrake install did kill Lilo, but the upgrade option in the Mandrake install worked like a charm. Never once did I have to go to a command line (as i'm a beginner,that's a good thing). I'm running on a dual p3 733, 30G IDE HD.
 

Poof

Diamond Member
Jul 27, 2000
4,305
0
0
I am quad-booting 98SE/2K Pro/XP &amp; SuSE 7.2. In fact, I'm in my SuSE right now typing this message and came over here to find out more about RC2 since I have the screens up and am ready to download it. I was confused on the download page about one reference to having enough space to &quot;download and install XP&quot;. Which is contrary to what I remember about the RC1 install and contrary to the info further down on the page about burning an iso image. I was going to download this thing to my 2K advanced server where my burner was, but I don't surely want it to start doing some wacky installation there after it downloads. :p

Anyway - regarding multibooting XP with Linux.... This is what I did, and I'll be somewhat detailed and honest ;) (I haven't done that much with any of it since I just did this a couple weeks ago - and no comments about the NTFS vs FAT32 debate - I'll be converting at some point):

1.) Created a bunch of FAT32 partitions (this is a 30gig drive) so that each OS had a &quot;system&quot; one and a &quot;data&quot; one. So for the win ones, I have a 2gig + a 5gig for each of the 3. I saved the 8 gig remaining at the end of the drive for later, when I fdisked a bunch of partitions for the SuSE install.

2.) Installed 98SE first.

3.) Installed 2K Pro second and let it control the dual boot. Still left the partitions FAT32.

4.) Installed XP Pro RC1 next and had it control the triple-boot.

5.) Fdisked a couple of partitions using a 98SE disk to create what would become a &quot;/boot&quot;, &quot;/&quot;, &quot;/usr&quot;, &quot;/home&quot;, and swap

6.) Booted up with a SuSE boot disk and had it do an FTP install. At some point during the install, I could specify the file system for each partition, plus the mount points for each.

7.) Here's the critical part - I told SuSE to put Lilo on a boot disk. Now... when it asked how to configure the labels, I had it so that it would find my &quot;dos&quot; label on &quot;/dev/hda1&quot; (which is where my 98SE is and apparently where XP must have some pointer that utilizes a boot.ini to actually boot the XP).

I know this is confusing, but here is my lilo.conf:


# LILO configuration file
# Start LILO global Section
# If you want to prevent console users to boot with init=/bin/bash,
# restrict usage of boot params by setting a passwd and using the option
# restricted.
#password=bootpwd
#restricted
append=&quot;vga=0x0303&quot;
boot=/dev/fd0
#compact # faster, but won't work on all systems.
lba32
vga = normal # force sane state
message=/boot/message
menu-scheme=Wg:kw:Wg:Wg
read-only
prompt
timeout=100
# End LILO global Section
#
image = /boot/vmlinuz
root = /dev/hda11
label = linux

#
other = /dev/hda1
label = dos
table = /dev/hda


Now SuSE has done this tweeking of Lilo where I get a somewhat graphical-looking boot screen from the floppy boot, with a graphical menu to select either &quot;Linux&quot; or &quot;dos&quot;. If I pull out the floppy and boot, I basically get the XP boot.ini menu with the choice of &quot;Windows XP Professional&quot;, &quot;Windows 2000 Professional&quot;, and &quot;Windows&quot;. Basically, due to whatever the heck XP does with a &quot;GPT&quot; (- Partition Table - forgot offhand what the &quot;G&quot; was), I didn't want Lilo doing anything near the drive until I knew more about what it is that XP is doing.

This works perfectly as a quad-boot...IF you want to &quot;put up with&quot; the floppy. I know others have gone through and tried to modify the boot.ini and so forth, but to me, this was the quickest way and once booted, the floppy can come out. :)

 

y2kc

Platinum Member
Sep 2, 2000
2,547
0
76


<< i have more and more the feeling that dualboot xp-mandrake on one hd and 2 partitions is a no-go >>



It works. One of my boxes has 2k server, XP and Mandrake on the same drive.
 

ToBeMe

Diamond Member
Jun 21, 2000
5,711
0
0


<< It works. One of my boxes has 2k server, XP and Mandrake on the same drive >>



LOL!;) it &quot;works&quot; on your system and configuration.......but I've talked with at least 6 guys on another forum that have the same problem.........when we use lilo as you are, it will not boot Mandrake or Windows..........I've gotten it to boot Windows for me, and I can also get into Linux with a boot disk on another attempt......but never have any of us been able to strictly use Lilo (which is what we are attempting to do primarily;)) without command prompt edits. Don't get me wrong, I can configure Mandrake to boot with Windows, our only concerns at the present time are getting mandrake to install and configure Lilo to boot Windows &amp; Linux without the use of a boot disk, or command prompt editing! I;m not sure how or why it seems to work for you......all I can come up with is a system configuration differential which is preventing it from working for many of us.
 

odz

Senior member
Jan 10, 2001
491
0
0
I had a problem on a drive that I was trying to dual boot w/Linux. After I installed and (eventually)deleted the Linux partitions, then tried to install Xp later and it gave me the missing hal.dll, even though it was there.
I tried to install XP a couple more times and I would get 'missing operationg system' when it would try to boot off the hard drive for the first time.
I eventually fixed it when I did a low level format.
I know you are trying to dual boot(I gave up on dual booting Linux), but the advice above might help you.