summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-17 13:54:52 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-17 13:54:52 +0000
commitfe9ffffad7e18076077ebb662d35bf344362d9fd (patch)
tree1350bb11e23744d7c6881b672631203c570b9493
parent9c5970eb40f5e21e435ccc6b9a4961d6869f8c26 (diff)
downloaddrakx-fe9ffffad7e18076077ebb662d35bf344362d9fd.tar
drakx-fe9ffffad7e18076077ebb662d35bf344362d9fd.tar.gz
drakx-fe9ffffad7e18076077ebb662d35bf344362d9fd.tar.bz2
drakx-fe9ffffad7e18076077ebb662d35bf344362d9fd.tar.xz
drakx-fe9ffffad7e18076077ebb662d35bf344362d9fd.zip
fixed parted problem.
-rwxr-xr-xrescue/tree/etc/oem4
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue/tree/etc/oem b/rescue/tree/etc/oem
index 1fd786829..5cfb6f8c8 100755
--- a/rescue/tree/etc/oem
+++ b/rescue/tree/etc/oem
@@ -140,8 +140,8 @@ if ($minor == 5) {
$point = $hd_parts[0]{start};
print F "resize $hd_parts[0]{minor} $point $hd_size\n";
}
-printf F "mkpart logical ext2 %s %s\n", $point, $point+$inst_size; $point+=$inst_size;
-printf F "mkpart logical linux-swap %s %s\n", $point, $point+$swap_size; $point+=$inst_size;
+printf F "mkpart logical ext2 %s %s\n", $point, $point+$inst_size; $point+=$inst_size+5;
+printf F "mkpart logical linux-swap %s %s\n", $point, $point+$swap_size; $point+=$inst_size+5;
printf F "mkpart logical ext2 %s %s\n", $point, $point+$root_size < $hd_size ? $point+$root_size : $hd_size;
print F "quit\n";
close F or die "unable to partition the disk $hd";