Results 1 to 9 of 9
Hi All
i'm new in linux and have a question.i know that sda is for partition naming,but i don't know that what is following number of sda?for example sda6, sda7....
...
- 04-17-2010 #1Just Joined!
- Join Date
- Apr 2010
- Posts
- 4
what is following number of sda?
Hi All
i'm new in linux and have a question.i know that sda is for partition naming,but i don't know that what is following number of sda?for example sda6, sda7....
main question is:
how can i understand that this number refer to which partition?
for example sda6 is for C:\ or D:\
thanks an advanced...
- 04-17-2010 #2
Hi and welcome

First of all, there is no C: or D: or drive letters in general.
There is *one* directory tree, and the devices are "mounted" to certain directories.
A whole harddisc is device /dev/sda or /dev/sdb or /dev/sdc etc.
The partitions on a disc are numbered:
/dev/sda1, /dev/sda2, etc
and on a second harddisc /dev/sdb1, /dev/sdb2, /dev/sdb3 etcYou must always face the curtain with a bow.
- 04-17-2010 #3
Hello & Welcome

If I may add....Windows use letters to identify partitions examples: Drive C:\ and then Drive D:\ and so on.
Linux system uses the one as explained clearly by Irithori
nujinini
Linux User #489667
- 04-17-2010 #4
Hi and Welcome !
Don't worry about English language. Its not a native language of a lot of members here.
sda1 to sda4 are for Primary or Extended Partitions only. /dev/sda5 onwards are reserved for Logical Partitions.
You can check partition structure of your Hard disk through fdisk -l command.
* Its small L in fdisk -l.Code:su - /sbin/fdisk -l
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 04-17-2010 #5Just Joined!
- Join Date
- Apr 2010
- Posts
- 4
thanks for all replies
is it means that c:\ is sda5, d:\ is sda6 and so on?../dev/sda5 onwards are reserved for Logical Partitions.
what about when we change for example d:\ letter to s:\?
- 04-17-2010 #6forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,097
Run the command suggested by Devils Casper above and you can see your partition layout and get a better understanding of the way drives and partition numbering work in Linux.
The newer Linux kernels see all hard drives as scsi drives, which would be the sd part, and the letter after the sd, such as letter "a", or "b" (and so on) indicate which drive.
For example:
the first drive on a system would be sda
the second drive on a system would be: sdb
The numbers attached to the end of the sda or sdb in this case would constitute the partition number that resides on each drive.
The first hard drive with its partitions would be:
sda1
sda2
sda3
The second drive with its partitions would be:
sdb1
sdb2
sdb3oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 04-18-2010 #7If your C: Drive is a Logical Partition then it will be /dev/sda5 but I don't think that first partition of your hard disk is Logical. By default, Windows OSes need Primary Partition for installation and you can not install it in Logical unless you are dual booting or using work arounds.is it means that c:\ is sda5, d:\ is sda6 and so on?..
It doesn't matter in Linux. If you change C:\ to xyz or any other driver letter, Linux won't change device name assigned to it. Linux detect partitions from Partition table directly and it has nothing to do with Windows OS except partition labels, if any.what about when we change for example d:\ letter to s:\?
Post the output of fdisk -l as suggested earlier.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 04-18-2010 #8Linux Newbie
- Join Date
- Apr 2010
- Location
- Novosibirsk, Russia
- Posts
- 136
On Linux just forget about C: and D:
there are /boot /var /tmp /home and so on. if you want to mount a Windows' filesystem (or just any additional fs ) then you should try mount sd* or hd* partitions.
- 04-18-2010 #9
Correct !
Linux filesystem is different from Windows OSes. I would suggest sajjadlove to check this link.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote
