[LINUX] Clone using the dd command

I want to clone to a new HDD / SSD

  1. Shrink the partition so that it fits in the new one with [Method in CUI required] such as gnome's disk manager.
  2. Clone using dd
# dd if=<inputDisk> of=<outputDisk> bs=1G conv=noerror,sync count=<n_size> status=progress

There are two capacities here: $ input <output $ and $ input> = output $

reference

[Disk Clone --ArchWiki](https://wiki.archlinux.jp/index.php/%E3%83%87%E3%82%A3%E3%82%B9%E3%82%AF%E3%81] % AE% E3% 82% AF% E3% 83% AD% E3% 83% BC% E3% 83% B3)

Recommended Posts

Clone using the dd command
Using cgo with the go command
Execute the COPY command using python's Psycopg
Automatically write admin.py using the django-extensions admin_generator command
Syntax highlighting on the command line using Pygments
Operate Route53 on the command line using AWS-CLI.
About the service command
Install the pip command
I want to automate ssh using the expect command!
I want to automate ssh using the expect command! part2
Try using the Twitter API
Speed up the netstat command
Try using the Twitter API
Try using the PeeringDB 2.0 API
Until the shell finds the command
Outline the face using Dlib (1)
[Linux / GCP] Corrected the error that occurred when using the Git command.
Dive into the Django Custom command [1]
Check the return value using PEP 380
Tokenize using the Hugging Face library
In the python command python points to python3.8
Precautions when using the urllib.parse.quote function
[linux] kill command to kill the process
Have python read the command output
Extract the targz file using python
The hostname command may be multifunctional
Try using the Python Cmd module
Hit the top command with htop
Let's display the map using Basemap
Notes on using matplotlib on the server
Get the file path using Pathlib
I tried using the checkio API
Command for the current directory Python
How to find out the number of CPUs without using the sar command