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,781 of 26,127    |
|    Ahem A Rivet's Shot to Jesper    |
|    Re: Move bookworm system from SSD to NVM    |
|    16 Aug 24 13:46:36    |
   
   From: steveo@eircom.net   
      
   On Fri, 16 Aug 2024 11:04:26 +0200   
   Jesper wrote:   
      
   > raspberrypi@raspberrypi:~ $ sudo dd if=/dev/sda of=/nvme0n1 bs=1b   
   > dd: error writing '/nvme0n1': No space left on device   
      
    Your command is missing a /dev it should be:   
      
   sudo dd if=/dev/sda of=/dev/nvme0n1 bs=1b   
   _______________________^^^^^   
      
    The "no space on device" error comes because without the /dev dd is   
   attempting to write a file called nvme0n1 in / but since / runs out of   
   space before it finishes the file is never closed and thus no directory   
   entry is written which is why yuou never see it.   
      
    Also I don't think bs=1b is likely to be a good blocksize (1   
   byte). If the version of dd you're using doesn't support bs=1m then try   
   bs=1024k or be=1048576. The idea is to get it to use the largest block size   
   (and thus writes) that the data path will support.   
      
   --   
   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)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca