From 8ef087a3bbcb3da6269e4b879f13e75539ba1691 Mon Sep 17 00:00:00 2001 From: Yorick Date: Wed, 12 Oct 2016 11:49:16 +0200 Subject: [PATCH] Add a sleep after writing mbr.bin because syslinux doesn't work --- init.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.sh b/init.sh index 39ae60a..f35ba96 100755 --- a/init.sh +++ b/init.sh @@ -164,7 +164,8 @@ then # In this mode, we need to write syslinux MBR. echo "Writing syslinux mbr.ini fo $dest" dd bs=440 count=1 conv=notrunc if=${syslinux_mod}/${BOOT_TYPE}/mbr.bin of=${dest} - syslinux --directory syslinux --install ${dest}1 + sleep 2 + syslinux --directory /syslinux --install ${dest}1 fi exit 0 fi