iankelling.org
/
git
/
automated-distro-installer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
root2 partitions, various improvements
[automated-distro-installer]
/
fai
/
config
/
files
/
boot
/
chboot
/
DEFAULT
diff --git
a/fai/config/files/boot/chboot/DEFAULT
b/fai/config/files/boot/chboot/DEFAULT
index 6354ed95ecd06f71f118c39f37277b8453d188d9..adfbe1c31d71661d685b64abca31137f6bc0617a 100755
(executable)
--- 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
if [[ $(blockdev --getsize64 ${boot_disk}4) == 8388608 ]]; then
# old partition scheme
grub_dev=${boot_disk}4
-el
se
+el
if [[ $(blockdev --getsize64 ${boot_disk}5) == 8388608 ]]; then
grub_dev=${boot_disk}5
grub_dev=${boot_disk}5
+else
+ grub_dev=${boot_disk}7
fi
e mount $grub_dev $mount_point
fi
e mount $grub_dev $mount_point