Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Ahem A Rivet's Shot Newsgroups: comp.sys.raspberry-pi Subject: Re: Move bookworm system from SSD to NVME Date: Thu, 1 Aug 2024 19:29:23 +0100 Organization: A noiseless patient Spider Lines: 19 Message-ID: <20240801192923.a827ba8d22853e9bc6c5cfb3@eircom.net> References: <20240801171000.46ce321a2dd0cb03be7cba00@eircom.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Date: Thu, 01 Aug 2024 20:30:01 +0200 (CEST) Injection-Info: dont-email.me; posting-host="df6ab1a41eef019c1f5e1a21d392ad23"; logging-data="2451804"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18fef5nj/7nEjjCDfNcwtw8jW+XGmUsD5s=" Cancel-Lock: sha1:jW0dtJBt4RLW/nQdrU5YkyAKTIU= X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) X-Clacks-Overhead: "GNU Terry Pratchett" Bytes: 1805 On Thu, 1 Aug 2024 19:50:20 +0200 Jesper 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. -- Steve O'Hara-Smith Odds and Ends at http://www.sohara.org/ For forms of government let fools contest Whate're is best administered is best - Alexander Pope