Sujet : Re: Move bookworm system from SSD to NVME
De : Vitsky.kasperski (at) *nospam* gmail.com (Jesper)
Groupes : comp.sys.raspberry-piDate : 01. Aug 2024, 20:02:06
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v8gm3e$2atj2$1@dont-email.me>
References : 1 2 3 4 5 6 7 8
User-Agent : Mozilla Thunderbird
On 01.08.2024 20:29, Ahem A Rivet's Shot wrote:
On Thu, 1 Aug 2024 19:50:20 +0200
Jesper <Vitsky.kasperski@gmail.com> wrote:
But I can try running both commands:
dd if=/dev/sda2 of=/dev/nvme0n1 bs=1m
This will copy sda2 to nvme0n1
dd if=/dev/sda1 of=/dev/nvme0n1 bs=1m
This will overwrite that copy with sda1. You would probably be
better off cloning sda as a whole - that will get all partitions, boot
sectors etc.
Yes, that's also what The Natural Philosopher says in his reply. And I know that you both of course are right.
But I still do not know what a command that clones both sda1 and sda2 to NVME should look like. Please?
When I run ls /media i get this:
raspberrypi@raspberrypi:~ $ ls /media
raspberrypi
Could this work to clone the whole disc:
dd if=/dev/raspberrypi of=/dev/nvme0n1 bs=1m
Best regards
-- Jesper