dual boot - xp behaves strange

Derek Broughton news at pointerstop.ca
Mon Jan 22 14:22:40 UTC 2007


Rares Vernica wrote:

> I think grub is installed on the ubuntu partition not on MBR and I think 
> windows hides the partition so that the Windows partition gets to be the
> only one bootable.

OK, it looks pretty normal - very much the same (except for partition
numbers) as a multiboot system where windows was on the first partition. 
So I have to guess that Windows is trying to fix what it sees as a problem,
because it wants to be on the first primary partition.

For background on what I'm about to suggest, see
http://www.faqs.org/docs/Linux-mini/Multiboot-with-GRUB.html

Add these (hide and unhide) lines to your menu (you may need to
change "root" to "rootnoverify" for the Windows boot entry):

title           Ubuntu, kernel 2.6.17-10-386
unhide (hd0,0)
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.17-10-386
root=UUID=4384d648-886f-4296-9a3b-57cc9aa60230 ro quiet splash
initrd          /boot/initrd.img-2.6.17-10-386
savedefault
boot


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda2
title           Microsoft Windows XP Professional
hide (hd0,0)
root            (hd0,1)
savedefault
makeactive
chainloader     +1

-- 
derek





More information about the ubuntu-users mailing list