Make a new uuid
uuidgen
Replace n with the number of the partition
tune2fs /dev/sdan -U uuid_generated_by_uuidgen
Check the new uuid with
vol_id /dev/sdan
use xargs to make that a one liner
uuidgen | xargs tune2fs /dev/sdan -U ; vol_id /dev/sdan
Make a new uuid
uuidgen
Replace n with the number of the partition
tune2fs /dev/sdan -U uuid_generated_by_uuidgen
Check the new uuid with
vol_id /dev/sdan
use xargs to make that a one liner
uuidgen | xargs tune2fs /dev/sdan -U ; vol_id /dev/sdan
Leave a Reply