home bbs files messages ]

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

   alt.os.linux.suse      Suse is actually not that bad      138,051 messages   

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

   Message 136,635 of 138,051   
   Carlos E.R. to bad sector   
   Re: no dd from TW   
   15 Oct 18 14:52:51   
   
   From: robin_listas@es.invalid   
      
   On 15/10/2018 04.59, bad sector wrote:   
   > On 10/14/2018 10:14 PM, Carlos E.R. wrote:   
      
      
   >> Please paste the exact command with output   
   >   
   > This would be a typical command (as root)   
   >   
   > dd if=/dev/sda2 of=/mnt/p02-backup-iso.dd   
   >   
   > I get output when it completes OK, such as blocks in & blocks out but   
   > when it fails everything freezes & locks up, a hard reset is then the   
   > only way out.   
      
   Then try this way:   
      
   dd if=/dev/sda2 of=/mnt/p02-backup-img.dd oflag=direct bs=16M   
      
      
   (side note: it is not an ISO image)   
      
      
   Rationale for the options:   
      
   direct  makes dd bypass the cache. The disk image will not be cached by   
   the kernel, eating most cache memory used by other processes, and making   
   the entire system run slow. I use this method on writing to USB sticks   
   and it is actually faster.   
      
   bs  by default dd writes blocks of 512 bytes, which is slow; and worse   
   once the cache is disabled.   
      
      
   --   
   Cheers, Carlos.   
      
   --- 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