diff options
-rwxr-xr-x | scripts/install-system | 3 | ||||
-rwxr-xr-x | scripts/install/install-get-partition | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/scripts/install-system b/scripts/install-system index 9a860d63..99782fb1 100755 --- a/scripts/install-system +++ b/scripts/install-system @@ -867,7 +867,8 @@ create_partitions() { echo "Creating root partition on /dev/$ldrive" >> $INSTALL_LOG # make the root partition - output=$(parted -s /dev/$ldrive mkpart primary $start_offset $root_part_size) + # align at optimal block boundary + output=$(parted -s -a optimal /dev/$ldrive mkpart primary $start_offset $root_part_size) status=$? if [ "$status" != 0 ]; then echo -e "Error creating primary partition on $ldrive.\nPlease see $INSTALL_LOG for more details.\nExiting..." diff --git a/scripts/install/install-get-partition b/scripts/install/install-get-partition index 9b7aa259..f475b689 100755 --- a/scripts/install/install-get-partition +++ b/scripts/install/install-get-partition @@ -683,7 +683,7 @@ create_partitions() { lecho "Creating root partition on /dev/$ldrive" # make the root partition - output=$(parted -s /dev/$ldrive mkpart primary $start_offset $root_part_size) + output=$(parted -s -a optimal /dev/$ldrive mkpart primary $start_offset $root_part_size) status=$? if [ "$status" != 0 ]; then echo -e "Error creating primary partition on $ldrive.\nPlease see $INSTALL_LOG for more details.\nExiting..." |