diff --git a/lfs/flash-images b/lfs/flash-images index f2ac6a34a..79fa75ba8 100644 --- a/lfs/flash-images +++ b/lfs/flash-images @@ -163,6 +163,9 @@ ifeq "$(BOOTLOADER)" "grub" mkdir -pv $(MNThdd)/boot/grub chroot $(MNThdd) grub-mkconfig -o /boot/grub/grub.cfg + # Boot the first kernel by default + chroot $(MNThdd) grub-set-default 0 + # Insert the UUID because grub-mkconfig often fails to # detect that correctly sed -i $(MNThdd)/boot/grub/grub.cfg \