View previous topic :: View next topic |
Author |
Message |
BlueRoo n00b
Joined: 23 May 2003 Posts: 8 Location: Kentucky
|
Posted: Wed Jun 04, 2003 11:59 pm Post subject: Dual Booting with XP |
|
|
I seem to be having problems getting XP to dual boot with gentoo. I have followed the installation instructions for grub and I am still having problems. On a prior install of gentoo, things worked just fine, but now I keep getting the message of problems with hal.dll. Even though I can't get XP to load with grub I can get it load using Acronis OS selector, so it is possible. Here is my grub.conf
Code: | default 0
timeout 30
splashimage=(hd1,1)/boot/grub/splash.xpm.gz
title=Gentoo Linux
root(hd1,1)
kernel (hd1,1)/boot/bzImage root=/dev/hdg4
title=Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1
boot
|
I have two hard drives /dev/hde and /dev/hdg. XP is installed on the only partittion on hde and gentoo (boot) is installed on the second partition of hdg. Any suggestions greatly appreciated. |
|
Back to top |
|
|
hackertype n00b
Joined: 03 Jun 2003 Posts: 32
|
Posted: Thu Jun 05, 2003 12:21 am Post subject: |
|
|
Have you tried "chainloader (hd0,0)+1" instead of "chainloader +1" ? |
|
Back to top |
|
|
Stieltje Apprentice
Joined: 03 Apr 2003 Posts: 158 Location: The land where the sky is black
|
Posted: Thu Jun 05, 2003 12:21 am Post subject: |
|
|
You might want to try out Lilo, nothing flashy, just a workhorse doing its job!
anyway, how interesting can it be to boot a PC
*how to configure Lilo is described in the installation guide on this site* _________________ PCs nearly always come with Microsoft Windows as their operating systems, but the "OS," as it is called, can be changed to a non-Microsoft operating system with a little work. |
|
Back to top |
|
|
BlueRoo n00b
Joined: 23 May 2003 Posts: 8 Location: Kentucky
|
Posted: Thu Jun 05, 2003 12:31 am Post subject: Dual Booting with XP |
|
|
Yes I did try (hd0,0)+chainloader first, didn't work. I tried to use Lilo at first, but I didn't have any luck with it. During bootup I got L_ and I couldn't get any further than that. |
|
Back to top |
|
|
kRock n00b
Joined: 28 May 2003 Posts: 73 Location: portland, or
|
Posted: Thu Jun 05, 2003 2:13 am Post subject: Re: Dual Booting with XP |
|
|
BlueRoo wrote: | I seem to be having problems getting XP to dual boot with gentoo. I have followed the installation instructions for grub and I am still having problems. On a prior install of gentoo, things worked just fine, but now I keep getting the message of problems with hal.dll. Even though I can't get XP to load with grub I can get it load using Acronis OS selector, so it is possible. Here is my grub.conf
Code: | default 0
timeout 30
splashimage=(hd1,1)/boot/grub/splash.xpm.gz
title=Gentoo Linux
root(hd1,1)
kernel (hd1,1)/boot/bzImage root=/dev/hdg4
title=Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1
boot
|
I have two hard drives /dev/hde and /dev/hdg. XP is installed on the only partittion on hde and gentoo (boot) is installed on the second partition of hdg. Any suggestions greatly appreciated. |
What's giving you the message about "hal.dll"? I presume windows? |
|
Back to top |
|
|
puggy Bodhisattva
Joined: 28 Feb 2003 Posts: 1992 Location: Oxford, UK
|
Posted: Thu Jun 05, 2003 8:20 am Post subject: |
|
|
I'm installing gentoo on a friends machine and keep getting this exact same error. The hal.dll thing sounds like something windows is looking for. I can't understand it. Any more ideas?
Cheers.
Puggy _________________ Where there's open source , there's a way. |
|
Back to top |
|
|
Milamber n00b
Joined: 23 May 2003 Posts: 72 Location: Richmond, VA
|
Posted: Sun Jun 08, 2003 4:39 pm Post subject: |
|
|
Quote: | The hal.dll thing sounds like something windows is looking for. I can't understand it. |
I think I've run across this before. Try copying the hal.dll file from the Windows install CD.
This is one of the bad things that happen when you let lilo or grub install on the MBR of the first disk.
The best solution is to let the Windows bootloader start grub or lilo. |
|
Back to top |
|
|
haggi Tux's lil' helper
Joined: 09 Jun 2003 Posts: 135 Location: Hamburg / Germany
|
Posted: Sun Aug 17, 2003 8:08 pm Post subject: |
|
|
hi,
Quote: | I think I've run across this before. Try copying the hal.dll file from the Windows install CD. |
on my WindowsXP cdrom is no hal.dll .... anyway i tried to copy from another WindowsXP machine my friend is running... with no success.. same error, what to do to get rid of this error message ?? _________________ Software is like sex: it's better when it's free,
but it can be very expensive if you don't secure it! |
|
Back to top |
|
|
puggy Bodhisattva
Joined: 28 Feb 2003 Posts: 1992 Location: Oxford, UK
|
Posted: Sun Aug 17, 2003 8:21 pm Post subject: |
|
|
haggi wrote: | hi,
Quote: | I think I've run across this before. Try copying the hal.dll file from the Windows install CD. |
on my WindowsXP cdrom is no hal.dll .... anyway i tried to copy from another WindowsXP machine my friend is running... with no success.. same error, what to do to get rid of this error message ?? |
In the end we reinstalled windows after mounting his drives in gentoo and backing everything up. then reinstalling grub as windows overwrote the MBR. Sorry I don't have better news, but just thought I'd let you know. We put quite a bit of effort in to fixing it, but got nowhere. Your best bet is probably to ask on a forum of windows experts, as it is a windows problem.
Puggy _________________ Where there's open source , there's a way. |
|
Back to top |
|
|
pi314 Tux's lil' helper
Joined: 31 Jul 2003 Posts: 136 Location: Germany
|
Posted: Sun Aug 17, 2003 8:30 pm Post subject: |
|
|
maybe you try to boot windows with the install-cd into recovery mode and then try to fix the mbr
this always worked fine when there was a problem with my old SuSE and winME
... oh, yes, I had to reinstall LILO after that and yes it worked with winME, with XP there was no problem yet, so I didn't try
I'm not realy shure anymore but I think I installed GRUB on (hd0) and XP is on (hd0,0) and everything is working fine so far |
|
Back to top |
|
|
haggi Tux's lil' helper
Joined: 09 Jun 2003 Posts: 135 Location: Hamburg / Germany
|
Posted: Sun Aug 17, 2003 8:37 pm Post subject: |
|
|
thx, that are bad news for me, because i backed up my complety configured WindowsXP before in a Norton Ghost image, so that i do not have to completly re-install it....
I'll then have to find some Windows experts, and let you know if i found a solution. _________________ Software is like sex: it's better when it's free,
but it can be very expensive if you don't secure it! |
|
Back to top |
|
|
haggi Tux's lil' helper
Joined: 09 Jun 2003 Posts: 135 Location: Hamburg / Germany
|
Posted: Sun Aug 17, 2003 8:38 pm Post subject: |
|
|
Quote: | maybe you try to boot windows with the install-cd into recovery mode and then try to fix the mbr |
how do i do this in recovery mode ? _________________ Software is like sex: it's better when it's free,
but it can be very expensive if you don't secure it! |
|
Back to top |
|
|
pi314 Tux's lil' helper
Joined: 31 Jul 2003 Posts: 136 Location: Germany
|
Posted: Sun Aug 17, 2003 8:58 pm Post subject: |
|
|
on winME it was a simple "fdisk /mbr" or something like this but I think this has been changed with XP.
... but it shouldn't be too hard finding some info about this -> good luck
EDIT:
found this topic
https://forums.gentoo.org/viewtopic.php?t=75329
maybe it'll help you a bit
Last edited by pi314 on Sun Aug 17, 2003 9:40 pm; edited 1 time in total |
|
Back to top |
|
|
Ch1lly n00b
Joined: 27 Jul 2003 Posts: 38
|
Posted: Sun Aug 17, 2003 9:39 pm Post subject: |
|
|
In windows XP you have to use the installation CD to go into the recovery console than you can apply the "fixmbr" command to fix your MBR and you should be able to boot into Windows XP again. |
|
Back to top |
|
|
puggy Bodhisattva
Joined: 28 Feb 2003 Posts: 1992 Location: Oxford, UK
|
Posted: Sun Aug 17, 2003 10:09 pm Post subject: |
|
|
Ch1lly wrote: | In windows XP you have to use the installation CD to go into the recovery console than you can apply the "fixmbr" command to fix your MBR and you should be able to boot into Windows XP again. |
I hope this works for you. It didn't for us.
Puggy _________________ Where there's open source , there's a way. |
|
Back to top |
|
|
dirtboy Apprentice
Joined: 12 Dec 2002 Posts: 263 Location: Pascagoula, MS
|
Posted: Mon Aug 18, 2003 3:23 am Post subject: |
|
|
Depends. A lot of people on these forums have been installing Grub and Lilo on the boot sector of the harddrive thinking that they were installing in the MBR. This may be a little late for you, but the commands in Windows for fixing misinstalled boot loaders are fixmbr for loaders in the MBR and fixboot for loaders in the bootsector. |
|
Back to top |
|
|
charliedontsurf n00b
Joined: 22 Jun 2002 Posts: 13 Location: Austin, TX
|
Posted: Mon Aug 18, 2003 3:35 am Post subject: |
|
|
Is it just me (don't answer), or is all this boot stuff incredibly rediculously over-complicated? I'm not a big believer in gui's, but if there's ever a problem that needed one, this is it.
Anyway, I boot my gentoo from a floppy. My bzImage is on the hard drive. I just put the bootloader (I hate all this boot lingo; did I get that correct?) on the floppy.
floppy in = gentoo
floppy out = winxp
Just an idea. I don't understand why more people don't do this. I've torn my hair out trying to get dual (and triple) boots to work in the past and then there's the problem of having MS stomp whatever you may have had on the MBR of hda. Why bother? |
|
Back to top |
|
|
charliedontsurf n00b
Joined: 22 Jun 2002 Posts: 13 Location: Austin, TX
|
Posted: Mon Aug 18, 2003 3:36 am Post subject: |
|
|
BTW, I lived in Starkville for a year. Dude, you gotta get outa there. |
|
Back to top |
|
|
dirtboy Apprentice
Joined: 12 Dec 2002 Posts: 263 Location: Pascagoula, MS
|
Posted: Mon Aug 18, 2003 3:41 am Post subject: |
|
|
I've lived here for 6 years... and you are right. About the boot loaders, they are only complicated because they are capable of being configured. Since you can put Linux anywhere (or any opsys for that matter), there are several little switches and options you have to set. Unlike Windows, which goes on the first drive on the first partition always every time. |
|
Back to top |
|
|
lotusvale Guru
Joined: 06 Mar 2003 Posts: 339 Location: Canada
|
|
Back to top |
|
|
ScorpionOne n00b
Joined: 22 Aug 2003 Posts: 1 Location: Berlin / Germany
|
Posted: Fri Aug 22, 2003 10:25 am Post subject: |
|
|
well, the problem is - win xp doesn't like any bootloaders like grub oder lilo.
just try this:
copy your bootblock (first 512byte from yout bootdisk) using dd to an file (!!!) on the disk, win xp is installed - the easiest way is to copy it in the root directroy from win.
when edit the boot.ini from win xp (c:\boot.ini).
sorry, but the hole instruction i can't remember exactly - but ask google
good luck _________________ Sorry for my bad english.
visit my site: http://www.all4fian.de |
|
Back to top |
|
|
|