Grubby problem
Rich Duzenbury
rduz-ubuntu at theduz.com
Wed Dec 29 03:03:37 UTC 2004
On Tue, 2004-12-28 at 21:54 -0500, David M. Carney wrote:
> Unfortunately, Windows always wants to be the first OS on the first
> drive. But there is a way to fool Windows into thinking it IS the
> first OS on the first drive, even though it is not, as in your case.
>
> I have a little more simple setup, but perhaps you could learn from it.
>
> I have Ubuntu linux on the first (80 gig) drive. It possess the whole drive.
>
> Win XP Pro is on the second drive (20 gig). It possess that whole drive.
>
> My drives are not scsi or STAT, but I believe my grub setup will steer
> you in the right direction.
>
> The Ubuntu is straight forward for setting up Linux on a hard drive.
> So I won't list it here.
>
> Here is the Windows part for the second drive:
>
> title Windows XP
> root (hd1,0)
> rootnoverify (hd1,0)
> map (hd0) (hd1)
> map (hd1) (hd0)
> chainloader +1
>
> The first map line fools my system into thinking that the first drive
> is actually the second drive.
>
> The second map line fools my system into thinking the second drive is
> actually the first drive.
>
> Now, Windows is fooled into thinking it is on the first drive and it
> will boot and run as normal.
David, thanks very much for the insight. I think the drive swapping was
a main part of the problem.
Here is what I have now that seems to function:
title Windows NT/2000/XP
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
savedefault
makeactive
Grub now activates the win2000 bootloader, and I can select either
win2000 or win98 from there. The win2000 boot works great. The win98
locks up after a few seconds. The loss of the win98 is no big deal, I
really am happy enough with just the win2000. The unusable win98 is
wasting some 5 or 10gb of space, but thats of no serious consequence at
this time.
Thanks for your help.
--
Regards,
Rich
Current Conditions in Des Moines, IA
Clear
Temp 33.8F, Windchill 28.4F
Winds out of the North at 6mph
More information about the ubuntu-users
mailing list