home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.sys.raspberry-pi      Raspberry Pi computers & related hardwar      26,127 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 24,684 of 26,127   
   Jesper to Ahem A Rivet's Shot   
   Re: Move bookworm system from SSD to NVM   
   01 Aug 24 21:02:06   
   
   From: Vitsky.kasperski@gmail.com   
      
   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 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   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca