fix: correct partition for calling syslinux
This commit is contained in:
parent
e859cea4ee
commit
0bc18b7991
|
@ -49,6 +49,7 @@ function install_syslinux()
|
||||||
dd bs=440 count=1 conv=notrunc \
|
dd bs=440 count=1 conv=notrunc \
|
||||||
if=/usr/lib/syslinux/mbr/gptmbr.bin of="$drive"
|
if=/usr/lib/syslinux/mbr/gptmbr.bin of="$drive"
|
||||||
|
|
||||||
|
dev_from_partnum "$drive" 1
|
||||||
syslinux "$partition"
|
syslinux "$partition"
|
||||||
|
|
||||||
mount_efi "$drive"
|
mount_efi "$drive"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user