In my first use of Clonezilla, I'm trying to clone a drive which has two versions of Ubuntu on it (16 and 18). The reason for 2? The Ubuntu 16 became corrupted because the hard drive is getting close to failure. So I installed 18 to get it to run. This worked well. The grub menu now, booting from the drive I'm trying to clone, shows 16 as an option but defaults to Ubuntu 18, and boots into it just fine -- about half the time. The drive is getting flakey, and startup-up problems often are where that first becomes obvious.
Clonezilla went through the 7 partitions on the old drive seemingly well, but then complained a few times about grub -- for some reason it was looking somewhere for grub 1 and not finding it, for instance. Yet it ended on apparent success. But in trying to boot from the clone, the grub menu that comes up is as it was in Ubuntu 16, without Ubuntu 18 represented. Ubuntu 16 is still broken, so booting into that isn't an option, besides which it's Ubuntu 18 that has the current configuration and files.
What would the process be -- from either within Clonezilla or within Ubuntu 18, to get the new drive to have the current grub menu, rather than falling back on the obsolete version left over from Ubuntu 16?
Last edit: Whit Blauvelt 2020-01-20
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In my first use of Clonezilla, I'm trying to clone a drive which has two versions of Ubuntu on it (16 and 18). The reason for 2? The Ubuntu 16 became corrupted because the hard drive is getting close to failure. So I installed 18 to get it to run. This worked well. The grub menu now, booting from the drive I'm trying to clone, shows 16 as an option but defaults to Ubuntu 18, and boots into it just fine -- about half the time. The drive is getting flakey, and startup-up problems often are where that first becomes obvious.
Clonezilla went through the 7 partitions on the old drive seemingly well, but then complained a few times about grub -- for some reason it was looking somewhere for grub 1 and not finding it, for instance. Yet it ended on apparent success. But in trying to boot from the clone, the grub menu that comes up is as it was in Ubuntu 16, without Ubuntu 18 represented. Ubuntu 16 is still broken, so booting into that isn't an option, besides which it's Ubuntu 18 that has the current configuration and files.
What would the process be -- from either within Clonezilla or within Ubuntu 18, to get the new drive to have the current grub menu, rather than falling back on the obsolete version left over from Ubuntu 16?
Last edit: Whit Blauvelt 2020-01-20
Found the fix for that, from Ubuntu "grub-install /dev/sdc" (the new drive created being sdc).
Thanks for sharing that.
Steven