Jump to content
3 posts in this topic

Recommended Posts

Hi,

I am trying to install iAktos v7,in the installation ,at the Disk Utility I am choosing my partition and formatting it to Mac OS Extended (Journaled) everything until now is ok.

When I am choosing my partition (the Mac OS Extended one - "Macintosh HD") and clicking on the Information this is writing to me that the disk number is 0 and the partition number is 5.

 

I am quitting the Disk Utility and opening the Terminal,To write the MBR to disk0s5,I am writing -

fdisk -e /dev/rdisk0

and then p And I am getting only 4 partitions -

1 - 3 is NTFS (Windows 7)

4 Extended OS

 

But where is number 5??

Yosy

 

UPADTE:

I tried to fix my self the problem and I deleted all my partition :thumbsup_anim:

but i fixed the problem :(

Link to comment
https://www.insanelymac.com/forum/topic/196072-partition-number-problem/
Share on other sites

First, I suspect you may be getting tripped up by two entirely different meanings of the word "extended" in similar, but not identical, contexts:

 

  1. In "MacOS Extended (Journaled)," the word is part of the name of a filesystem, which is more commonly referred to as "HFS+" or "HFS Plus," at least among users.
  2. In Master Boot Record (MBR) partitioning parlance, an "extended partition" is a type of partition that serves as a placeholder for additional partitions. The basic MBR scheme supports only four partitions (known as "primary partitions"), and an extended partition can extend this number, theoretically to a value based on the disk size.

 

Your partitioning scheme presumably uses an extended partition (in sense #2). This is probably partition #4 (although it could be #1, #2, or #3), with partition #5 being the HFS+ partition you describe creating with Disk Utility.

 

It's unclear to me what you mean by "and then p", since OS X's fdisk has no "p" option that I can discern. When you type "fdisk /dev/rdisk0", you should see output that summarizes the partitions you've got on your system. Part of the output from one of my systems looks like this:

 

$ sudo fdisk /dev/rdisk0
Password:
Disk: /dev/rdisk0	   geometry: 38913/255/63 [625142448 sectors]
Signature: 0xAA55
	 Starting	   Ending
#: id  cyl  hd sec -  cyl  hd sec [	 start -	   size]
------------------------------------------------------------------------
1: 06	0   1   1 - 1023 254  63 [		63 -	 128457] DOS > 32MB
2: 17 1023 254  63 - 1023 254  63 [	128520 -   58592184] OS/2 hidden
3: 05 1023 254  63 - 1023 254  63 [  58720704 -  504566391] Extended DOS
*4: AF 1023 254  63 - 1023 254  63 [ 563287095 -   61850250] HFS+
Signature: 0xAA55
	 Starting	   Ending
#: id  cyl  hd sec -  cyl  hd sec [	 start -	   size]
------------------------------------------------------------------------
1: 83	0   1   1 - 1023 254  63 [  58720767 -	 318108] Linux files*
2: 05 1023 254  63 - 1023 254  63 [  59038875 -  504248220] Extended DOS
3: 00	0   0   0 -	0   0   0 [		 0 -		  0] unused
4: 00	0   0   0 -	0   0   0 [		 0 -		  0] unused

 

This output is confusing to the uninitiated, but it's pretty informative if you understand the MBR data structures. It's broken into blocks of four entries, since the MBR primary partition table has four entries, as does the data structure that defines each logical partition, although the logical partition data structures use at most two of those entries. In the preceding output, the three primary partitions in the first (MBR) block are described as being for DOS (partition #1), OS/2 hidden (#2; that one's really a hidden NTFS partition; the OS/2 HPFS and Windows NTFS type codes are the same), and HFS+ (#4), with an extended partition in position #3. The second block has one Linux partition defined (#1 in its block) -- this is the first logical partition, which is identified as /dev/rdisk0s5 in OS X. This second block also has another "extended DOS" definition, which is just a pointer to the next logical partition -- it's not really a partition definition per se, although it's formatted like one. I've omitted the output for the second and subsequent logical partitions from the preceding example for brevity's sake.

 

I can't be positive, but I suspect that if you re-examine your partitions, as reported by OS X's fdisk, you'll see something similar, except with different partition sizes and types, and probably without the pointer to a second logical partition, since you didn't mention anything beyond your HFS+ partition.

 

You can obtain a simpler and easier-to-understand output by using the diskutil command-line tool, as in "diskutil list /dev/disk0" (this one doesn't seem to work with the rdisk# devices, just the disk# devices). This program includes an explicit mapping to the OS X device filenames in its final column. (Note that they might not be in order.)

×
×
  • Create New...