summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
Diffstat (limited to 'rescue')
-rwxr-xr-xrescue/partimage_whole_disk1
1 files changed, 1 insertions, 0 deletions
diff --git a/rescue/partimage_whole_disk b/rescue/partimage_whole_disk
index 42fd9796a..245718035 100755
--- a/rescue/partimage_whole_disk
+++ b/rescue/partimage_whole_disk
@@ -80,6 +80,7 @@ sub rest_all() {
foreach my $hd (uniq(@used_hds)) {
put_in_hash($hd->{geom}, $forced_geom);
+ partition_table::raw::compute_nb_cylinders($hd->{geom}, $hd->{totalsectors});
#- write the partition table
partition_table::raw::zero_MBR($hd);