view · edit · sidebar · attach · print · history

20.3.2021

Convert image

 qemu-img convert -f vmdk -O qcow2 Vita.vmdk Vita.qcow2
  • Start qcow2

This forwards the local Host port 5555 to the 8000 port on the Guest

 qemu-system-x86_64 -m 8G -smp 2 --show-cursor --enable-kvm Vita.qcow2 -netdev user,id=net0,hostfwd=tcp::5555-:8000 -device vmxnet3,netdev=net0,id=net0,mac=52:54:00:c9:18:27

This forwards the local Host ports 8000,8100 and can also start via SSH

 qemu-system-x86_64 -nographic -m 8G -smp 2 --show-cursor --enable-kvm Vita.qcow2 -netdev user,id=net0,hostfwd=tcp::8000-:8000,hostfwd=tcp::8100-:8100 -device vmxnet3,netdev=net0,id=net0,mac=52:54:00:c9:18:27
  • Open a Browser and Login with
 http://localhost:5555/

Guestfish

  1. guestfish --rw --a Vita.qcow2
  2. launch
  3. list-filesystems
  4. mount /dev/vg00/lvol0 /
  5. vi /etc/shadow
view · edit · sidebar · attach · print · history
Page last modified on August 23, 2021, at 10:59 AM