Copied Linux partition, booting random partition

Hi everyone, Here I have a question.

With GParted I tried to copy a Linux partition, so I had a back-up of the whole installation. This is clearly an extremely bad idea. My system is booting now at random in one or the other!

Even worse. It always thinks it has mounted /dev/sda7 although one partition is on /dev/sda7 and the other is on /dev/sda8

How can I fix this?


 * Google keywords (N.B. the + is part of the search string):
 * +copied Linux partition with gparted booting random partition

Aha. So the keyword is UUID of the partition.


 * Explained in simple words here
 * http://ubuntuforums.org/showthread.php?p=10308378#post10308378
 * Solution: tune2fs -U random /dev/sda1 (potentially damaging command)