diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-04-27 12:57:58 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-04-27 12:57:58 +0000 |
commit | 2af728aed7fbf3c494922bcfadb6c4271f553e63 (patch) | |
tree | 0fc51cf1803d8e872a76ad6022d4159dfca3f3df /rescue | |
parent | f164ac0eb8d9fc0e3d2823f31a2cc3112c8bfaee (diff) | |
download | drakx-2af728aed7fbf3c494922bcfadb6c4271f553e63.tar drakx-2af728aed7fbf3c494922bcfadb6c4271f553e63.tar.gz drakx-2af728aed7fbf3c494922bcfadb6c4271f553e63.tar.bz2 drakx-2af728aed7fbf3c494922bcfadb6c4271f553e63.tar.xz drakx-2af728aed7fbf3c494922bcfadb6c4271f553e63.zip |
after setting geometry H and S, we must re-compute C
Diffstat (limited to 'rescue')
-rwxr-xr-x | rescue/partimage_whole_disk | 1 |
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); |