Add script to do vmdk files
This commit is contained in:
@@ -30,6 +30,18 @@ docker build -t ep-eraser-builder .
|
||||
docker run --rm -v "$PWD:/work" ep-eraser-builder
|
||||
```
|
||||
|
||||
## VMware/VirtualBox disk
|
||||
|
||||
Create a writable monolithic-sparse VMDK from the root ISO with `qemu-img` (`qemu-utils` on Debian):
|
||||
|
||||
```sh
|
||||
./create-vmdk.sh
|
||||
```
|
||||
|
||||
The script defaults to `ep-eraser-amd64.hybrid.iso` and writes `ep-eraser-amd64.vmdk` plus a SHA-256 sidecar in the project root. You can pass an ISO path and output VMDK path explicitly. The VMDK contains the same live boot image, not an installed OS or persistent live session. Attach it as an existing disk in VMware or VirtualBox; ESXi may require importing it into a datastore with `vmkfstools`.
|
||||
|
||||
The Docker builder includes `qemu-img` too. After building that image, run the converter with `docker run --rm -v "$PWD:/work" --entrypoint /work/create-vmdk.sh ep-eraser-builder`.
|
||||
|
||||
## Use
|
||||
|
||||
Boot the target machine from the image, inspect the disk list, and choose the exact device path. The program detects rotational media and presents the appropriate operation. Reboot after completion; do not remove the USB device until the result is shown.
|
||||
|
||||
Reference in New Issue
Block a user