diff options
Diffstat (limited to 'rescue/tree/etc')
-rwxr-xr-x | rescue/tree/etc/oem | 4 |
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"; |