Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Gentoo onto a Win2000 box (want to dual-boot)
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
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Wed Jun 12, 2002 2:19 pm    Post subject: Installing Gentoo onto a Win2000 box (want to dual-boot) Reply with quote

I know there have been plenty of discussions on this subject, but none seem to exactly fit my situation (at least not how I read them), so I thought I'd post and hopefully clear up my position.

I have a 40gb drive with Win2000Pro on it on NTFS. I've decided I can go with linux at home since my wife never uses the computer :twisted: , but I still need the win2k partition for games (Medal of Honor owns me, don't have time to play with winex yet), and my employer only has a windows VPN client.

What I'd like to do (if possible) is have a setup where I have a 10GB NTFS partition for windows 2000, 10 GB partition for Gentoo and ~20GB FAT32 partition for data betwixt the two OSes.

My question is whether this is possible to do without blasting away the Win2000 install. Although it wouldn't be the end of the world if I had to. I found some instructions on windows2000faq.com to dual boot from NTLoader, but I'd rather use GRUB.

*shrug* perhaps I should just bite the bullet and re-install everything. That is, after this Friday's lan party.
Back to top
View user's profile Send private message
Trumpcard
n00b
n00b


Joined: 27 May 2002
Posts: 36

PostPosted: Wed Jun 12, 2002 2:28 pm    Post subject: Reply with quote

Its easy to do. As long as you installed Windows first, you will be fine.

First, if your Win2k partition takes the entire disk, you need to resize, there are several utilities for doing this. Then, just use the gentoo install process to install it on /hda2+ , and leave hda1 for the windows install. Ive had several systems set up this way with no problems. Windows will wipe out your bootloader if you load it after linux, but its not particular hard to boot to the cd and do a lilo -v or grub, setup (hd0) if you get the order off on the installs.

You will just have to add a grub or lilo option to boot to the primary dos partition. Windows likes to be upfront, I dont even think you can install windows on anything other than the first hda partition.

Your 10+ linux partition should include swap space if you can (people argue on this point, but I consider a 100-500 meg swap filesystem to be a must have in case of an memory emergency, and it also depends on the amount of ram you have.

Hope this helps, but Ive found it extremely easy setting up dual boot boxes.
Back to top
View user's profile Send private message
mb
Guru
Guru


Joined: 25 Apr 2002
Posts: 355
Location: Hessen | .de

PostPosted: Wed Jun 12, 2002 2:32 pm    Post subject: Reply with quote

hi...

*should* be no problem.... just resize your current disk.. create 3 new partions (boot,root,swap).. install grub in mbr and add:

Code:

default 0
timeout 30
splashimage=(hd0,1)/boot/grub/splash.xpm.gz

title=Gentoo Linux
root (hd0,2)
kernel /boot/bzImage root=/dev/hda3

# Below needed only for people who dual-boot
title=Windows 2000
root (hd0,0)
chainloader +1



hda1 hd0,0 win
hda2 hd0,1 boot
hda3 hd0,2 root
hda4 hd0,3 swap


#mb
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Wed Jun 12, 2002 3:21 pm    Post subject: Reply with quote

That sounds promising. Yes windows is already on the box. The drive is currently all one big 40gb NTFS partition. I've never done a dual boot system before.

I've procured a copy of partition magic 7.0. Never used it before either.

I don't suppose a hand-holding, step-by-step HOWTO is available for what you describe. Although perhaps it will be intuitive once I get home and start slicing up the disk.
Back to top
View user's profile Send private message
craftyc
Guru
Guru


Joined: 23 May 2002
Posts: 443
Location: Behind You.

PostPosted: Wed Jun 12, 2002 4:20 pm    Post subject: Reply with quote

Take a look here
_________________
Postcount ++
Back to top
View user's profile Send private message
fatwreckfan
Guest





PostPosted: Wed Jun 12, 2002 4:21 pm    Post subject: Reply with quote

Do you not need:


Code:
# Below needed only for people who dual-boot
title=Windows 2000
root (hd0,0)
rootnoverify (hd0,0)
chainloader +1


if the win2k partition is NTFS? I'm in the middle of trying an XP/Gentoo dual boot, so I'll hopefully be able to let you know tonight after I get home :D
Back to top
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Wed Jun 12, 2002 7:32 pm    Post subject: Reply with quote

craftyc wrote:
Take a look here


(Looking at http://www.tldp.org/HOWTO/mini/Linux+WinNT-3.html#ss3.1)

I have no idea how the boot partition is set up, as far as my Win2k setup goes. Do I still need the DOS boot disk for this jazz? I'm really a putz when it comes to this stuff.
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Wed Jun 12, 2002 7:47 pm    Post subject: Reply with quote

http://www.lincezone.com/linux/dualboot.htm

That seems like a nice hand-holding reference for me and my ilk. FYI.

Update: Hmmm I guess I didn't read it closely enough. This guy uses BootMagic as his bootloader. I want to use Grub. *sigh*


Last edited by rizzo on Thu Jun 13, 2002 1:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Jun 12, 2002 8:29 pm    Post subject: Reply with quote

rizzo wrote:
That sounds promising. Yes windows is already on the box. The drive is currently all one big 40gb NTFS partition. I've never done a dual boot system before.

I've procured a copy of partition magic 7.0. Never used it before either.

I don't suppose a hand-holding, step-by-step HOWTO is available for what you describe. Although perhaps it will be intuitive once I get home and start slicing up the disk.
YMMV, but Partition Magic has hosed my system twice. I tried to use it to resize partions, but it would fail to boot
after finishing & restarting. I will never use the product again (Wasted $70ish USD IIRC). I was using a drive with 2
NTFS partitions and 1 for PM itself. I beleive, tried to move the partitions around and resize them so Win2K was 1st,
then had other room for linux. Perhaps I tried to do too much at one time, but I had no other options.

Good luck, many people really like this program.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Thu Jun 13, 2002 2:26 pm    Post subject: Reply with quote

hey - I do this all the time, so I'm sure I could be of assistance.

my 40gig hdd layout looks like this:

hda1: 8Gb ntfs partition = win2k [primary]
hda2: 30Mb ext2 partition = /boot [primary]
hda3: rest is one big extended partition, then:
hda5: 5gig ext3 = / [logical]
hda6: 5gig ext3 = /home [logical]
hda7: 1gig swap = swap [logical]
hda8: rest fat32 = /data [logical]

partition setup using windows disk manager (open in new window):

http://buzzmoo.com/taskara/hdd.jpg

install win2k first on the ntfs partition - use fat32 if you want to be able to WRITE to it under linux.

boot to linux and create the other partitions using fdsik.

you CAN use linux's fdisk to create the last fat32 partition, but I prefer to do that later in windows with administrator's disk management.

install linux

install grub

follow the instructions to setup grub (remember "root" under grub setup actually means your /boot partition!)

should be:

grub> root (hd0,1)
grub> setup (hd0)
grub> quit

where (hd0,1) means "the first hard disk, second partition = /boot! :)\

make your /boot/grub/menu.lst file (as per install instructions)

should look something like:

default 1
timeout 30
splashimage=(hd0,1)/boot/grub/splash.xpm.gz

title=gentoo
root (hd0,3)
kernel /boot/bzImage root=/dev/hda5

title=windows
root (hd0,0)
chainloader +1


follow rest of gentoo install.

reboot your pc and you shoudl see the grub menu. go into windows and make your data drive.

reboot and test linux.

easy as that really! ;)

hope I got all that right.. let us know how you go..
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Thu Jun 13, 2002 2:30 pm    Post subject: Reply with quote

very cool that sounds like just what I need. First I have to clear off some space and shrink down my NTFS partition.

So I shouldn't create /data in linux? You mentioned you go back into windows and do it. Do I think just mount it in linux?

Otherwise how does windows know about it?
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Thu Jun 13, 2002 2:34 pm    Post subject: Reply with quote

yeah make it in windows. that way windows is happy.

linux won't care - just create a directory called "data" under /
ie:
/data

and in your /etc/fstab file make an entry for /dev/hda8 and tell it to mount to /data

btw, partition magic 7.0 is a great program, but it's doesn't recognise ext3 partitions (only ext2) so if you load it on a hdd that has ext3 (as you prob will) it will complain and ask to fix things.. say NO! ;)
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Thu Jun 13, 2002 2:36 pm    Post subject: Reply with quote

OH look at that! 111 posts!!

.. doh.. 112..

:D
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Jun 13, 2002 2:42 pm    Post subject: Reply with quote

Quote:
btw, partition magic 7.0 is a great program, but it's doesn't recognise ext3 partitions (only ext2) so if you load it on a hdd that has ext3 (as you prob will) it will complain and ask to fix things.. say NO! icon_wink.gif


So? Make it with partition magig even is ext2 then under linux change it:

mk2fs -j /dev/hd<number>

:-)
Back to top
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Thu Jun 13, 2002 2:44 pm    Post subject: Reply with quote

yeah of course..

I was just saying that if he uses partition magic to look at a partition with ext3, then partition magic will say there are errors everywhere and ask to fix them, and if he does, he will stuff his linux. but it is safe to ignore them, so long as you don't use partition magic to change any of the linux partitions.


Last edited by taskara on Thu Jun 13, 2002 2:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
DArtagnan
l33t
l33t


Joined: 30 Apr 2002
Posts: 942
Location: Israel, Jerusalem

PostPosted: Thu Jun 13, 2002 2:45 pm    Post subject: Reply with quote

Anonymous wrote:
Quote:
btw, partition magic 7.0 is a great program, but it's doesn't recognise ext3 partitions (only ext2) so if you load it on a hdd that has ext3 (as you prob will) it will complain and ask to fix things.. say NO! icon_wink.gif


So? Make it with partition magig even is ext2 then under linux change it:

mk2fs -j /dev/hd<number>

:-)


Damn...i wrote this but i forgot to login :-)
_________________
All for one and one for All
--

MACPRO machine...
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Sun Jun 23, 2002 6:31 pm    Post subject: Reply with quote

taskara wrote:
hey - I do this all the time, so I'm sure I could be of assistance.


How do you boot? Do you have grub as your bootloader are do you use the NT bootloader?
Back to top
View user's profile Send private message
Guest






PostPosted: Sun Jun 23, 2002 8:17 pm    Post subject: Reply with quote

rite now i (triple) boot winxp, win98 and gentoo .
i use the nt boot loader and everything works great.
all i did was installed grub on the boot partition rather than my MBR
then while still in linux, i made a boot sector file, placed it on my win98 partition, restarted, used a free prog called bootpart, it wrote to my boot.ini file and to boot up gentoo, i just select it from my nt boot loader, another screen (probably grub) shows up and i'm ready to go!
for me, i thought this was the best method
Back to top
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Mon Jun 24, 2002 4:49 pm    Post subject: Reply with quote

Yeah I have a co-worker who does something similar. I'd prefer to load from grub, although I probably cannot come up with any valid reason why. Can anyone provide arguments as to using grub over ntloader, or vice-versa?
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Mon Jun 24, 2002 11:36 pm    Post subject: Reply with quote

ntloader is windows :twisted:

do you want IT in CONTROL of your LINUX environment!!??

reason enough? :lol:
Back to top
View user's profile Send private message
FINITE
Guru
Guru


Joined: 10 May 2002
Posts: 449

PostPosted: Wed Jun 26, 2002 5:34 am    Post subject: Reply with quote

STAY AWAY FROM PARTITION MAGIC. Not sure if it supports ntfs yet but last time I used it with win98 i noticed something strange. My fat32 dos partition was no longer dos. Later on down the road I uninstalled partition magic and there went my main win98 partition with it. Oh it was there, just could not access it and even doing fdisk /mbr did not help in this situation.
Back to top
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Wed Jun 26, 2002 6:54 am    Post subject: Reply with quote

FINITE wrote:
STAY AWAY FROM PARTITION MAGIC.
I've also had poor success with Partition Magic. It's hosed me every time I've used it except once. However, I have met some people who swear by it, so I suppose my advice is to back everything up if you try it and then cross your fingers. :lol:
_________________
if i never try anything, i never learn anything..
if i never take a risk, i stay where i am..
Back to top
View user's profile Send private message
Utoxin
Guru
Guru


Joined: 19 Apr 2002
Posts: 413
Location: American Fork, UT

PostPosted: Wed Jun 26, 2002 7:46 am    Post subject: Reply with quote

I personally have never had a problem with it...
_________________
Gentoo:
1. A small fast penguin from Antarctica.
2. A small fast penguin on your computer.

Cool.
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