From 8c9d986ec83060e7516144512901c3dd6c8b6800 Mon Sep 17 00:00:00 2001 From: Dich Date: Sat, 19 Apr 2025 11:33:15 +0800 Subject: [PATCH] update:arch --- content/awesome-arch-linux.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/content/awesome-arch-linux.md b/content/awesome-arch-linux.md index 9346bc7..0ffa92a 100644 --- a/content/awesome-arch-linux.md +++ b/content/awesome-arch-linux.md @@ -127,6 +127,25 @@ sudo nano /etc/default/grub ``` 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虚拟机 前面我们已经安装了Qemu高性能虚拟机平台和virt-manager用来管理虚拟机的图形界面,随后配置virt-manager并安装Ubuntu-server: