On my new computer, I want to install Archlinux as my main OS, and Windows XP for in case I want to play a game that only works there.
There is totally nothing installed now, it has a blank HD.
Which should I install first? Windows or Archlinux?
I'd like to do Archlinux first, but I'm afraid that if I do Archlinux first, and Windows only after that, that Windows will ruin the MBR and grub.
What will really happen if I install Archlinux first and then Windows? If the MBR is really ruined, how can I get grub back?
better to install windows first
Windows install generally does overwrite your MBR - when I do it, I usually make sure my partitions are set up as I want, then install Windows first, then Arch. Everything just goes smoother that way.
What tool can you advice to partition my harddrives before starting the installations of Windows and Archlinux?
I know there exists for example partition magic that works well.
But are there any free equivalents available, that boot from a simple CDROM or floppy?
the Gparted LiveCD is a good tool for doing it:
I booted from a Linux-LiveCD and then just used fdisk.
Last edited by SiD (2007-04-14 15:15:31)
So I take it the best order for preparing disks is?
<Small partition for GRUB bootloader / Arch>
<Other Arch partitions, swap, etc>
Does that sound right?
In my opinion, it would be better to place Windows in the first partition, place the boot and shared after it, and then place the Arch mountpoints in extended partitions.
Ok I have that setup running now but I am really struggling to get Grub to become my bootloader. All I get is XP booting! Please can someone point me to or post an idiot's guide?
Last edited by Bes (2007-06-28 10:08:12)
So, you have Windows and Arch already installed, but Windows always starts anyway?
Boot the livecd
Mount your Arch partitions on /mnt
mount /dev/sdaX /mnt
Mount some extra partitions (sysfs, dev, proc)
mount -t proc proc /mnt/proc mount -t sysfs sys /mnt/sys mount -o bind /dev /mnt/dev
CHROOT into your system
chroot /mnt /bin/bash
Then install GRUB onto your main hard disk
Then reboot, and you should be good to go.
NOTE: Info taken from http://wiki.archlinux.org/index.php/Reinstalling_GRUB
Install Grub on the XP partition? (if thats what you mean by main harddisk) That will destroy Windows' bootloader and stop it booting at all?! Is that right?
No, /dev/sda points to the front of the whole disk (the partition table / boot sector area), not the first partition. It's safe to do "grub-install /dev/sda" with this setup.