Netboot Imaging
Netboot Imaging
#Zero out drive ansible labd_linux -m shell -u root -a "dd if=/dev/zero of=/dev/sda bs=1M count=1024" #Copy MBR ansible labd_linux -m shell -u root -a "dd if=/var/local/ecc/mbr.bin of=/dev/sda bs=512 count=1" #Sanity Check ansible labd_linux -m shell -u root -a "fdisk -l /dev/sda" #Copy partition 1 ansible labd_linux -m shell -u root -a "ntfsclone --restore-image --overwrite /dev/sda1 /var/local/ecc/ecc-p1.img" #Copy partition 2 ansible labd_linux -m shell -u root -a "ntfsclone --restore-image --overwrite /dev/sda2 /var/local/ecc/ecc-p2.img"
Tags
None
Subscribers
None
- Last Author
- newellz2
- Last Edited
- Aug 21 2017, 10:01 AM