aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/hydractl/provision3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index 50c689a..b57006b 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -237,8 +237,9 @@ else
else
# Make a 200MB boot partition
#boot_start="$(($bios_grub_end + 1))"
+ boot_size="200"
boot_start="`partition_sector_start $start $bios_grub_end $optimal_sector_size`"
- boot_size="$((200*megabyte/$block_size))"
+ boot_size="$(($boot_size * $megabyte / $block_size))"
boot_end="$(($boot_start + $boot_size -1))"
#lvm_start="$($boot_end + 1))"
lvm_start="`partition_sector_start $start $boot_end $optimal_sector_size`"