You are not logged in.
Pages: 1
Hi, I have the following scenario: there are 3 HDDs in my computer, 2x500GB and 1x400GB. Arch is installed on the two 500GB HDDs (which are in RAID1 for /boot and RAID0 for the rest). The 400GB HDD is my old drive I don't use atm since everything is backed up. Now I want to install Windows 7 on the third HDD, with the ability to choose it in GRUB. I do not want to use the Windows bootloader. So I'd do it like this:
- backup my MBR (dd if=/dev/sda of=/path/to/backup bs=446 count=1)
- Install Windows on my 400GB HDD
- restore MBR
- edit /boot/grub/menu.lst (might need further tricks to make windows boot if not installed on the first HDD)
Another solution would be to detach my 500GB drives and to install W7 then. However, it doesn't seem to practical to switch cables everytime I want to play a game. So, did anybode go through this before and can give me hints?
Last edited by IncredibleLaser (2010-03-29 18:29:27)
Offline
What I would do would be to remove once your 2 Arch HDD, install Win 7 on the third, replace the 2 other HDD and set one of them first in the boot sequence, then simply chainload to your third drive.
I never tried it though, so if anyone can confirm...
V=RI sweet V=RI
Offline
Hi,
since Windows can only install / boot from the first partition on the first drive, you will need to unplug the other 2 drives during installation. The grub configuration will look something like this:
Title Windows
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader +1
The map statements are used to make windows believe its being booted from the first drive.
Offline
I also have three HD (Arch, XP and Win7). I had for sure install both Win7 and XP in different paces and kept only one HD attached to SATA cable at each installation. My grub is:
# (0) Arch Linux
title Arch Linux
root (hd0,4)
kernel /vmlinuz26 root=/dev/disk/by-uuid/49c96f5a-5b80-4012-a227-4d8c174e56be ro
initrd /kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,4)
kernel /vmlinuz26 root=/dev/disk/by-uuid/49c96f5a-5b80-4012-a227-4d8c174e56be ro
initrd /kernel26-fallback.img
title XP
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
title Windows 7
rootnoverify (hd2,0)
map (hd0) (hd2)
map (hd2) (hd0)
chainloader +1
CSAT
Arch User
Offline
What you propose should work just fine. When I did the same thing on my laptop, I just set up GRUB again using the arch installer and everything went alright.
Good luck.
Offline
Thanks, csat's hint is the way to go. I found out by testing, but had no time to post here. Mapping is neccessary, makeactive is not. Easiest way to install windows is to remove the Linux HDDs before installing. Worked like a charm. Thanks everyone.
Edit: I might add this to the wiki once my exams are done.
Last edited by IncredibleLaser (2010-03-29 18:33:05)
Offline
Hi guys, today I face a similar scenario. I need to reinstall W7 again and that will kill the universe as I know it.
Before doing anything I want to be sure I'm right with what I will do:
1. Reinstall W7 over its own partition
2. Boot Arch Installation disc and install GRUB from menu
3. Restore /boot/grub/menu.lst with the backed one.
This should work fine, what you say?
EDIT:
forget it. Actually it was as easy as
# grub
grub> root (hd0.0)
grub> setup (hd0)
grub> quit
See you.
Last edited by martin77 (2010-05-21 18:41:31)
Offline
Pages: 1