Reserve 512MB for boot + root

This commit is contained in:
Calin Crisan 2018-11-21 23:52:29 +02:00
parent f4dd731eca
commit d86eba8728

View File

@ -23,8 +23,7 @@ case "$1" in
test -b $data_dev && exit 0
msg_begin "Creating data partition"
root_end=$(partx -s -g -o END $root_dev)
data_start=$(($root_end + 1))
data_start=$((512 * 2048)) # up to 512MB reserved for boot + root
echo -e "n
p
3