From 56dc22bd87f5add0428d33ebf225c95803b3a7d2 Mon Sep 17 00:00:00 2001 From: Ben Woods Date: Tue, 11 Mar 2025 00:26:01 +0800 Subject: installer: T7049: Fix GRUB boot with RAID1 Rename directory in EFI system partition from: From: \EFI\VyOS (RAID disk 1) To: \EFI\VyOS This prevents GRUB dropping to a grub prompt rather than showing the VyOS boot menu, after installing with the RAID1 option. Refer bug: https://vyos.dev/T7049 --- src/op_mode/image_installer.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/op_mode/image_installer.py b/src/op_mode/image_installer.py index 609b0b347..047ffc7bd 100755 --- a/src/op_mode/image_installer.py +++ b/src/op_mode/image_installer.py @@ -877,8 +877,7 @@ def install_image() -> None: for disk_target in l: disk.partition_mount(disk_target.partition['efi'], f'{DIR_DST_ROOT}/boot/efi') grub.install(disk_target.name, f'{DIR_DST_ROOT}/boot/', - f'{DIR_DST_ROOT}/boot/efi', - id=f'VyOS (RAID disk {l.index(disk_target) + 1})') + f'{DIR_DST_ROOT}/boot/efi') disk.partition_umount(disk_target.partition['efi']) else: print('Installing GRUB to the drive') -- cgit v1.2.3