From 2af728aed7fbf3c494922bcfadb6c4271f553e63 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 27 Apr 2005 12:57:58 +0000 Subject: after setting geometry H and S, we must re-compute C --- rescue/partimage_whole_disk | 1 + 1 file changed, 1 insertion(+) (limited to 'rescue/partimage_whole_disk') 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); -- cgit v1.2.1