You are not logged in.

#1 2008-04-07 13:33:30

jfca283
Member
From: Santiago, Chile
Registered: 2007-10-09
Posts: 177

grub in a HD with windows/arch/Data

i have a HDisk of 80gb
i installed XP and arch on him
but i also have a partition only for Data
grub when i try to edit the Windows XP line, it caused a strange issue
i choose Arch Fallback, and i entered on XP
with Arch i entered on Fallback...
editing i playing with menu.lst i finally could start arch normally, but i sacrificed XP on the menu list
how do i enable XP on Grub?
according to the partition table when i installed arch was this

sda1 XP
sda2 Data
sda3 Arch
sda4 Swap

thanks

Offline

#2 2008-04-07 13:45:57

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: grub in a HD with windows/arch/Data

This should do it:

# (0) Arch Linux
title  Arch Linux
root   (hd0,2)
kernel /vmlinuz26 root=/dev/sda3 ro
initrd /kernel26.img

# (1) Arch Linux Fallback
title  Arch Linux Fallback
root   (hd0,2)
kernel /vmlinuz26 root=/dev/sda3 ro
initrd /kernel26-fallback.img

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

Last edited by dyscoria (2008-04-07 13:46:33)


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#3 2008-04-07 19:04:09

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: grub in a HD with windows/arch/Data

Is there perhaps a particular reason in opting for "rootnoverify"? GRUB reads the same disk which Windows is on.

Last edited by schivmeister (2008-04-07 19:05:46)


I need real, proper pen and paper for this.

Offline

#4 2008-04-07 23:13:11

jfca283
Member
From: Santiago, Chile
Registered: 2007-10-09
Posts: 177

Re: grub in a HD with windows/arch/Data

it worked
thanks

Offline

Board footer

Powered by FluxBB