View Single Post
Old 02-05-2013, 09:33 AM   #15
Detonate
Member (8 bit)
 
Detonate's Avatar
 
Join Date: May 2008
Location: Ault, Colorado, USA
Posts: 194
Smile

Quote:
Originally Posted by Detonate View Post
One little glitch I have run into using dd to clone a drive is, if both drives are to be used in the same computer they will both have the same UUID which causes problems with mounting.

You can fix this with the tune2fs command.
Code:
tune2fs -U random /dev/sdXy
That will change the UUID of the disk to new randomly generated UUID.
I have edited the above code to indicate you would actually need to change the UUID of each partition on the drive where Xy is the drive and partition to change. Senior moment.
__________________
If you think you are too old to learn, you probably always were.
http://www.thegeezergeek.net
http://www.bigredonecannoneers.org
Detonate is offline   Reply With Quote