how not to initialize HD
Gregory Hosler
ghosler at redhat.com
Fri Aug 6 11:49:13 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 08/06/2010 11:55 AM, JB wrote:
> JB <jb.123abc <at> yahoo.com> writes:
>
> Hi,
> let me follow the previous post with another example.
>
> One more "rule to follow" with regard to partitions:
> http://www.lissot.net/partition/partition-03.html
> ...
> Unlike primary partitions, logical partitions must be contiguous. Each logical
> partition contains a pointer to the next logical partition, ...
>
> OK.
> Now another example of a disk layout (also Paul Cartwright's, but a different
> computer - Dell XPS desktops):
> Btw Paul, is that disk also partitioned by Anaconda tool ?
>
> Between partitions 2 and 4 there is a free space marked as "logical".
>
> Logical 219463964* 219463964 0 1*Free Space
> None
>
> It is clearly outside of the Extended partition range.
> How comes it is called "logical" if it violates the rule of contiguousness ?
>
> # cfdisk -Ps
> Partition Table for /dev/sda
>
> First Last
> # Type Sector Sector Offset Length Filesystem Type (ID)
> Flag
> -- ------- ----------- ----------- ------ ----------- -------------------- ----
> 1 Primary 0 128519 63 128520 Dell Utility (DE)
> None
> 2 Primary 128520 219463963* 0 219335444*HPFS/NTFS (07)
> Boot
> Logical 219463964* 219463964 0 1*Free Space
> None
The space immediately above lies between the end of partition 2 and the start of
partition 4 (your extended partition), which maps in front of partition 3.
It is unused, and *UNUSABLE* space (unusable, due to the fact that it is
*impossible* to map it with a partition id given your current partition layout).
Labeling it as "logical" is, well, not logical, in that it isn't a logical
partition. In fact, it's not a partition at all, as noted by the fact that it
doesn't have a partition id #). Labling it as "void" would be a more accurate
description of this disk space.
The only way to claim this space would be to backup everything on the disk,
repartition without leaving a "void", and then restore.
Since it is only 1 sector big, I wouldn't bother with trying to reclaim it. (It
may, in fact, not be reclaimable -- in Linux, partitioning is usually done on
cyl boundaries).
- -Greg
> 4 Primary 219463965 615401954 0 395937990 W95 Ext'd (LBA) (0F)
> None
> 5 Logical 219463965 223672994 63 4209030 Linux swap / So (82)
> None
> 6 Logical 223672995 265618709 63 41945715 Linux (83)
> Boot
> 7 Logical 265618710 615401954 63 349783245 Linux (83)
> None
> 3 Primary 615401955 625137344 0 9735390 CP/M / CTOS / . (DB)
> None
>
> # fdisk -l
>
> Disk /dev/sda: 320.1 GB, 320072933376 bytes
> 255 heads, 63 sectors/track, 38913 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0xe686f016
>
> Device Boot Start End Blocks Id System
> /dev/sda1 1 8 64228+ de Dell Utility
> /dev/sda2 * 9 13661 109667722 7 HPFS/NTFS
> /dev/sda3 38308 38913 4867695 db CP/M / CTOS / ...
> /dev/sda4 13662 38307 197968995 f W95 Ext'd (LBA)
> /dev/sda5 13662 13923 2104483+ 82 Linux swap / Solaris
> /dev/sda6 * 13924 16534 20972826 83 Linux
> /dev/sda7 16535 38307 174891591 83 Linux
>
> JB
>
>
- --
+---------------------------------------------------------------------+
Please also check the log file at "/dev/null" for additional information.
(from /var/log/Xorg.setup.log)
| Greg Hosler ghosler at redhat.com |
+---------------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAkxb9rgACgkQ404fl/0CV/S7qACglffAFe0gR1B/QMq2UctOvWwZ
iOMAoKVDsTwUiKU7+dbfOSxLSLp12xho
=179G
-----END PGP SIGNATURE-----
More information about the users
mailing list