summaryrefslogtreecommitdiffstats
path: root/rescue/tree/etc/oem
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/tree/etc/oem')
-rwxr-xr-xrescue/tree/etc/oem3
1 files changed, 2 insertions, 1 deletions
diff --git a/rescue/tree/etc/oem b/rescue/tree/etc/oem
index e1a546531..7b471f0a6 100755
--- a/rescue/tree/etc/oem
+++ b/rescue/tree/etc/oem
@@ -106,7 +106,7 @@ while (<F>) {
}
close F;
for (1..2) {
- open F, "parted /dev/$hd print |";
+ open F, "parted /dev/$hd -s print |";
while (<F>) {
/^Disk geometry [^:]*:\s*([\d\.]+)-([\d\.]+)/ and do { $hd_size = $2 - $1 };
#/^Disk label type:\s*msdos/ and do { $hd_type = 'msdos' };
@@ -182,6 +182,7 @@ Type \`\`yes'' and [enter] to go on\n"
} else {
$point = $hd_parts[$fat_pos]{end};
}
+ $point+=9; #- keep blank space between partitions if parted cannot handle partition table correctly.
} else {
unless (defined $yes) {
do {