From 99727567b054f89fa901f824dbe501e303871fae Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 30 Aug 2016 10:44:02 -0600 Subject: [PATCH] Switch cloud base back to extlinux from grub2. We need to unset the 64bit option on ext4 to make extlinux work. See https://bugzilla.redhat.com/show_bug.cgi?id=1369934 and http://www.syslinux.org/wiki/index.php/Filesystem#ext --- fedora-cloud-base.ks | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/fedora-cloud-base.ks b/fedora-cloud-base.ks index e4d992a..14f04bb 100644 --- a/fedora-cloud-base.ks +++ b/fedora-cloud-base.ks @@ -36,14 +36,20 @@ user --name=none firewall --disabled -bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" +bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" --extlinux network --bootproto=dhcp --device=link --activate --onboot=on services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final zerombr clearpart --all -part / --fstype ext4 --grow +# +# We need to disable 64bit options here or extlinux won't work. +# See: http://www.syslinux.org/wiki/index.php/Filesystem#ext4 +# and +# https://bugzilla.redhat.com/show_bug.cgi?id=1369934 +# +part / --fstype ext4 --grow --mkfsoptions="-O ^64bit" %include fedora-repo.ks @@ -82,7 +88,7 @@ which #-kbd -uboot-tools -kernel -grub2 +-grub2 %end @@ -245,9 +251,7 @@ rm -f /var/lib/rpm/__db* # where sfdisk seems to be messing up the mbr. # Long-term fix is to address this in anaconda directly and remove this. # -#dd if=/usr/share/syslinux/mbr.bin of=/dev/vda -# Disabled with the switch back to grub2 - +dd if=/usr/share/syslinux/mbr.bin of=/dev/vda # FIXME: is this still needed? echo "Fixing SELinux contexts."