I have a CentOS 7.9 installation and I want to move all SSD contents including OS to a new/faster SSD (both are M.2 nvme).
The disk is setup using LVM. I tried cloning with Macrium Reflect and other disk cloning tools because I don't want to mess things up with commands like dd. But I always get same result: the system starts with underscore blinking and it doesn't boot. I don't get any errors during cloning.
I didn't change boot settings in BIOS, I assume if disk says is MBR and it cloned into a MBR too, then boot settings should be left untouched in BIOS.
The strange thing is that it seems to work if I clone two identical drives.
So could the problem be some boot settings that tells it where boot partition starts or something like this ? What functions should I try in order to make it bootable ? Things like align partition ? (on source before cloning, or on destination after cloning ?).
I don't think source has any errors eider, I am not good with that but I checked it.
I built the source partitions intentionally a bit smaller so it would fit in size variations of the ~500GB size. It never complains about partitions not fitting on new drive.
blockdev --getpbsz /dev/nvme0n1.fdisk, blkid, grub.cfg, fstab, etc. Thank you. unix.stackexchange.com/questions/677548/…i386, seems an uncommon environment ?!grub2-install --directory /usr/lib/grub/i386-pc/ /dev/nvme0n1