HOWTO change the UUID and or label of a FAT/vfat partition on Linux.
Опубликовано пользователем keinstein
In many forums and wikis the recommended way of changing the uuid of a fat partition involves dd and a hex editor.
However the easy way is to use mtools
. Let's suppose we want to change the UUID of a fat partition on /dev/sda1
.
As a first step we have a look at the UUIDs of the different file systems:
> blkid
/dev/sda1: SEC_TYPE="msdos" LABEL="boot" UUID="4059-33BB" TYPE="vfat"
…