summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBen Woods <git@ben.woods.am>2025-03-11 00:26:01 +0800
committerGitHub <noreply@github.com>2025-03-11 00:26:01 +0800
commit56dc22bd87f5add0428d33ebf225c95803b3a7d2 (patch)
treeadc3a423b2dac739ca8ebc905b08ae4bdf21eff6 /src
parent344455475089ee03e3e3a1ad9f7e61b69a2fdfff (diff)
downloadvyos-1x-56dc22bd87f5add0428d33ebf225c95803b3a7d2.tar.gz
vyos-1x-56dc22bd87f5add0428d33ebf225c95803b3a7d2.zip
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
Diffstat (limited to 'src')
-rwxr-xr-xsrc/op_mode/image_installer.py3
1 files changed, 1 insertions, 2 deletions
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')