Configure GRUB
Derek Broughton
news at pointerstop.ca
Thu Jan 10 17:58:45 UTC 2008
Jan Kauffman wrote:
> On Jan 10, 2008 4:14 AM, Peter Garrett <peter.garrett at optusnet.com.au>
> wrote:
>
>> Part of the problem may be that Windows is on /dev/hda5 , which is
>> the first "logical" partition on an "extended" partition.
>>
>> If I remember correctly, Windows doesn't like being anywhere but
>> /dev/hda1
>> or /dev/sda1 - (hd0,0) in GRUB-speak. I'm not sure if windows needs to
>> be on a primary partition to boot. hda5 is a logical partition ( i.e. not
>> primary)
Windows doesn't like _thinking_ it's not on the first partition (suddenly
realizing that this is _not_ true of Vista - as mine happily boots a form
of Vista for the HP recovery partition which is #2). It's easy enough to
make grub tell it the appropriate lies :-)
However, I think you're right about booting it off a logical partition
(again, may not apply to Vista).
fwiw, if it _will_ boot from a logical, the stanza should be something like:
title Microsoft Windows XP Home Edition
map (hd0,4) (hd0,0)
root (hd0,0)
makeactive
chainloader +1
> I did it, but when I try to write it, I receive this error:
> "More then one primary partition is marked bootable. DOS MBR cannot boot
> this. Toggle bootable flag of the current partition."
ONLY the Windows partition needs to be marked "bootable". I'm not even sure
that's true any more, so just turn off the bootable flag on anything else.
--
derek
More information about the ubuntu-users
mailing list