From 3cf0113adb105bb45fda536bcc9db1d8456486a3 Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Mon, 8 Sep 2008 14:17:42 -0700 Subject: Account for size of diag partition when calculating disk size, which is needed in order to create the data partition. --- scripts/install-system | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/install-system') diff --git a/scripts/install-system b/scripts/install-system index 3b13a254..978627c9 100755 --- a/scripts/install-system +++ b/scripts/install-system @@ -357,6 +357,7 @@ check_for_new_raid () { do echo "Creating data partition: /dev/${drive}${data_dev}" size=$(get_drive_size $drive) + let size-=$part_start_offset create_partitions "$drive" $size $part_start_offset "no" sfdisk --change-id /dev/$drive $data_dev 0xfd done -- cgit v1.2.3