Thank you for the explanation about the boot program. It worked.

I will try to modify plan9.ini so that I do not have to enter the commands manually.

Best Wishes,
bengt

On Tue, 26 Mar 2024 at 02:56, Jacob Moody <moody@posixcafe.org> wrote:
On 3/23/24 11:04, Bengt Kleberg wrote:
> Greetings,
>
> I try to get 9front running in a x86_64 VM. From
> https://9front.org/iso I have 9front-10277.amd64.qcow2. From
> http://fqa.9front.org/fqa3.html#3.3.1 I created the command
>
> $ qemu-system-x86_64 -m 1024 \
> -net nic,model=virtio,macaddr=00:20:91:37:33:77 -net user \
> -device virtio-scsi-pci,id=scsi \
> -drive if=none,id=vd0,file=9front-10277.qcow2.img \
> -device scsi-hd,drive=vd0
>
> This will pop-up a small window with 9front where i can select
> bootargs and user. Which is good. But I get an error:
> bind: #i: no frame buffer
>
> And then rio can not open display.
>
> I get a (rc) shell, but would like graphics.
>
> How do I add a frame buffer to either 9front-10277.qcow2.img or to the
> QEMU command?

The amd64 qcow2 does not configure a graphical interface by default.
You can change this by changing values in the plan9.ini during boot.
Those would be. You can do this by pressing keys while it boots until
you get dropped at a:
 >
prompt then typing to following:

vgasize=ask
monitor=ask
mouseport=ask
boot

Or you can just do as another person mentioned in this thread and use the ISO file.



--

Bengt Kleberg

-- 

Product Development


--------------------------------------- enabling your networks -------------------------------------

Travelping GmbH 
Roentgenstraße 13
39108 Magdeburg
Germany

phone: +49 391 660 98560
mail: info@travelping.com
website: https://www.travelping.com/

Company registration: Amtsgericht Stendal 
Managing Director: Holger Winkelmann
Reg. No.: HRB 10578
VAT ID: DE236673780