I have windows XP SP2 and gentoo linux on the same hard drive.
Windows on first partion (hda1)
Gentoo /boot (hda2)
Gentoo swap (hda3)
Gentoo / (hda4).
Using fdisk I toggle the bootable partition to point to hda2 , so I get the choice of which OS to boot from grub on hda2.
This works fine if I load gentoo, however if I load windows then the next time I reboot, the system just goes straight back to windows(i.e. straight to hda1 instead of hda2), and if i check with fdisk, it seems windows has changed which partition to boot from, back to hda1.
Does anyone know how I can stop windows from writing that info back to the disk table so it ALWAYS looks at hda2 first regardless of which OS was previously booted.
Many thanks if you can help me, I am getting fed up of having to boot from liveCD everytime I want to revert to the linux boot.
------------------------------------------
Somethings come from nothing, nothing seems to come from somethings - SFA - Guerilla
roycrom
Windows on first partion (hda1)
Gentoo /boot (hda2)
Gentoo swap (hda3)
Gentoo / (hda4).
Using fdisk I toggle the bootable partition to point to hda2 , so I get the choice of which OS to boot from grub on hda2.
This works fine if I load gentoo, however if I load windows then the next time I reboot, the system just goes straight back to windows(i.e. straight to hda1 instead of hda2), and if i check with fdisk, it seems windows has changed which partition to boot from, back to hda1.
Does anyone know how I can stop windows from writing that info back to the disk table so it ALWAYS looks at hda2 first regardless of which OS was previously booted.
Many thanks if you can help me, I am getting fed up of having to boot from liveCD everytime I want to revert to the linux boot.
------------------------------------------
Somethings come from nothing, nothing seems to come from somethings - SFA - Guerilla
roycrom