Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Partitions: Primary vs. Logical [Solved]
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
coplaniuk
Guru
Guru


Joined: 14 Apr 2004
Posts: 461
Location: Philadelphia, USA

PostPosted: Wed Jul 26, 2006 1:20 pm    Post subject: Partitions: Primary vs. Logical [Solved] Reply with quote

I figured out a partitioning scheme through my original post in this thread. Short story: I have 6 partitions that I'd like to set up. Since I've never had such a scheme in the past, I am not really familiar with secondary and logical partitions (I hope I get the terminology correct).

Are there any performance issues or boot problems that I should be aware of? My initial thought is to do a scheme like this:

Code:

PRIMARY - hda1 (25 Gig) - WinXP
PRIMARY - hda2 (1Gig) - <swap>

START SECONDARY
  LOGICAL hda3 (40 MB) - /boot  (ext2)
  LOGICAL hda4 (15.5 Gig) - /   (for gentoo - ext3 or reiserfs?)
  LOGICAL hda5 (32 Gig) - /opt/share (fat32)
END SECONDARY

PRIMARY hda6 (remainder [just under 6 Gig]) - test partition


Will that work? Will that cause any problems for Linux?
_________________
-- Coplan
~/ Outland - Art, Music, PHP and Hidden Corners of the Web
-{ Embrace Life. Evolve your computer. Emerge Gentoo. }-


Last edited by coplaniuk on Wed Jul 26, 2006 7:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Jul 26, 2006 3:08 pm    Post subject: Reply with quote

That will work. Note that an extended partition has its own number (hda3 in your case) and you won't be able to create a primary partition after it iirc.
So it would look like:
Code:
PRIMARY - hda1 (25 Gig) - WinXP
PRIMARY - hda2 (1Gig) - <swap>

START EXTENDED (=hda3)
  LOGICAL hda4 (40 MB) - /boot  (ext2)
  LOGICAL hda5 (15.5 Gig) - /   (for gentoo - ext3 or reiserfs?)
  LOGICAL hda6 (32 Gig) - /opt/share (fat32)
  LOGICAL hda7 (remainder [just under 6 Gig]) - test partition
END EXTENDED

_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
runningwithscissors
Guru
Guru


Joined: 21 Apr 2006
Posts: 454
Location: the third world

PostPosted: Wed Jul 26, 2006 4:12 pm    Post subject: Reply with quote

nixnut wrote:
That will work. Note that an extended partition has its own number (hda3 in your case) and you won't be able to create a primary partition after it iirc.


Why not? You can create a primary partition after an extended one. I have one on my machine.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Jul 26, 2006 4:28 pm    Post subject: Reply with quote

runningwithscissors wrote:
nixnut wrote:
That will work. Note that an extended partition has its own number (hda3 in your case) and you won't be able to create a primary partition after it iirc.


Why not? You can create a primary partition after an extended one. I have one on my machine.

Guess I remembered wrong then. Apple partitions are easier and saner :wink:
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
coplaniuk
Guru
Guru


Joined: 14 Apr 2004
Posts: 461
Location: Philadelphia, USA

PostPosted: Wed Jul 26, 2006 5:18 pm    Post subject: Reply with quote

nixnut wrote:
That will work. Note that an extended partition has its own number (hda3 in your case) and you won't be able to create a primary partition after it iirc.
So it would look like:
Code:
PRIMARY - hda1 (25 Gig) - WinXP
PRIMARY - hda2 (1Gig) - <swap>

START EXTENDED (=hda3)
  LOGICAL hda4 (40 MB) - /boot  (ext2)
  LOGICAL hda5 (15.5 Gig) - /   (for gentoo - ext3 or reiserfs?)
  LOGICAL hda6 (32 Gig) - /opt/share (fat32)
  LOGICAL hda7 (remainder [just under 6 Gig]) - test partition
END EXTENDED


Ok...just trying to be proactive here...but what's that do to my fstab and grub.conf? Assumming your table above...will I need to mount hda3 at all? Or does it just sorta disappear?

And would grub consider hda4 as hd0,3 still?
_________________
-- Coplan
~/ Outland - Art, Music, PHP and Hidden Corners of the Web
-{ Embrace Life. Evolve your computer. Emerge Gentoo. }-
Back to top
View user's profile Send private message
vadik56
n00b
n00b


Joined: 14 Feb 2006
Posts: 70

PostPosted: Wed Jul 26, 2006 5:44 pm    Post subject: Reply with quote

Quote:
Assumming your table above...will I need to mount hda3 at all? Or does it just sorta disappear?

You dont need to mount hda3, but you will see it in /dev/. Just use other patitions as you would use primary partitions.
Back to top
View user's profile Send private message
coplaniuk
Guru
Guru


Joined: 14 Apr 2004
Posts: 461
Location: Philadelphia, USA

PostPosted: Wed Jul 26, 2006 7:13 pm    Post subject: Reply with quote

Rock on....

Thanks guys.
_________________
-- Coplan
~/ Outland - Art, Music, PHP and Hidden Corners of the Web
-{ Embrace Life. Evolve your computer. Emerge Gentoo. }-
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