Path: ...!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jesper Newsgroups: comp.sys.raspberry-pi Subject: Re: Move bookworm system from SSD to NVME Date: Fri, 2 Aug 2024 07:14:31 +0200 Organization: A noiseless patient Spider Lines: 38 Message-ID: References: <20240801171000.46ce321a2dd0cb03be7cba00@eircom.net> <20240801192923.a827ba8d22853e9bc6c5cfb3@eircom.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 02 Aug 2024 07:14:31 +0200 (CEST) Injection-Info: dont-email.me; posting-host="8555355d2cfcde8305b34b23dd6126f8"; logging-data="2800506"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19gNSvdBNeDwYfm2igEL+zu" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:8tdZm+ar92Wbx3bF/Ipj/1XFUuY= Content-Language: da, en-GB In-Reply-To: Bytes: 2590 On 01.08.2024 21:38, Björn Lundin wrote: > On 2024-08-01 21:02, Jesper wrote: >> On 01.08.2024 20:29, Ahem A Rivet's Shot wrote: >>> On Thu, 1 Aug 2024 19:50:20 +0200 >>> Jesper wrote: >>> > >> But I still do not know what a command that clones both sda1 and sda2 >> to NVME should look like. Please? > > Really? It is given to you more than once > > dd if=/dev/sda of=/dev/nvme0n1 bs=1m I saw it, but thougt that the "sda"-part was just as an example. Did not know at that time it is name of the whole disc. I simple have too little knowledge about handling/naming discs in linux. Last night when I wrote the question if "raspberrypi" in the dd command would represent the whole disc, it crossed my mind a few times that maybe sda represented the whole disk. But now you all have helped me arrive at the goal: One command that fixes the whole copying. And also learned a bit. So a big thanks to all, and sorry about my ignorance :-) An order for the NVME, case and fan will be sent today. Best regards > > > /dev/sda is the WHOLE disk called /dev/sda > /dev/sdaX where X is a number is that PARTITION on the disk /dev/sda > > -- Jesper