Deutsch   English   Français   Italiano  
<v8gm3e$2atj2$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Jesper <Vitsky.kasperski@gmail.com>
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Move bookworm system from SSD to NVME
Date: Thu, 1 Aug 2024 21:02:06 +0200
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <v8gm3e$2atj2$1@dont-email.me>
References: <v8cqd6$1gdnp$1@dont-email.me> <v8e73l$1o2dm$1@dont-email.me>
 <v8frll$24ic1$1@dont-email.me> <v8ft4f$250uj$1@dont-email.me>
 <v8gamm$28554$1@dont-email.me>
 <20240801171000.46ce321a2dd0cb03be7cba00@eircom.net>
 <v8ghss$290sp$1@dont-email.me>
 <20240801192923.a827ba8d22853e9bc6c5cfb3@eircom.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 01 Aug 2024 21:02:06 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="ed220cc1aed20b7676e554d2ce7c423f";
	logging-data="2455138"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/nhSMWJfzjnighewc+sXzT"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:lnnFvS8neQ2lPOGJ5RlxeIWZF2E=
Content-Language: da, en-GB
In-Reply-To: <20240801192923.a827ba8d22853e9bc6c5cfb3@eircom.net>
Bytes: 2188

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