X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=fai%2Fconfig%2Ffiles%2Fboot%2Fchboot%2FDEFAULT;h=adfbe1c31d71661d685b64abca31137f6bc0617a;hp=6354ed95ecd06f71f118c39f37277b8453d188d9;hb=b519001641b2dac6cff4c5c6523fb814f2249733;hpb=6315fdaa029f0f107d98fde18ab584f958e06108 diff --git a/fai/config/files/boot/chboot/DEFAULT b/fai/config/files/boot/chboot/DEFAULT index 6354ed9..adfbe1c 100755 --- a/fai/config/files/boot/chboot/DEFAULT +++ b/fai/config/files/boot/chboot/DEFAULT @@ -127,8 +127,10 @@ done if [[ $(blockdev --getsize64 ${boot_disk}4) == 8388608 ]]; then # old partition scheme grub_dev=${boot_disk}4 -else +elif [[ $(blockdev --getsize64 ${boot_disk}5) == 8388608 ]]; then grub_dev=${boot_disk}5 +else + grub_dev=${boot_disk}7 fi e mount $grub_dev $mount_point