From: steveo@eircom.net   
      
   On Thu, 1 Aug 2024 17:47:32 +0200   
   Jesper 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   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|