LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-11-2003, 12:57 PM   #1
w0lf42
LQ Newbie
 
Registered: Feb 2003
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
Partition Questions


I was reading one of the HowTos on partitioning and had a few questions. Below is the example that they provided:
+-------------+---------------+------------------+
|Partition |Mount point |Size |
+-------------+---------------+------------------+
|/dev/hda1 |/boot |(15 megs) |
+-------------+---------------+------------------+
|/dev/hda2 |windows 98 |(2 gigs) |
+-------------+---------------+------------------+
|/dev/hda3 |extended |(N/A) |
+-------------+---------------+------------------+
|/dev/hda5 |swap space |(64 megs) |
+-------------+---------------+------------------+
|/dev/hda6 |/tmp |(50 megs) |
+-------------+---------------+------------------+
|/dev/hda7 |/ |(150 megs) |
+-------------+---------------+------------------+
|/dev/hda8 |/usr |(1.5 gigs) |
+-------------+---------------+------------------+
|/dev/hda9 |/home |(rest of drive) |
+-------------+---------------+------------------+

Is the one with Mount point "/" (/dev/hda7" considered root?
Why is there no /hda4? (Perhaps some explanation of how extended partitions would help me out).
If I wasn't going to put Windows on any of the partions, how would I set up my partitions?

Thanks in Advance.
 
Old 02-11-2003, 01:05 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
2what do you mean "considered"? it's jsut been given the mountpoint of / (i.e. root) for the sake of it. it's a good size etc....

there is no hda4 as hda4 is the extended partition itself, containing hte logical partitions hda5 to whatever....

how you set up your partitions is up to you. you don't *need* more than one (and some swap) but it's just a good idea to do so. but i presume that this howto will epxlain about the reasoning for it
 
Old 02-11-2003, 01:59 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally posted by acid_kewpie
there is no hda4 as hda4 is the extended partition itself, containing hte logical partitions hda5 to whatever....
Actually in his case its /dev/hda3 that is the extended partition.

You can create up to 4 primary partitions. Say for instance:

10 GB drive.

Create a primary of 1 GB, it would be /dev/hda1
Create a logical partition after the primary, its going to use /dev/hda2 as the extended and the actual first logical partition would be /dev/hda5 and so on for any others created as logicals.

Or lets say I create two primary partitions of 1 GB each. They would be /dev/hda1 and /dev/hda2. Then I create a logical partition of the rest of the drive. Then /dev/hda3 would be the extended partition where the first logical partition /dev/hda5 would reside. /dev/hda4 would be unused as you didn't create a third primary to use /dev/hda4 as the extended.

Hope that kind of helps you understand where the number scheme comes from or possibly confuse you anymore.
 
Old 02-11-2003, 03:12 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
*cough* pedantic hick *cough*
Quote:
Originally posted by trickykid
Why yes my pants do smell bad
 
Old 02-11-2003, 03:42 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally posted by acid_kewpie
*cough* pedantic hick *cough*
Don't give me a reason to come over there and slap you..

And my pants don't smell bad.. I checked for marks this morning before I left for work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disk Partition Resize Trouble and Partition Questions GNewbie Linux - Newbie 2 11-15-2005 04:15 PM
partition questions codejungle Linux - Software 5 02-17-2005 09:23 AM
Partition questions soccercrazy Linux - Newbie 6 08-10-2004 01:54 PM
Few partition questions. brynjarh Linux - Newbie 2 07-09-2004 08:00 PM
partition questions twist0110001 Linux - Newbie 1 08-01-2002 10:26 AM


All times are GMT -5. The time now is 04:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration