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,783 of 26,127    |
|    The Natural Philosopher to Ahem A Rivet's Shot    |
|    Re: Move bookworm system from SSD to NVM    |
|    16 Aug 24 14:17:04    |
   
   From: tnp@invalid.invalid   
      
   On 16/08/2024 13:46, Ahem A Rivet's Shot wrote:   
   > 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   
      
   No. Again 2 things wroing.   
      
   /dev/nvme0 is the RAW device.   
      
   bs=1M is correct for decent transfer rate   
      
      
   >   
   > 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.   
   >   
   bs=1M is sensible.   
      
    1Mib.   
      
   --   
   Renewable energy: Expensive solutions that don't work to a problem that   
   doesn't exist instituted by self legalising protection rackets that   
   don't protect, masquerading as public servants who don't serve the public.   
      
   --- 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