:: Re: [DNG] [OT] problem with quemu d…
Góra strony
Delete this message
Reply to this message
Autor: aitor
Data:  
Dla: dng
Temat: Re: [DNG] [OT] problem with quemu dnsmasq vs unbound
Hi,

On 21/1/22 14:21, al3xu5 via Dng wrote:
> Good. Thank you.
>
> Any need to change the dnsmasq configuration to avoid port conflicts?
>
> Or to load the tun module (as suggested by aitor -- Thanks aitor)?


I just follow the steps below:

1) Create a qcow image:

$ qemu-img create -f qcow2 devuan.qcow2 10G

2) Check the image:

$ qemu-img check devuan.qcow2
No errors were found on the image.
Image end offset: 262144

3) Run qemu with the following arguments:

# qemu-system-x86_64 \
-m 1024 -boot d -enable-kvm \
-smp 3 -net nic -net user -usb -device usb-tablet \
-hda devuan.qcow2 \
-cdrom /path_to_the_image/devuan_amd64.iso

At this point you should get something like this:

VNC server running on ::1:5900


4) Now, open a new terminal an run (it requires tigervnc-viewer or xtightvncviewer):

$ vncviewer :5900


HTH,

Aitor