Web lists-archives.com

Re: "Invalid arch-independent ELF magic" in grub after SSD migration

On 22/02/17 21:18, Lucio Crusca wrote:
> Here is how I copied the disk contents over the SDD.
> I booted a live Ubuntu from CD media, checked with fdisk that every
> partition is starting 4K aligned and used the following command to copy
> the disk contents:
> dd if=/dev/sda of=/dev/sdb status=progress bs=4K

You checked the partitions (on /dev/sdb) with fdisk, and then did the dd?

I think you just overwrote the partitions you checked.

I don't know if this is related to your problem.

Maybe you'd be better off copying the partitions separately, and then
reinstalling grub.


Attachment: signature.asc
Description: OpenPGP digital signature