You are not logged in.

#1 2012-03-09 22:49:35

rh995
Member
Registered: 2012-03-09
Posts: 76

dual boot arch linux and windows

I recently installed arch linux. However, I have a windows 7 installation on a separate hard drive (/dev/sdb), and it is not detected by grub. I have tried to use os-prober, and grub-mkconfig to generate my configuration file, but I think these programs are in grub2-common, and this conflicts with the package grub. When I do uninstall grub, and replace with grub2-common, I can generate the config file, but grub brings me to the grub prompt, and will not boot. Can I use grub-mkconfig without uninstalling grub, or do I have to create grub.cfg and edit it manually? Thank you in advance!

Offline

#2 2012-03-09 23:03:11

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,538

Re: dual boot arch linux and windows

grub reads /boot/grub/menu.lst.  You need to edit this file manually to add windows 7

Read this

Last edited by skunktrader (2012-03-09 23:04:48)

Offline

#3 2012-03-09 23:06:42

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: dual boot arch linux and windows

edit grub
read wiki on how to edit grub
here link to wiki
https://wiki.archlinux.org/index.php/Grub#Configuration

Offline

#4 2012-03-09 23:34:29

rh995
Member
Registered: 2012-03-09
Posts: 76

Re: dual boot arch linux and windows

skunktrader wrote:

grub reads /boot/grub/menu.lst.  You need to edit this file manually to add windows 7

Read this

It works! You are a genius!!!!!!! Thank you so much!!

Offline

#5 2012-03-10 00:42:59

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: dual boot arch linux and windows

Next time, YOU can be the genius - just search the wiki first! big_smile

Offline

Board footer

Powered by FluxBB