Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
need help on how to install gentoo on a slave drive?
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
batrix
n00b
n00b


Joined: 13 Jan 2004
Posts: 20

PostPosted: Tue Jan 13, 2004 7:59 pm    Post subject: need help on how to install gentoo on a slave drive? Reply with quote

I'm going to be new to gentoo sometime here really soon. All I really need to know before I start the install is how to install gentoo on my slave drive without messing up my primary drive that has windows 2k.

right now I have win 2k on my primary drive (60GB) and
redhat 9 on my slave drive(10GB).

What exactly do I have to do first to make sure I can install gentoo on over redhat on my slave drive without touching my win2k drive and still be able to do a dual boot.

I have read alot of posts about GRUB but I do not know how to use grub.
anyone have some advice for me?

i would really appreciate it. Thanks Gentoors'

blake
Back to top
View user's profile Send private message
paranode
l33t
l33t


Joined: 06 Mar 2003
Posts: 679
Location: Texas

PostPosted: Tue Jan 13, 2004 8:16 pm    Post subject: Reply with quote

What bootloader are you using now to boot Red Hat?

All you really have to do is follow the installation guide and make sure that you are referring to the right disk (ie. hdb instead of hda) when you make filesystems and such.
_________________
Meh.
Back to top
View user's profile Send private message
Master_Of_Disaster
l33t
l33t


Joined: 28 Feb 2003
Posts: 610
Location: 15.05072° East, 48.13747° North (aka Mauer), Austria

PostPosted: Tue Jan 13, 2004 8:25 pm    Post subject: Reply with quote

You have to make sure that you don't touch your primary partition. To be on the safe side, make a backup of your MBR:
Code:
dd if=/dev/hdx of=/path/to/safe/place/w2k.bin bs=512 count=1

You can restore this backup with:
Code:
dd if=/path/to/safe/place/w2k.bin of=/dev/hdx bs=512 count=1


Follow the installation guide, and make sure that your grub.conf looks like this before writing GRUB to your _MBR_:

Code:
title=Gentoo Linux
        root (hdx,y) // x,y x=secondary HDD, y=Boot-Partition on secondary HDD, use GRUB's syntax completion to verify (grub --read-only)
        kernel /path/to/kernel root=/dev/hdxz // z=Root-Partition

# For booting Windows NT or Windows95
title Windows 2K/XP
        root (hd0,0) // Windows System Partition, I presume you have it in hd0,0 too.
        makeactive
        chainloader  +1


This should work, it does for me.

This post was answered in accordance with "the adopt an unanswered post initiative today"
_________________
post tenebras lux, post fenestras tux
Registered Linux User Nr. 312509
Adopt an unanswered post today!
Back to top
View user's profile Send private message
batrix
n00b
n00b


Joined: 13 Jan 2004
Posts: 20

PostPosted: Tue Jan 13, 2004 8:33 pm    Post subject: bootloader Reply with quote

I m using GRUB for my bootloader for redhat and win2k
Back to top
View user's profile Send private message
luqas
Guru
Guru


Joined: 02 Jan 2004
Posts: 588
Location: /US/Texas/Beaumont

PostPosted: Tue Jan 13, 2004 9:02 pm    Post subject: Reply with quote

When I get home, I will post my grub.conf. I am running Windows XP on my primary drive (2 partitions C/D) and Gentoo on the slave drive (3 partitions boot, swap, root). Hopefully it will spark some questions or give you some answers.
Back to top
View user's profile Send private message
luqas
Guru
Guru


Joined: 02 Jan 2004
Posts: 588
Location: /US/Texas/Beaumont

PostPosted: Tue Jan 13, 2004 9:57 pm    Post subject: Reply with quote

Here ya go...

Code:

default 0
timeout 10
splashimage=(hd1,0)/boot/grub/splash.xpm.gz

#Windows XP
title=Windows XP
root (hd0,0)
chainloader +1

#Linux 2.6.1
title=Gentoo-2.6.1
root (hd1,0)
kernel (hd1,0)/boot/kernel-2.6.1 root=/dev/hdb3
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