To send the monitor to TCP: qemu-system-x86_64 \ Then issue monitor commands directly: info version Wait a few minutes for the system to boot, then connect via SSH: ssh -p 2200 send the monitor to your terminal: qemu-system-x86_64 \ To run headless, boot with -vnc set to none: qemu-system-x86_64 \ Start the image, with no VNC server, and connect its port 22 to your host's port 2200: qemu-system-x86_64 \Ĭonnect to it from another terminal: ssh -p 2200 example: ssh -p 2200 a snapshot of the image: qemu-img create \ This will open a graphical window where you can install the OS off the ISO. Install the ISO onto the virtual disk: qemu-system-x86_64 \ Creating and booting an imageĭownload an OS ISO, e.g., the netinstall Debian 9.7 ISO: wget Ĭreate a virtual disk: qemu-img create -f raw -o size=5G debian.9.7.netinst.img Some quick tips for using QEMU from the command line (on macOS, but should work on Linux too).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |