Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Using Gentoo as second OS instead of Redhat
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
kalel
n00b
n00b


Joined: 06 Nov 2003
Posts: 3

PostPosted: Thu Nov 06, 2003 2:43 am    Post subject: Using Gentoo as second OS instead of Redhat Reply with quote

I currently have Windows XP and RedHat installed on a dual boot system. Now that RedHat is no longer being updated, I want to use Gentoo as my second OS.

I need help with the partioning and configuration of the bootloader. This is my current partion setup as seen from fdisk.
Code:

Device Boot     Start    End     Blocks           ID        System
   /dev/hda1     1         4        32098+         de        Dell Utility
   /dev/hda2     5         17      104422+       83         Linux
   /dev/hda3     18       642     5020312+     5          Extended
   /dev/hda4  * 643     2432    1437185       7          HPFS/NTFS
   /dev/hda5     18       577     4498168+     83        Linux
   /dev/hda6     578     642      522081        82        Linux Swap

What do I need to do to put Gentoo in place of RedHat? I am also using GRUB as my boot loader. And this is a laptop.
Back to top
View user's profile Send private message
kmj0377
Guru
Guru


Joined: 26 Sep 2003
Posts: 397

PostPosted: Thu Nov 06, 2003 6:16 am    Post subject: Reply with quote

hda2 will be your boot partition.
hda5 will be your root partition.
hda6 will be your swap partition.
Back to top
View user's profile Send private message
kalel
n00b
n00b


Joined: 06 Nov 2003
Posts: 3

PostPosted: Thu Nov 06, 2003 3:04 pm    Post subject: Reply with quote

Okay, but what is hda3? Isn't Extended something to do with Linux also?
Back to top
View user's profile Send private message
Pete_Keller
l33t
l33t


Joined: 30 Sep 2003
Posts: 664
Location: Norwich, CT USA

PostPosted: Thu Nov 06, 2003 5:18 pm    Post subject: Reply with quote

kalel,

When they designed the ide drive, they allowed only 4 partitions because noone would ever need more than 4 partitions (this is back in the day of 10MB hard drives, dinasaurs roaming the earth, and Alan Cox not needing to shave). however once drives started getting bigger, they needed more than 4 partitions, so they fudged a way to make more. they turn one partition into an "extended partition" and put other partitions inside of it, it gets around the 4partition limit. All your partitions numbered 5 and up are part of the extended partition. NOtice that the start of 5 = the start of 3, and the end of 6 = the end of 3.

Pete
_________________
I am a SIGNATURE VIRUS, help me spread - attach me to your signature file.
Back to top
View user's profile Send private message
Smoke2firE
Apprentice
Apprentice


Joined: 19 Sep 2003
Posts: 282
Location: the couch

PostPosted: Thu Nov 06, 2003 5:20 pm    Post subject: Reply with quote

pretty simple you can only have 4 major partitions, an extended partition allows you more but you may not boot from an extended partition. so thats why as suggested you need to put a /boot partition in your primary partitions. the hda3 is just sort of a "index" partition that is used as a channel to map to the extended partitions nothing goes on it. youve already used its space to make the partitions 5 & 6 :wink: cheers

heh i was too late hitting send
Back to top
View user's profile Send private message
Pete_Keller
l33t
l33t


Joined: 30 Sep 2003
Posts: 664
Location: Norwich, CT USA

PostPosted: Thu Nov 06, 2003 5:41 pm    Post subject: Reply with quote

at your speed smoke, it is smoke to no fire :lol:

However I have to disagree with you, grub CAN boot an OS off of an extended partition, it just has to be loaded onto a primary partition.

Pete
_________________
I am a SIGNATURE VIRUS, help me spread - attach me to your signature file.
Back to top
View user's profile Send private message
Smoke2firE
Apprentice
Apprentice


Joined: 19 Sep 2003
Posts: 282
Location: the couch

PostPosted: Thu Nov 06, 2003 6:03 pm    Post subject: Reply with quote

hmm i dont use grub sorry for my confusion

i thought that what i said was right though as long as /boot is on a primary partition the rest can be on an extended if im wrong in what i said please clarify
Back to top
View user's profile Send private message
kalel
n00b
n00b


Joined: 06 Nov 2003
Posts: 3

PostPosted: Thu Nov 06, 2003 6:23 pm    Post subject: Reply with quote

Okay, so all I have to do is delete hda2 and hda3 to get it right? sounds easy enough.
Back to top
View user's profile Send private message
kwiqsilver
Guru
Guru


Joined: 19 Mar 2003
Posts: 360

PostPosted: Thu Nov 06, 2003 6:24 pm    Post subject: Reply with quote

I think with lilo even the /boot directory can be in an extended, as long as lilo is installed in the MBR.
I think that's how I used to do it with Debian, can't remember exactly though.
Back to top
View user's profile Send private message
Pete_Keller
l33t
l33t


Joined: 30 Sep 2003
Posts: 664
Location: Norwich, CT USA

PostPosted: Thu Nov 06, 2003 8:28 pm    Post subject: Reply with quote

kwiqsilver,

You do not have to delete any partitions, just reformat them as shown around code page 6.14.

Pete
_________________
I am a SIGNATURE VIRUS, help me spread - attach me to your signature file.
Back to top
View user's profile Send private message
kwiqsilver
Guru
Guru


Joined: 19 Mar 2003
Posts: 360

PostPosted: Thu Nov 06, 2003 8:45 pm    Post subject: Reply with quote

Uhh...okay.
How exactly does that relate to what I said?
Back to top
View user's profile Send private message
paranode
l33t
l33t


Joined: 06 Mar 2003
Posts: 679
Location: Texas

PostPosted: Thu Nov 06, 2003 8:48 pm    Post subject: Reply with quote

kwiqsilver wrote:
Uhh...okay.
How exactly does that relate to what I said?

I think he meant to refer to kalel.
_________________
Meh.
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