You are not logged in.

#1 2011-08-15 23:37:17

Mr_ED-horsey
Member
From: Portland, OR
Registered: 2011-04-06
Posts: 177

[solved] little help dual booting Windows 7 on 2nd HDD /w Arch

I already run arch on my first 1.5TB HDD, but now for occasional work at home purposes I have to have a copy of Windows 7 on the 2nd 500GiB HDD. I want Arch to be the primary OS on there because I hate Windows and only use it for work. I check the archwiki and it said I had to edit the /boot/grub/menu.lst file and "trick" Windows into thinking it was on the 1st HDD. I did this, but before I go ahead and install it I want to make sure I edited the file correctly. The fan on my laptop stopped working and until I get it replaced or I buy a new laptop this is my only machine and I don't want to mess it up. So here's the contents of my /boot/grub/menu.lst file:

# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst

# DEVICE NAME CONVERSIONS
#
#  Linux           Grub
# -------------------------
#  /dev/fd0        (fd0)
#  /dev/sda        (hd0)
#  /dev/sdb2       (hd1,1)
#  /dev/sda3       (hd0,2)
#

#  FRAMEBUFFER RESOLUTION SETTINGS
#     +-------------------------------------------------+
#          | 640x480    800x600    1024x768   1280x1024
#      ----+--------------------------------------------
#      256 | 0x301=769  0x303=771  0x305=773   0x307=775
#      32K | 0x310=784  0x313=787  0x316=790   0x319=793
#      64K | 0x311=785  0x314=788  0x317=791   0x31A=794
#      16M | 0x312=786  0x315=789  0x318=792   0x31B=795
#     +-------------------------------------------------+
#  for more details and different resolutions see
#  http://wiki.archlinux.org/index.php/GRUB#Framebuffer_Resolution

# general configuration:
timeout   5
default   0
color light-blue/black light-cyan/blue

# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*

# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/bb7d604d-a77f-45e2-a500-be09bb6e2cb4 ro quiet
initrd /kernel26.img

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/bb7d604d-a77f-45e2-a500-be09bb6e2cb4 ro
initrd /kernel26-fallback.img

# (2) Windows
title Windows 7
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
#makeactive
chainloader +1

So, have I done it right, and is there anything else I need to know before I start (this is literally all I've done at this point, so if I missed a step, please tell me)? Sorry, for asking this, but I haven't had an installed version of Windows since the XP days and am not terribly comfortable doing this... But I really, REALLY want to work at home even if just for a few days a week smile

Last edited by Mr_ED-horsey (2011-08-16 01:05:07)


Desktop: Fedora 21 Mate + Compiz [x86_64] on 2 TiB HDD  /  Windows 7 Professional [x86_64] on 500 GiB HDD
Laptop: Arch Linux + Openbox [i686] 120 GiB SSD on Acer c720 Chromebook

Offline

#2 2011-08-16 01:04:51

Mr_ED-horsey
Member
From: Portland, OR
Registered: 2011-04-06
Posts: 177

Re: [solved] little help dual booting Windows 7 on 2nd HDD /w Arch

I got bored and tired of waiting and installed Windows... I did it right. I was 99% sure I did everything correctly but thanks anyway, and sorry for wasting time smile


Desktop: Fedora 21 Mate + Compiz [x86_64] on 2 TiB HDD  /  Windows 7 Professional [x86_64] on 500 GiB HDD
Laptop: Arch Linux + Openbox [i686] 120 GiB SSD on Acer c720 Chromebook

Offline

Board footer

Powered by FluxBB