fix: correct partition for calling syslinux

This commit is contained in:
Peter Šurda 2021-03-02 21:59:35 +01:00
parent e859cea4ee
commit 0bc18b7991
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ function install_syslinux()
dd bs=440 count=1 conv=notrunc \
if=/usr/lib/syslinux/mbr/gptmbr.bin of="$drive"
dev_from_partnum "$drive" 1
syslinux "$partition"
mount_efi "$drive"