Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dual boot win2k and gentoo with grub
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
jester66
n00b
n00b


Joined: 01 Jun 2004
Posts: 9

PostPosted: Fri Jul 09, 2004 9:43 pm    Post subject: dual boot win2k and gentoo with grub Reply with quote

I have win2k on partition 1 of my harddrive, and am planning to use the remaining partitions for gentoo. I have dual booted before with grub, but i found it annoying that first i had to select 'linux' from the ntldr menu, then select my kernel image from the grub menu (ofcourse this is after modifying the boot.ini file). Is there a way to get around this? In other words, can i simply load grub and boot into windows without having to mess with ntldr? I would imagine that if this was possible I would have to install grub on the MBR. However, I have read that sometimes doing this makes it impossible to boot into windows (please correct me if i am wrong).

Also, I have used lilo before and i did not have to mess with ntldr at all during the boot process. I am not sure if i had installed lilo on the MBR as that was a long time ago, and I had gone through a more automated install, and this was with Mandrake. So, i am wondering why it is that i was able to boot directly into windows from lilo.

I have been using a stand alone gentoo box for some time so i am somewhat experienced with gentoo. However after all the reading i have done i still don't understand the boot process. I now need windows on my machine so that i can do some things for work, and would like for everything to run as smoothly and seamlessly as possible.

If i could get some help/advice or even be led to some good documentation on the subject that would be great (BTW, i have done my research, but it still seems to fall short of what i am trying to find out). thanks in advance.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Fri Jul 09, 2004 10:07 pm    Post subject: Reply with quote

I have used grub to boot to Linux and Windows 2000 successfully when it is installed in the MBR. AFAIK, lilo installs everything in the MBR, including its configuration, so that was why the Windows bootloader didn't appear.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Lajasha
Veteran
Veteran


Joined: 17 Mar 2004
Posts: 1040
Location: Vibe Central

PostPosted: Fri Jul 09, 2004 10:09 pm    Post subject: Reply with quote

Well 2 things come to mind if you are happy with using the windows loader then just change the timeout in the grub.conf to 0 and you should not have to select your kernel.

Or when you go through the install just run through it as it is written in the handbook and then you can add an entry into the grub.conf to boot windows.

It is something like this:
Code:
title=win 2k
rootnoverify (hd0,0)
chainloader +1

That is off the top of my head atm so you may wanna double check but I know if can be found here in the forums.
_________________
Come and play in my land
Back to top
View user's profile Send private message
kenthepostman
Apprentice
Apprentice


Joined: 02 Jul 2004
Posts: 245
Location: Stanford, CA

PostPosted: Fri Jul 09, 2004 10:34 pm    Post subject: Reply with quote

If for some reason grub screws up the MBR you can still load the windows MBR again if you have the CD. It's not too hard to do and is an easy fix if things don't work out. I used to dual boot using the windows boot loader and LILO. I found it to be a huge pain because everytime I changed the Lilo config, I had to recreate the linux.bin file windows uses. This time I installed GRUB according to the handbook and had no problems at all.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat Jul 10, 2004 3:21 am    Post subject: Re: dual boot win2k and gentoo with grub Reply with quote

jester66 wrote:
I have read that sometimes doing this makes it impossible to boot into windows (please correct me if i am wrong).

Installing GRUB into the MBR is safe, and this is the preferred location for GRUB.
Code:
grub> setup (hd0)

Just be careful NOT to install GRUB into the Windows partition, because this will overwrite the Windows bootloader, making Windows unbootable, and possibly corrupting the filesystem.
Code:
grub> setup (hd0,0)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum