You are not logged in.

#1 2007-12-29 01:16:50

rumsteak
Member
Registered: 2007-12-28
Posts: 7

dual boot

hi, i know this is more than asked, but i realy didn't  undestand most thigs were said in those posts.
so i made my own:

i have 4 partitions one harddrive:

part1 windows (ntfs)
part2 windows/recovery (fat something)
part3 arch linux (swap)
part4 arch linux (ext3)

now, i'm at the GRUB file looking to all this, and can't realy understand what i have to do in order to get dual boot, i tried several things, none work, windows continues to boot and doesnt let me choice between linux/windows..

any quick help?? i'm realy with the file open and waiting for help:P

Offline

#2 2007-12-29 02:02:10

rumsteak
Member
Registered: 2007-12-28
Posts: 7

Re: dual boot

and by the way, wich one should be the MBR?

sda (no idea)
sda1 (windows)
sda2 (windows)
sda3 (linux)
sda4 (linux)

at least this one you can help me..

Offline

#3 2007-12-29 02:10:50

sm4tik
Member
From: Finland, Jyväskylä
Registered: 2006-11-05
Posts: 248
Website

Re: dual boot

Hmm.. I'm really not the guy to say for sure, but..
I think mbr is read first at boot and if you didn't install grub to mbr, (that is propably hda or sda without partition number) mbr is still stuffed with window's own boot stuff. If you installed grub in mbr then there's a commented out thingy for windows by default at the end of /boot/grub/menu.lst

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

Uncomment it to show it in the menu.
If you still can't get to grub menu when booting, increase "timeout" in menu.lst to n seconds.

That's all I can say.. Hope some of it helps.

Offline

#4 2007-12-29 02:12:27

sm4tik
Member
From: Finland, Jyväskylä
Registered: 2006-11-05
Posts: 248
Website

Re: dual boot

rumsteak wrote:

and by the way, wich one should be the MBR?

sda (no idea)
sda1 (windows)
sda2 (windows)
sda3 (linux)
sda4 (linux)

at least this one you can help me..

Mbr would be the first one, without number. (Atleast I'm _quite_ sure wink )

Offline

#5 2007-12-29 02:21:01

rumsteak
Member
Registered: 2007-12-28
Posts: 7

Re: dual boot

sm4tik wrote:

Hmm.. I'm really not the guy to say for sure, but..
I think mbr is read first at boot and if you didn't install grub to mbr, (that is propably hda or sda without partition number) mbr is still stuffed with window's own boot stuff. If you installed grub in mbr then there's a commented out thingy for windows by default at the end of /boot/grub/menu.lst

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

Uncomment it to show it in the menu.
If you still can't get to grub menu when booting, increase "timeout" in menu.lst to n seconds.

That's all I can say.. Hope some of it helps.

i have a delay of 2 seconds, and i can choose between windows and windows recvery, i just cant add linux, i uncommentec it, and tried the way is on the wiki. no results, the only think is that i didn't installed the GRUB on "sda", i've put it on sda3..

this is my 4rth atempt to install this, i only have problems with duall boot (i dont know how to only change that dualboot setting, so i reinstall arch completely..annoying, but works..)

Offline

#6 2007-12-29 03:25:13

sm4tik
Member
From: Finland, Jyväskylä
Registered: 2006-11-05
Posts: 248
Website

Re: dual boot

Try

title Arch Linux
root   (hd0,3)
kernel /vmlinuz26 root=/dev/sda4 ro
initrd /kernel26.img

root - line holds the path to /boot folder
kernel line holds the path to / folder
In your case, it seems like they're in the same partition, so (hd0,3) is grub's way of saying /dev/sda4

EDIT:

sda3?? That's the swap partition if I understand you correctly, and as far as I know, grub doesn't belong there.. Try installing grub in either sda4 (the root partition of arch) or sda (mbr).

Last edited by sm4tik (2007-12-29 03:31:35)

Offline

#7 2007-12-29 03:29:42

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: dual boot

Good information about dual booting with grub can be found at:
http://users.bigpond.net.au/hermanzone/p15.htm

Hope this helps.

Offline

Board footer

Powered by FluxBB