rootfsinstall: baytrail: disable systemd gpt autodetection at boot

This commit is contained in:
Silvan Calarco 2018-09-13 11:14:46 +02:00
parent 3be5b99126
commit bffa688557

View File

@ -258,7 +258,7 @@ echo
[ "$ASSUMEYES" ] || { [ "$ASSUMEYES" ] || {
echo -n "All current data in ${DRIVE} will be lost, do you want to proceed [y/N]?" echo -n "All current data in ${DRIVE} will be lost, do you want to proceed [y/N]?"
read ans read ans
[ "$ans" = "y" -o "$ans" = "Y" ] || exit 0 [ "$ans" = "y" -o "$ans" = "Y" ] || exit 1
} }
if [ ! "$IMAGEMODE" -a ! "$FROMSCRIPTS" ]; then if [ ! "$IMAGEMODE" -a ! "$FROMSCRIPTS" ]; then
@ -498,7 +498,7 @@ search --no-floppy --label --set=root $VOLUME_LABEL
menuentry "default" { menuentry "default" {
echo "Loading /boot/$KERNELDEST" echo "Loading /boot/$KERNELDEST"
linux /boot/$KERNELDEST root=/dev/sda2 ro fbcon=rotate:1 quiet splash linux /boot/$KERNELDEST root=/dev/sda2 ro fbcon=rotate:1 systemd.gpt_auto=0 quiet splash
echo "Loading /boot/$INITRAMFSDEST" echo "Loading /boot/$INITRAMFSDEST"
initrd /boot/$INITRAMFSDEST initrd /boot/$INITRAMFSDEST
} }