Image Special Drives

From Hack Sphere Labs Wiki
Revision as of 18:23, 22 November 2014 by Webdawg (talk | contribs) (Mount Loop Image)

Jump to: navigation, search
killall udiskie

Use a filesystem with CRC Checking.

sudo dd if=/dev/sdc of=DEVICE.IMAGE bs=64M iflag=dsync oflag=dsync

Make more then one image, then sha512sum the images to make sure you have the good data.

Mount Loop Image

  • read/write
losetup --partscan --find --show disk.img
  • read only
losetup --partscan --find --show --read-only disk.img
  • mount
mount /dev/loop0p1 /media/temp
  • remove loop device

losetup -d /dev/loop0