update:arch

This commit is contained in:
Dich
2025-04-19 11:33:15 +08:00
parent 2514dd73cf
commit 8c9d986ec8

View File

@ -127,6 +127,25 @@ sudo nano /etc/default/grub
``` ```
sudo grub-mkconfig -o /boot/grub/grub.cfg sudo grub-mkconfig -o /boot/grub/grub.cfg
``` ```
或者``手动添加``
```
nano /etc/grub.d/40_custom
```
```
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Windows 11 (Manual)" {
insmod part_gpt
insmod fat
insmod chain
set root='hd0,gpt1'
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
```
## Arch中安装QEMU虚拟机 ## Arch中安装QEMU虚拟机
前面我们已经安装了Qemu高性能虚拟机平台和virt-manager用来管理虚拟机的图形界面随后配置virt-manager并安装Ubuntu-server 前面我们已经安装了Qemu高性能虚拟机平台和virt-manager用来管理虚拟机的图形界面随后配置virt-manager并安装Ubuntu-server