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
minor fixes
[automated-distro-installer]
/
fai
/
config
/
files
/
root
/
fai-check
/
VOL_BUSTER_BOOTSTRAP
diff --git
a/fai/config/files/root/fai-check/VOL_BUSTER_BOOTSTRAP
b/fai/config/files/root/fai-check/VOL_BUSTER_BOOTSTRAP
index e063ab2b4a37fce0dbaa9108d2ec3dd1028992e4..e1b0b79a7bfbceab8b050cf97fd418af24241eb9 100755
(executable)
--- a/
fai/config/files/root/fai-check/VOL_BUSTER_BOOTSTRAP
+++ b/
fai/config/files/root/fai-check/VOL_BUSTER_BOOTSTRAP
@@
-56,9
+56,12
@@
for dev in $(btrfs fi show / | sed -rn 's#^\s*devid\s.*\s([^0-9 ]+)\S+$#\1#p' \
# for details
if [[ $(blockdev --getsize64 ${dev}4) == 8388608 ]]; then
# Old partition scheme
# for details
if [[ $(blockdev --getsize64 ${dev}4) == 8388608 ]]; then
# Old partition scheme
- dev+=4
+ grub_extn=${dev}4
+ elif [[ $(blockdev --getsize64 ${dev}5) == 8388608 ]]; then
+ grub_extn=${dev}5
else
else
- dev+=5
+ grub_extn=${dev}7
+ fi
fi
mount $dev /mnt
if $first; then
fi
mount $dev /mnt
if $first; then