01-05-2020, 02:45 PM
(01-05-2020, 12:16 PM)dukla2000 Wrote: I am 99.9% certain plain old dd will work, but figure I want to try it before I write it!
I would say copying the data is one thing... even for it, dd is not a right tool, you may want to simply copy all files while preserving permissions.
Other than that, system files should be modified to let the system know what to do in order to work.
It is like modify fstab to mount appropriate partitions and kernel command line to load root on appropriate partition.
It is just a guess but similar settings are needed and not an exact copy what dd does.