A story about migrating entire Linux disk via SSH

I bought a new computer and transferred the entire disk to the new environment via SSH.

Why i needed

How it was done

Just run the dd command, transfer the data via ssh and mount it.

Copy of data

Execute the dd command from the old environment to transfer to the new environment. In my environment, when I ran from the new environment, the data could not be transferred normally. (When I tried hexdump, the order of the data changed. I doubted that it was related to Endian, but what about?)

dd if={device} | ssh {user}@{host} dd of={file}

user

host

device

file

mount

sudo mount -t auto -o loop {file} {mount_point}

file

mount_point

Recommended Posts

A story about migrating entire Linux disk via SSH
A story about a Linux beginner passing LPIC101 in a week
A story about a Linux beginner putting Linux on a Windows tablet
[Linux] A story about mounting a NAS through a firewall using NFS
A refreshing story about Python's Slice
A sloppy story about Python's Slice
A story about using Python's reduce
A story about remodeling Lubuntu into a Chromebook
A story about machine learning with Kyasuket
A story about Python pop and append
A story about a 503 error on Heroku open
About Linux
About Linux
About Linux
About Linux
About Linux ①
A story about simple machine learning using TensorFlow
A story about operating a GCP instance from Discord
A story about Go's global variables and scope
A story about displaying article-linked ads on Jubatus
A story about implementing a login screen with django
A story about running Python on PHP on Heroku
A story about modifying Python and adding functions
A story about data analysis by machine learning