[操作疑難] rsync clone a drive,唔識寫options

提示: 作者被禁止或刪除 內容自動屏蔽

本帖最後由 javacomhk 於 2022-2-16 08:22 編輯

rsync isn't for cloning drives, it's for copying files. The two things appear to be the same but have very important differences. Cloning a drive is a low-level operation that just creates a bit-for-bit image of one drive on another especially
for bootable disk.

可以參考下呢篇, 可以考慮用  dd 。

https://superuser.com/questions/ ... arddisk-using-rsync

TOP

if your p2 is just data files, i suggest you
1) add "--dry-run" the first time see if you think any file is missing in copying
2) do actual rsync twice to make sure all files are copied.
and also suggested by #2, a dd command is good enough
you can also use gparted to copy p2 to p1 and then resize p1

TOP

回覆 1# A4Paper

clone drive, should use dd

TOP

提示: 作者被禁止或刪除 內容自動屏蔽

TOP

提示: 作者被禁止或刪除 內容自動屏蔽

TOP

有時只要 Google 下就可以搵到答案啦
https://www.simplified.guide/linux/disk-uuid-set

TOP