[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Partitions



On 08/11/2013 04:36 PM, Stephen Powell wrote:
On Fri, 09 Aug 2013 09:58:19 -0400 (EDT), Klaus Jantzen wrote:
by "some magic" the partitions on a HDD receive a block-id
or UUID (for fstab).

Does the ID of a partition change when the partition is moved
or when a new partition is created in the unallocated space
between two partitions?

Thanks for any info.
The UUID is assigned when the partition is formatted, not when
it is allocated.  Commands such as mke2fs or mkswap do the
formatting.  Moving or resizing a partition will not change its
UUID, nor will allocating or deallocating another partition
in any location.  However, reformatting the partition will
normally change its UUID unless the old UUID is explicitly
specified as an option during formatting.  For example, I've heard,
though I have not personally verified it, that the Ubuntu installer
has a habit of reformatting swap partitions during installation
that were originally created by the Debian installer, thus messing
up the Debian system's use of the swap partitions.


Hello,

thank you for the information.
It was helpful because I wnated to reduce and to move partitions of existing systems
before installing Wheezy.
Everything worked and the old systems are alive.

Thanks.

K.D.J.


Reply to: