X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai%2Fconfig%2Ffiles%2Fboot%2Fchboot%2FDEFAULT;h=adfbe1c31d71661d685b64abca31137f6bc0617a;hb=6ca069946c8ff88d79d1ae421e0eda60ae1c514c;hp=6354ed95ecd06f71f118c39f37277b8453d188d9;hpb=61c3a58fcfadab7c333487f887b3f9f3a53bb93a;p=automated-distro-installer 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