| Deutsch English Français Italiano |
|
<20240801171000.46ce321a2dd0cb03be7cba00@eircom.net> 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: Ahem A Rivet's Shot <steveo@eircom.net> Newsgroups: comp.sys.raspberry-pi Subject: Re: Move bookworm system from SSD to NVME Date: Thu, 1 Aug 2024 17:10:00 +0100 Organization: A noiseless patient Spider Lines: 35 Message-ID: <20240801171000.46ce321a2dd0cb03be7cba00@eircom.net> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Date: Thu, 01 Aug 2024 18:30:01 +0200 (CEST) Injection-Info: dont-email.me; posting-host="df6ab1a41eef019c1f5e1a21d392ad23"; logging-data="2380090"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18e78Ji1ohxs9Ky0f6cBYk9YJGLMgrzOUk=" Cancel-Lock: sha1:RD8qruoUj13KYXBrOsv7XnHxp4A= X-Clacks-Overhead: "GNU Terry Pratchett" X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) Bytes: 2359 On Thu, 1 Aug 2024 17:47:32 +0200 Jesper <Vitsky.kasperski@gmail.com> wrote: > On 01.08.2024 13:55, The Natural Philosopher wrote: > > On 01/08/2024 12:31, Jesper wrote: > >> Then the system to copy is on the 2 last lines. Correct? > >> > > No. > > > > In order to preserve the partition information *you must dd the raw > > disk* > > > > dd id=/dev/sda od = /dev/nvme0n1 (or whatever) > > > > That will create a two partition disk with the UUIDS of the partitions > > the same as is mentioned in the boot data: If they don't match it wont > >boot. > > Are you saying that this command (the one right above) will clone the > whole disc, and the job is done? Probably not. When I run "dd --help" on > the system i want to clone, there is no information about the switch > "id" you use in the command. That command is wrong (or for an odd version of dd - but I think it's a finger slip) make that: dd if=/dev/sda of=/dev/nvme0n1 bs=1m The add bs=1m will probably work wonders for performance. -- 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