Archive

Posts Tagged ‘zcat’

Da immagine a disco via rete con netcat

September 4th, 2008

 Powered by Max Banner Ads 

sul target host partire con una LIVE linux e mettere netcat in ascolto in questo modo…

  netcat -l -p 1234 | dd of=/dev/sda bs=16065b

sul master (dove risiede l’immagine gzippata)

  zcat immagine.gz | netcat 192.168.1.1 1234

Fabio Laganà Debian, Shell, netcat , ,

cloning disk using dd

May 29th, 2008

from your machine to external usb disk:

dd if=/dev/<your machine disk> | gzip > /path/nameofyourimg.gz

from your img saved to external usb disk:

zcat /path/nameofyourimg.gz | dd of=/dev/<your machine disk>

Fabio Laganà Debian, Linux, Shell , , , ,