Installation Rancher OS: No grub-install?

Hi guys,
I try to install Rancher OS on a RAID 1 configuration. I read this Medium article. At some point, the author is usinge grub-install but it cannot be found on my console when booting rancher os from the iso image (1.3.0 btw). Now, I am even more puzzled as I reviewed the official installation script that is also using grub-install in line 112.

What do I do wrong that I cannot find it by myself?


RancherOS used to use Grub, but uses syslinux now. You can generally follow that article except for the Grub part. After setting up your RAID and creating a RANCHER_STATE partition you should be able to do something like:

mkdir /mnt/boot
mount /dev/mdX /mnt/boot
mkdir -p /mnt/boot/boot/syslinux

# Setup each drive
system-docker run --privileged -v /mnt/boot:/mnt/boot --entrypoint /bin/sh ${INSTALLER_IMAGE} -c "dd bs=440 count=1 if=/usr/share/syslinux/gptmbr.bin of=/dev/sdX"

system-docker run --privileged -v /mnt/boot:/mnt/boot --entrypoint /bin/sh ${INSTALLER_IMAGE} -c "cp -a /usr/share/syslinux/* /mnt/boot/boot/syslinux/"
system-docker run --privileged -v /mnt/boot:/mnt/boot --entrypoint /bin/sh ${INSTALLER_IMAGE} -c "extlinux --install --raid /mnt/boot/boot/syslinux"
system-docker run --privileged -v /mnt/boot:/mnt/boot --entrypoint /bin/sh ${INSTALLER_IMAGE} -c "cp -a /dist/* /mnt/boot/boot/"
system-docker run --privileged -v /mnt/boot:/mnt/boot --entrypoint /bin/sh ${INSTALLER_IMAGE} -c "cp /dist/isolinux/isolinux.cfg /mnt/boot/boot/syslinux/syslinux.cfg"

echo "APPEND rancher.state.mdadm_scan rancher.state.wait console=tty0" > /mnt/boot/global.cfg
cp /mnt/boot/global.cfg /mnt/boot/boot/global.cfg