summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-04-27 12:57:58 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-04-27 12:57:58 +0000
commit2af728aed7fbf3c494922bcfadb6c4271f553e63 (patch)
tree0fc51cf1803d8e872a76ad6022d4159dfca3f3df /rescue
parentf164ac0eb8d9fc0e3d2823f31a2cc3112c8bfaee (diff)
downloaddrakx-backup-do-not-use-2af728aed7fbf3c494922bcfadb6c4271f553e63.tar
drakx-backup-do-not-use-2af728aed7fbf3c494922bcfadb6c4271f553e63.tar.gz
drakx-backup-do-not-use-2af728aed7fbf3c494922bcfadb6c4271f553e63.tar.bz2
drakx-backup-do-not-use-2af728aed7fbf3c494922bcfadb6c4271f553e63.tar.xz
drakx-backup-do-not-use-2af728aed7fbf3c494922bcfadb6c4271f553e63.zip
after setting geometry H and S, we must re-compute C
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);