update:arch

This commit is contained in:
dichgrem
2025-03-26 18:27:59 +08:00
parent 6c249d0637
commit 1e93a28477

View File

@ -195,6 +195,29 @@ GRUB_DISABLE_OS_PROBER=false
sudo grub-mkconfig -o /boot/grub/grub.cfg
```
## Arch中安装QEMU虚拟机
使用Qemu在arch上面搭建Ubuntu-server虚拟机需要在Virt-Manager中开启3D加速
- NIC
```
<graphics type="spice">
<listen type="none"/>
<image compression="off"/>
<gl enable="yes" rendernode="/dev/dri/by-path/pci-0000:05:00.0-render"/>
</graphics>
```
- video virtio
```
<video>
<model type="virtio" heads="1" primary="yes">
<acceleration accel3d="yes"/>
</model>
<alias name="video0"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
</video>
```
随后使用electerm进行SSH连接如果无法连接可以将Tun模式开启的"strict_route"关闭。
## **后记**