You are not logged in.

#1 2008-02-25 13:50:42

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

A little help with installing Windows and configuring GRUB

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

#2 2008-02-25 14:40:50

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

Re: A little help with installing Windows and configuring GRUB

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 smile

or issue the command

grub-install /dev/sdX --root-directory=/mnt

Last edited by gazj (2008-02-25 14:43:26)

Offline

#3 2008-02-25 14:54:30

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Re: A little help with installing Windows and configuring GRUB

Thanks! smile

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

#4 2008-02-25 15:20:59

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

Re: A little help with installing Windows and configuring GRUB

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

Board footer

Powered by FluxBB