i want to setup Metasploitable VM as a lab in Qubes to practice on but im having some trouble.
Metasploitable comes as a . vmdk
I read this page, it instructs users to convert to .raw (where it specified win10, i have replaced with Metaspilotable)
qemu-img convert -O raw *.vmdk Metasploitable.raw
Successful.
The documentation then instructs the user to transfer the raw file to dom0 and seems to save it as a .img
qvm-run --pass-io name-of-vm 'cat /home/user/Metasploitable.raw' > /home/admin/metasploitable-root.img
terminal completes back to prompt
I then put in
qvm-create --property=virt_mode=hvm --property=memory=4096 --property=kernel='' --label red --standalone --root-move-from /home/user/win10-root.img win10
I get the following error
app: Error importing root volume (but VM created): Data import failed: not enough data (copied 8589934592 bytes, expected 10737418240 bytes)
I can see the āMetasploitableā VM in Qubes Manager. Red cube, standaloneVM
However when i go to run the VM a terminal opens & i get the following Error
Booting from Hard Diskā¦
Boot failed not a bootable diskBooting from Floppyā¦
Boot failed could not read the boot diskNo bootable device.
Any ideas whats gone wrong?
This is my first time trying to create a VM not based on a Qubes template, but did succesfully get Kali template installed.
VM also wont shut down and has to be ākilledā