Quote:
Originally Posted by lucmove
It's kind of solved. I didn't do exactly what the thread's title says, but now it seems that is not really possible.
|
As the "boot part" is not IN the partition, you either clone the complete drive (not just the partition) to an
identically sized disk (or just a very little bit larger) or you will have to do it in two operations, the partition as an image or archive backup and the boot part separately. As the "whole drive" clone copies the partition table too, no matter if it's MBR or GPT, it is not copyable to a smaller drive, although you
may get away with if it's just the itsy bitsy smaller (but don't forget to shrink the fs afterwards, otherwise usage may try to use blocks that just aren't there).
To a really smaller drive (on which even the partition image won't fit) you'll need something like a file-by-file backup.
PS: as both gpt as well as grub use "the blocks inbetween MBR and 1st partition" grub will have to be REinstalled when you go from classic MBR to a disk with GPT, as grub has to know that to avoid using that gpt part of the partition table. It has to write its data behind the gpt blocks.