Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 02 Sep 2014, 13:45
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
puppy gets confused numbering partitions
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
lostdog

Joined: 05 Oct 2005
Posts: 103

PostPosted: Fri 10 Mar 2006, 12:08    Post subject:  puppy gets confused numbering partitions  

I have a large hard drive with four partitions(spelling?) and puppy numbers them hda1 then skips to hda5. hda5 is actually hda2. why does this happen? I get the same thing in Simply Mepis. Confused
_________________
The truth is out there.
Back to top
View user's profile Send private message 
bugman


Joined: 20 Dec 2005
Posts: 2131
Location: buffalo commons

PostPosted: Fri 10 Mar 2006, 12:47    Post subject:  

I'm no expert re partitioning; mine do the same. I believe it's due to how primary and logical pertitions are numbered. I've got hdb1 (primary ext2) and hdb5 (logical swap). So maybe the primary partitions get the first 4 numbers and the logical ones get the higher numbers? As long as it all works, I'm happy...
Back to top
View user's profile Send private message Visit poster's website 
Yaverot


Joined: 21 Dec 2005
Posts: 93

PostPosted: Fri 10 Mar 2006, 12:59    Post subject:  

okay are:
hda1 (C: in windows)
hda2 (an extended partition that holds hda5+, not visible in windows)
hda5 (D: in windows, logical partition)
hda6 (E: in windows, logical partition)
hda7 (F: in windows, logical partition)
hda8 (G: in windows, logical partition)

hda1-4 are reserved for primary partitions, a primary partition can be maked extended and that allows it to hold logical partitions.
Windows prefers only 1 primary and upto 1 extended partition, so most partitioning programs format that way to maintain compatibility.

(Above where I said windows, I mean MS OSes from DOS3 to WinME, I am not certain if NT/2K/XP handles primary partitions differently).

_________________
There is a yellow one that won't accept the black one
That won't accept the red one that won't accept the white one
And different strokes for different folks
Back to top
View user's profile Send private message Visit poster's website 
jmarsden


Joined: 31 Dec 2005
Posts: 263
Location: California, USA

PostPosted: Fri 10 Mar 2006, 13:00    Post subject: Re: puppy gets confused numbering partitions  

lostdog wrote:
I have a large hard drive with four partitions(spelling?) and puppy numbers them hda1 then skips to hda5. hda5 is actually hda2. why does this happen? I get the same thing in Simply Mepis. Confused
This is because the type of the second entry in your partition table is set to 5, which means it is an "extended" partition. The Linux convention is to make the primary partitions 1 to 4, and logical partitions within the extended partition start at 5 and go up from there.

This is not Puppy (or Mepis) being confused, it is you who is confused Smile

If you need further information, one source is the fdisk man page, online at http://www.die.net/doc/linux/man/man8/fdisk.8.html . It says in part:
fdisk man page wrote:
A DOS type partition table can describe an unlimited number of partitions. In sector 0 there is room for the description of 4 partitions (called `primary'). One of these may be an extended partition; this is a box holding logical partitions, with descriptors found in a linked list of sectors, each preceding the corresponding logical partitions. The four primary partitions, present or not, get numbers 1-4. Logical partitions start numbering from 5.

Hope this helps,

Jonathan
Back to top
View user's profile Send private message 
lostdog

Joined: 05 Oct 2005
Posts: 103

PostPosted: Fri 10 Mar 2006, 20:32    Post subject:  

Quote:
This is not Puppy (or Mepis) being confused, it is you who is confused


Yup. That is quite possible. I'm still learning about this stuff. I'll have to do some more reading on the subject. Confused

Yaverot I don't have windows. I bought an old dell deminsion just to put linux on so I could learn.

bugman yes as long as it works, it's fine, It just confuses me, and I'm confused enough as it is. Smile

_________________
The truth is out there.
Back to top
View user's profile Send private message 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Sat 11 Mar 2006, 01:04    Post subject:  

Just to confuse you more... errr... to clarify any further confussion Wink

The partition numbers don't even need to be secuential based on the physical location in the disk.

This is, partition 7 could be in sectors 10000 to 20000 and partition 8 in sectors 5000 to 9999. This is, you could have the partition 8 before the partition 7.

_________________
http://rarsa.blogspot.com Covering my eclectic thoughts
http://www.kwlug.org/blog/48 Covering my Linux How-to
Back to top
View user's profile Send private message Visit poster's website 
lostdog

Joined: 05 Oct 2005
Posts: 103

PostPosted: Sat 11 Mar 2006, 13:45    Post subject:  

Thanks rarsa. As if I wasn't confused enough. Smile

When I trry to put other distros on my hard drive, I can't figure out where I'm putting them.

Well, I may get it figured out, or not. But I'm still having fun.

_________________
The truth is out there.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0563s ][ Queries: 11 (0.0033s) ][ GZIP on ]