Browse Source

Update 'README.md'

master
Joshua Pickard 4 years ago
parent
commit
06fcc03a49
  1. 9
      README.md

9
README.md

@ -9,6 +9,7 @@
+ [Linux Users](https://git.laurelcountycorrections.org/jpickard/cheat-sheet/src/branch/master/README.md#linux-users) + [Linux Users](https://git.laurelcountycorrections.org/jpickard/cheat-sheet/src/branch/master/README.md#linux-users)
+ [Windows](https://git.laurelcountycorrections.org/jpickard/cheat-sheet/src/branch/master/README.md#windows) + [Windows](https://git.laurelcountycorrections.org/jpickard/cheat-sheet/src/branch/master/README.md#windows)
+ [Data Recovery](https://git.laurelcountycorrections.org/jpickard/cheat-sheet/src/branch/master/README.md#data-recovery) + [Data Recovery](https://git.laurelcountycorrections.org/jpickard/cheat-sheet/src/branch/master/README.md#data-recovery)
+ [QEMU](https://git.laurelcountycorrections.org/jpickard/cheat-sheet/src/branch/master/README.md#qemu)
My cheat sheet for commands I have trouble remembering. My cheat sheet for commands I have trouble remembering.
@ -163,3 +164,11 @@ Take an image of a drive and log:
Clone Disk A to Disk B: Clone Disk A to Disk B:
`sudo ddrescue --force --no-scrape /dev/sdA /dev/sdB path/to/log.txt` `sudo ddrescue --force --no-scrape /dev/sdA /dev/sdB path/to/log.txt`
# QEMU
## Get disk information
`qemu-img info disk.qcow2`
## Shrink .qcow2
`qemu-img resize disk.qcow2 --shrink -10G`
Loading…
Cancel
Save