From 4829b46c2453e3f94409ce622e1faedf3d11b457 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Sat, 30 Apr 2011 10:31:48 -0700 Subject: Yet another better alignment start Parted has magic value '0%' which causes it to choose optimum alignment (2048 on most disks). --- scripts/install/install-get-partition | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/install/install-get-partition') diff --git a/scripts/install/install-get-partition b/scripts/install/install-get-partition index e8ccb153..debb2eaa 100755 --- a/scripts/install/install-get-partition +++ b/scripts/install/install-get-partition @@ -34,8 +34,8 @@ PARTITION='' # default file system type ROOT_FSTYPE='ext3' -# alignment of root partition (skip to 32Kb boundary) -ROOT_OFFSET="63S" +# start of root partition (0% is magic to tell parted to align) +ROOT_OFFSET="0%" warn_of_dire_consequences () { # Give the user a requisite warning that we are about to nuke their drive -- cgit v1.2.3