View previous topic :: View next topic |
Author |
Message |
belly n00b
Joined: 21 Apr 2004 Posts: 32
|
Posted: Sat Apr 24, 2004 2:52 am Post subject: [Fixed] Minor problem, secondary SATA HD and Bootloading |
|
|
Hello,
I have gentoo all up and running perfectly thanks to the help of these boards and chatrooms, except one minor thing.
I have linux on my primary PATA HD. Windows is on my SATA drive.
Lilo and Grub seem to have problems with this. Linux will load fine, but windows will not.
Is there any way to fix this?
In grub I have tried a few things, including the normal"
Code: | root (hd1,0)
chainloader +1 |
but that didnt work.
In lilo I tried using hde1 and sda1 (both have been aliases for my SATA drive before.) and neither worked.
Any input?
Thank you _________________ ~Matt
Last edited by belly on Sat Apr 24, 2004 9:27 pm; edited 1 time in total |
|
Back to top |
|
|
griever n00b
Joined: 24 Sep 2002 Posts: 57
|
Posted: Sat Apr 24, 2004 10:29 am Post subject: |
|
|
for booting my windows installation, i have the following in my grub.conf:
title=Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1
this is from the grub.conf.sample file.
it's been quite some time, but i also remember reading somewhere that windows tends to bellyache if it's not installed in hda1. could be wrong, but i haven't put windows anywhere else. maybe someone can correct me if this info is not correct. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sat Apr 24, 2004 6:11 pm Post subject: Re: Minor problem, secondary SATA HD and Bootloading |
|
|
belly wrote: | I have linux on my primary PATA HD. Windows is on my SATA drive.
Lilo and Grub seem to have problems with this. Linux will load fine, but windows will not. |
Normally, Windows will only boot from the first harddrive. You can use GRUB's map command to trick the Windows bootloader like this.
Code: | title Windows
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1,0)+1 |
|
|
Back to top |
|
|
belly n00b
Joined: 21 Apr 2004 Posts: 32
|
Posted: Sat Apr 24, 2004 8:50 pm Post subject: |
|
|
Beautiful, that worked Cyrilic
Thank you
Now to just get sound working with Winex but that shouldnt be as hard. _________________ ~Matt |
|
Back to top |
|
|
belly n00b
Joined: 21 Apr 2004 Posts: 32
|
Posted: Sat Apr 24, 2004 9:27 pm Post subject: |
|
|
Got it all fixed, KDE kept bringing up its sound manager thing, so shut off window sounds _________________ ~Matt |
|
Back to top |
|
|
|