[Arm-dev] UUID for partitions

Thu Dec 24 18:23:43 UTC 2015
Robert Moskowitz <rgm at htt-consult.com>


On 12/24/2015 01:06 PM, Manuel Wolfshant wrote:
> On 24 decembrie 2015 20:02:27 EET, Robert Moskowitz <rgm at htt-consult.com> wrote:
>> Problems with changing the UUID for the swap partition:
>>
>> # tune2fs /dev/sdb2 -U 4446599f-6dd5-4093-b39a-92ae44aadbb2
>> tune2fs 1.42.12 (29-Aug-2014)
>> tune2fs: Bad magic number in super-block while trying to open /dev/sdb2
>> Couldn't find valid filesystem superblock.
>>
>> But maybe we don't need to change the swap partition's UUID...
>>
> You cannot use tune2fs on anything but ext2/3/4fs
> Just run again mkswap on the swap partition,,while it is not in use.

Ah.

I hope someone is taking notes for all that needs to go into the 
centos-arm-installer script...

:)