LinuxQuestions.org
Review your favorite Linux distribution.
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 08-08-2004, 04:45 AM   #1
farzan
LQ Newbie
 
Registered: Jun 2004
Distribution: Slackware 10 - Mandrake 10
Posts: 6

Rep: Reputation: 0
Partition Number Ambiguity


Hello members;
I have installed slackware 9.1 on my computer a bit ago. At that time I was realy new to linux, thus I left all things to installer. I have 4 partitions on my first IDE harddisk:

1. a primary NTFS
2. logical FAT32
3. a Linux partition
4. a Linux Swap partition

Their names under Linux are:

hda1
hda5
hda6
hda7

I want to know what is the rule of naming partitions? Why hda2, hda3 and hda4 are not used? FYI I have a floppy drive and 2 CDROMs on secondary IDE as master and slave drives. My IDE primary slave is free.
 
Old 08-08-2004, 04:51 AM   #2
Mlehliw
LQ Newbie
 
Registered: Aug 2004
Location: UW-Madison
Distribution: Debian
Posts: 13

Rep: Reputation: 0
From what limited knowledge I have, every logical (or non-primary) partition starts with hdx5 whether you have used the previous numbers or not. Meh I'm sure someone else can give a better explanation than that.
 
Old 08-08-2004, 05:42 AM   #3
max_sipos
Member
 
Registered: Jul 2004
Posts: 96

Rep: Reputation: 15
Yeah, the partitions 1-4 are reserved for primary partitions. See "man sfdisk" for the difference.
 
Old 08-08-2004, 11:10 AM   #4
nafan
Member
 
Registered: May 2004
Location: /dev/bed
Distribution: Mandriva 2009.0 Powerpack
Posts: 172

Rep: Reputation: 30
Re: Partition Number Ambiguity

You can only have 4 primary partitions on a hard disk. To use more than that, msdos/windows fdisk create an extended partition when then gets carved up into smaller partitions.
When you installed windows, it made your primary NTFS in the first available primary partition slot (which linux sees as hda1). When the Fat32 drive was created, dos/windows makes an extended partition by default which covers the rest of your hard disk, and takes part of it as the fat32 (linux sees this as hda5), the next partitions then are created as hda6 hda7 hda8 and so on.

Hope that helps :-)
 
  


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
Ambiguity in free disk space in /home partition vharishankar Linux - General 15 02-22-2013 03:58 PM
Why there so many partition number? alice95089 Linux - Software 1 02-23-2005 11:18 PM
Max number of linux partition rupesh_pulikool Linux - General 2 01-22-2005 08:59 AM
Ambiguity -- Need clarification nealkochhar Linux - Newbie 3 06-01-2004 06:22 AM


All times are GMT -5. The time now is 06:33 PM.

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