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:15:55
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v8gqdr$2aknv$1@dont-email.me>
References : 1 2 3
User-Agent : Mozilla Thunderbird
On 01/08/2024 09:20, The Natural Philosopher wrote:
On 31/07/2024 21:33, druck wrote:
As long as your new NVME is larger than the SSD, you can just do low
level copy with the dd command, then resize the rootfs partition on
the new drive to use any extra space with the gparted program (if not
installed use: apt install gparted).
That will at least get over the problem of having a different partuuid etc
Yes the dd method will avoid any changes to partuuids, where as if you
use the rsync method you will have to change the values in /etc/fstab
and also potentially /boot/cmdline.txt (/boot/firmware/cmdline.txt on
Bookworm).
Is it possible to then create a DIFFERENT partition on the empty part of
the new disk? And mount it as - say - /home?
Yes, you can do this with gparted, move the existing /home to the new
partition and edit /etc/fstab to contain a line similar to:-
PARTUUID=abcd1234-03 /home ext4 nofail,noatime,errors=remount-ro 0 0
Then do a:-
mount -a
---druck