You are not logged in.
I want to install Windows XP on my machine for various reasons. As I am writing this I am using an existing Archlinux. Now I wonder what I should take care of considering GRUB when installing Windows.
I know that Windows likes to mess with the MBR and as I am not too proficient with such things I want to be careful.
Alright, now I put in the Windows installation CD, choose a fitting partition and let it install. I assume that afterwards my GRUB will be gone... How do I take care of this?
Offline
After windows has finished installing, re-insert you arch install cd and boot from it.
Mount your arch Installation as below
mount /dev/sdXY /mnt
- change sdX for your arch / partition, also mount /boot if you have a seperate /boot partition.
start the installer, and then just do the grub stage of the install again
or issue the command
grub-install /dev/sdX --root-directory=/mnt
Last edited by gazj (2008-02-25 14:43:26)
Offline
Thanks!
I actually found some other stuff already...
Why shouldn't I just issue the following two commands booting from my Arch install CD (usb stick in my case...)?
arch root=/dev/sda1
---
grub-install /dev/sda1
Offline
That most likely works too, it's just not the method I am familiar with. I think when you mount /, Grub can install grub stage 1.5 in /boot, if it's not mounted I guess it can't, although this would not matter as you only need to restore the mbr.
Offline