Bootable Linux USB stick: Difference between revisions

Line 106: Line 106:


Save a compressed disk image - we use the parallel gzip program called pigz:
Save a compressed disk image - we use the parallel gzip program called pigz:
  pigz -c /dev/sdX > usbstick.img.gz
  pigz -c < /dev/sdX > usbstick.img.gz
(time: ~180 secs speed: ~175MB/s, size of image: 1.8 GB)
(time: ~180 secs speed: ~175MB/s, size of image: 1.8 GB)
write compressed image back to a stick:
write compressed image back to a stick:
  unpigz -c usbstick.img.gz > /dev/sdX
  unpigz -c < usbstick.img.gz > /dev/sdX
(speed: ~ 98MB/s)
(speed: ~ 98MB/s)