View previous topic :: View next topic |
Author |
Message |
batrix n00b
Joined: 13 Jan 2004 Posts: 20
|
Posted: Tue Jan 13, 2004 7:59 pm Post subject: need help on how to install gentoo on a slave drive? |
|
|
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 |
|
|
paranode l33t
Joined: 06 Mar 2003 Posts: 679 Location: Texas
|
Posted: Tue Jan 13, 2004 8:16 pm Post subject: |
|
|
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 |
|
|
Master_Of_Disaster l33t
Joined: 28 Feb 2003 Posts: 610 Location: 15.05072° East, 48.13747° North (aka Mauer), Austria
|
Posted: Tue Jan 13, 2004 8:25 pm Post subject: |
|
|
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 |
|
|
batrix n00b
Joined: 13 Jan 2004 Posts: 20
|
Posted: Tue Jan 13, 2004 8:33 pm Post subject: bootloader |
|
|
I m using GRUB for my bootloader for redhat and win2k |
|
Back to top |
|
|
luqas Guru
Joined: 02 Jan 2004 Posts: 588 Location: /US/Texas/Beaumont
|
Posted: Tue Jan 13, 2004 9:02 pm Post subject: |
|
|
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 |
|
|
luqas Guru
Joined: 02 Jan 2004 Posts: 588 Location: /US/Texas/Beaumont
|
Posted: Tue Jan 13, 2004 9:57 pm Post subject: |
|
|
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 |
|
|
|