You are not logged in.

#1 2023-02-02 12:03:36

tony5429
Member
Registered: 2006-03-28
Posts: 1,025
Website

[SOLVED] Qemu not Starting with Arch Wiki Instructions

I'm trying to follow the Arch Wiki instructions for Qemu here - https://wiki.archlinux.org/title/QEMU

However, after running the commands (note, I've made one change to the second command to point to the "image_file" file made in the first command), nothing actually shows up - there's no Qemu popup window showing my virtualized machine...

[tony@arch ~]$ qemu-img create -f raw image_file 4GFormatting 'image_file', fmt=raw size=4294967296
[tony@arch ~]$ qemu-img create -o backing_file=image_file,backing_fmt=raw -f qcow2 img1.cow
Formatting 'img1.cow', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=4294967296 backing_file=image_file backing_fmt=raw lazy_refcounts=off refcount_bits=16
[tony@arch ~]$ qemu-system-x86_64 img1.cow
VNC server running on ::1:5901

Last edited by tony5429 (2023-02-03 11:50:25)

Offline

#2 2023-02-02 12:29:16

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: [SOLVED] Qemu not Starting with Arch Wiki Instructions

Not a QEMU expert at all, but... I think you're booting off from an empty (virtualized) Hard Disk. What if you try actually booting something? See "3.3".
Also:

WIKI wrote:
Tip:

    When running QEMU in headless mode, it starts a local VNC server on port 5900 per default. You can use TigerVNC to connect to the guest OS: vncviewer :5900

<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#3 2023-02-02 18:37:04

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] Qemu not Starting with Arch Wiki Instructions

tony5429 wrote:

there's no Qemu popup window showing my virtualized machine

Sounds like you've installed qemu-base but you actually want qemu-desktop.

EDIT: for clarity:

# pacman -S qemu-desktop # agree to replace qemu-base

Last edited by Head_on_a_Stick (2023-02-02 18:37:46)


Jin, Jîyan, Azadî

Offline

#4 2023-02-03 11:50:12

tony5429
Member
Registered: 2006-03-28
Posts: 1,025
Website

Re: [SOLVED] Qemu not Starting with Arch Wiki Instructions

Ah; that was it, Head_on_a_Stick! Thanks!

Offline

Board footer

Powered by FluxBB