[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



On Thu, Feb 23, 2017 at 11:25:43AM +0100, tomas@tuxteam.de wrote:
> On Thu, Feb 23, 2017 at 07:53:45AM +0900, Mark Fletcher wrote:
> > On Wed, Feb 22, 2017 at 04:35:16PM +0100, Lucio Crusca wrote:
> > > Il 22/02/2017 15:39, Eero Volotinen ha scritto:
> > > >Try using clonezilla: http://clonezilla.org/
> > > 
> > > I can try, but I'd prefer understanding what I'm doing wrong, if possible.
> > > 
> > > 
> > I am not sure I can explain why this would be necessary (theoretically, 
> > it wouldn't) but you might want to try manually recreating the partition 
> > structure on the SSD and then using dd (or just cp actually) to copy 
> > each partition.
> 
> In the OP's context this doesn't make much sense. From the OP's mail
> 
>   dd if=/dev/sda of=/dev/sdb [other params elided]
> 
> That would copy boot sector, partition table and everything. If
> 
>  (a) the one (or the other) disk isn't broken
>  (b) no one else is concurrently writing to the copied disk
> 
> everything should work. And from the thread up to now, I gather that
> there's at least good evidence against (b).
> 
And yet, oh and yet, it WASN'T working, WAS it?

Hence my suggestion.

Mark


Reply to: