PDA

View Full Version : [all variants] Two partitions with the same UUID?



Jose Catre-Vandis
August 16th, 2009, 05:58 PM
I needed to move my current xubuntu install from a primary partition into an extended partition as a logical partition, so I used gparted to do the copy and paste.

When checking for the requirements to enter into grub, it became apparent that the newly copied partition had the same UUID as the original!

For grub, this is easily overcome by using /dev/sd* in the stanza, but I was surprised that a new UUID was not issued. Can this be resolved with a command somewhere?

Keith Hedger
August 16th, 2009, 06:57 PM
You can use the tune2fs command to set a new uuid ie:

sudo tune2fs -U time /dev/sda7

Jose Catre-Vandis
August 16th, 2009, 09:18 PM
You can use the tune2fs command to set a new uuid ie:

sudo tune2fs -U time /dev/sda7

How did you know it was on /dev/sda7 :) LOL

Thanks for the tip

Keith Hedger
August 17th, 2009, 04:26 PM
Whoops!

Soul-Sing
August 17th, 2009, 04:41 PM
:lolflag: