From f21d85bfbce49b3b444104dc47b6078f5bd0960f Mon Sep 17 00:00:00 2001 From: bin456789 Date: Tue, 16 Apr 2024 23:29:19 +0800 Subject: [PATCH] =?UTF-8?q?debian:=20=E4=BF=AE=E5=A4=8D=E5=AD=98=E5=9C=A8?= =?UTF-8?q?=20sda=20(cidata)=20=E5=92=8C=20vda=20=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E5=90=91=20sda=20=E5=AE=89=E8=A3=85=20grub=20=E8=80=8C?= =?UTF-8?q?=E9=80=A0=E6=88=90=E5=AE=89=E8=A3=85=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian.cfg b/debian.cfg index c4e5c94..998b581 100644 --- a/debian.cfg +++ b/debian.cfg @@ -89,7 +89,6 @@ tasksel tasksel/first multiselect ssh-server d-i pkgsel/upgrade select none # B.4.11. 安装 bootloader -d-i grub-installer/bootdev string default # 添加 bootx64.efi d-i grub2/force_efi_extra_removable boolean true @@ -116,6 +115,7 @@ d-i partman/early_command string \ xda=$(wget --tries=5 $confhome/get-xda.sh -O- | sh -s); \ debconf-set partman-auto/disk "/dev/$xda"; \ + debconf-set grub-installer/bootdev "/dev/$xda"; \ rm -rf /usr/sbin/fdisk /usr/sbin/sfdisk; \ ttys=$(wget --tries=5 $confhome/ttys.sh -O- | sh -s console=); \