Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Is it always true that
1. the first partition (primary) is called /dev/hda1,
2. the second (primary) contigous /dev/hda2
and so on...? [make conservative assumptions, like your drive is
not SCSI..]
I have an interesting situation.
My earlier harddrive map looked like this,
|<hda1(QNX)>|<empty 1 (unallocated)>|<hda2>|<empty 2(unallocated)>|<hda5>..
Later, I installed BSD after creating a BSD type partition (No 165)
in first empty space.
Upon fdisking, the old hda2 still appears as hda2, and the new
BSD partition appears as hda4. Not sure why...
So, the new map is
|<hda1>|<hda4>|<hda2>|<hda5>.....
Any idea what's going on?
Is it possible to change the name of partition numbers?
The numbers are assigned (well, nott exactly, but we can say this) when a partition is created. So when a partition between hda1 and hda2 was created, it took free number.
Note that some OSes (especially Windows) don't handle such situation easily. It may create problems.
I believe that the only way to change the numbers of the partitions is to edit the partition table and rearrange the entries. Whichever partition comes first in the table is hda1 and the next one would be hda2.
To make hda2 become hda3 and hda3 become hda2, you would have to swap their entries in the partition table. It's not something you really want to do. You could mess it up.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.