Sujet : Re: Move bookworm system from SSD to NVME
De : news (at) *nospam* druck.org.uk (druck)
Groupes : comp.sys.raspberry-piDate : 01. Aug 2024, 21:38:01
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v8grn9$2aknv$4@dont-email.me>
References : 1 2
User-Agent : Mozilla Thunderbird
On 31/07/2024 23:28, Lawrence D'Oliveiro wrote:
On Wed, 31 Jul 2024 09:51:00 +0200, Jesper wrote:
3: Connect NVME to raspi, boot from SD-card and copy the system from
SSD to NVME. But how?
Use rsync to do a file-level copy. Then the difference in volume sizes
won’t matter.
I haven’t done this on ARM, only on x86 machines (several times), but the
procedure should be similar:
It does work on the Pi, I've taken and restored backup using this method
many times. As long as you use the correct flags on rsync (a bit of a
black art) all the file attributes are preserved and Linux will work.
after copying the installation across, you
will need to fix up /etc/fstab for the changed filesystem IDs, and also
reinstall the bootloader. Then you should be good to go.
Yes I'd forgotten to mention that bit in my post, but don't forget to
modify cmdline.txt on the FAT partition, as that will either contain a
device name or a partition uuid of the original disc.
---druck