You are not logged in.

#1 2007-03-01 00:46:36

amunimanghi
Member
Registered: 2006-11-21
Posts: 78

Setup windows in grub

Hello,

I reinstalled Arch a while back and forgot to add Windows to my grub. Well I forgot how to enable Windows in grub. So I'm wondering if this community can help me here. I only need it to be a game and then it goes bye-bye tongue. Here's my menulist: By the way, Windows is on my first partition (hdb1) on my hard drive.

#  Linux           Grub
# -------------------------
#  /dev/fd0        (fd0)
#  /dev/hda        (hd0)
#  /dev/hdb2       (hd1,1)
#  /dev/hda3       (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
#     +-------------------------------------------------+

# 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,3)
kernel /vmlinuz26 root=/dev/hdb2 ro
initrd /kernel26.img

Offline

#2 2007-03-01 00:56:32

ploxiln
Member
Registered: 2006-10-27
Posts: 50

Re: Setup windows in grub

Adapt as necessary

title Windows
rootnoverify (hd0,0)
chainloader +1

Offline

#3 2007-03-01 20:20:42

RabidWolf
Member
From: WI,USA
Registered: 2007-01-20
Posts: 31
Website

Re: Setup windows in grub

As windows isn't on your first disk(and it always wants to be), you'll prolly need these map entries also:

title Windows XP Professional
          rootnoverify (hd1,0)
          map (hd0) (hd1)
          map (hd1) (hd0)
          chainloader +1
          makeactive

Last edited by RabidWolf (2007-03-01 20:27:49)

Offline

Board footer

Powered by FluxBB