From: T o n g on
Hi,

Do you have empty primary partitions? Have you noticed where they are?

When leaving an empty primary partition, I'm thinking:

/dev/hda1 Primary
/dev/hda2 Primary
/dev/hda3 Empty
/dev/hda4 Extended
/dev/hda5 Logical

but what I found most existing partitions look like this:

/dev/hda1 Primary
/dev/hda2 Primary
/dev/hda3 Extended
/dev/hda4 Empty
/dev/hda5 Logical

Ie, empty partition *after* the extended partition. This seems weird to
me -- "does the empty partition actually belong to the extended
partition?" But since (almost) every tool is creating partitions like
this, there must be a reason for it.

Can anyone shed some lights?

Thanks

--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/i0dqsj$bkf$1(a)dough.gmane.org
From: Klistvud on
Dne, 30. 06. 2010 00:08:19 je T o n g napisal(a):
>
> /dev/hda1 Primary
> /dev/hda2 Primary
> /dev/hda3 Empty
> /dev/hda4 Extended
> /dev/hda5 Logical
>
> but what I found most existing partitions look like this:
>
> /dev/hda1 Primary
> /dev/hda2 Primary
> /dev/hda3 Extended
> /dev/hda4 Empty
> /dev/hda5 Logical
>

By Empty, do you mean:
a) unpartitioned space
b) zero-length partition
c) partition with no filesystem (unformatted)
or
d) none of the above?

If c), you could always create the partition as Primary and *then*
delete its filesystem -- that way, methinks, you could probably place
it anywhere you like. Particularly with a GUI tool such as gparted.

--
Regards,

Klistvud
Certifiable Loonix User #481801
http://bufferoverflow.tiddlyspot.com


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/1277851089.21705.0(a)compax
From: T o n g on
On Wed, 30 Jun 2010 00:38:09 +0200, Klistvud wrote:

> By Empty, do you mean:
> a) unpartitioned space
> b) zero-length partition
> c) partition with no filesystem (unformatted) or
> d) none of the above?

d:

% sfdisk -l -x /dev/hda
Device Boot Start End #cyls #blocks Id System
/dev/hda1 0+ 5 6- 1223+ a OS/2 Boot Manager
/dev/hda2 6 256 251 51204 6 DOS 16-bit FAT >=32M
/dev/hda3 257 1023 767 156468 5 Extended
/dev/hda4 0 - 0 0 0 Empty

/dev/hda5 257+ 357 101- 20603+ 4 DOS 16-bit FAT <32M
- 358 1023 666 135864 5 Extended
- 257 256 0 0 0 Empty
- 257 256 0 0 0 Empty
. . .

See the /dev/hda4?

--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/i0dsqi$bkf$2(a)dough.gmane.org
From: T o n g on
On Tue, 29 Jun 2010 22:41:22 +0000, T o n g wrote:

> On Wed, 30 Jun 2010 00:38:09 +0200, Klistvud wrote:
>
>> By Empty, do you mean:
>> a) unpartitioned space
>> b) zero-length partition
>> c) partition with no filesystem (unformatted) or d) none of the above?
>
> d:
>
> . . .
> /dev/hda4 0 - 0 0 0 Empty

Oh, I know where the confusion is coming from now. My mistake, I was
talking about an *empty partition table entry* in the MBR.

--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/i0dudm$lnf$1(a)dough.gmane.org
From: Richard Hector on
On Tue, 2010-06-29 at 22:08 +0000, T o n g wrote:
> Hi,
>
> Do you have empty primary partitions? Have you noticed where they are?
>
> When leaving an empty primary partition, I'm thinking:
>
> /dev/hda1 Primary
> /dev/hda2 Primary
> /dev/hda3 Empty
> /dev/hda4 Extended
> /dev/hda5 Logical
>
> but what I found most existing partitions look like this:
>
> /dev/hda1 Primary
> /dev/hda2 Primary
> /dev/hda3 Extended
> /dev/hda4 Empty
> /dev/hda5 Logical

I never create that many partitions these days :-)

I might create one for /boot, and one for swap, but other than that
everything goes in LVM on the one partition. So max 3 (unless I have
more than one drive, of course). And they're all Primary.

Richard



--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/1278416568.30144.10.camel(a)diamond.lan.walnut.gen.nz