summaryrefslogtreecommitdiffstats
path: root/perl-install/install_interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-09-18 21:42:21 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-09-18 21:42:21 +0000
commitd1f790931b430a7e632cac0b46313433fec7f998 (patch)
treeacd811801c15446bdafd7f01b8753746d7f1de81 /perl-install/install_interactive.pm
parentee9f3710e10dc30c02816097010c5a27868e33f5 (diff)
downloaddrakx-backup-do-not-use-d1f790931b430a7e632cac0b46313433fec7f998.tar
drakx-backup-do-not-use-d1f790931b430a7e632cac0b46313433fec7f998.tar.gz
drakx-backup-do-not-use-d1f790931b430a7e632cac0b46313433fec7f998.tar.bz2
drakx-backup-do-not-use-d1f790931b430a7e632cac0b46313433fec7f998.tar.xz
drakx-backup-do-not-use-d1f790931b430a7e632cac0b46313433fec7f998.zip
no_comment
Diffstat (limited to 'perl-install/install_interactive.pm')
-rw-r--r--perl-install/install_interactive.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_interactive.pm b/perl-install/install_interactive.pm
index 7f635f18f..187fddf1c 100644
--- a/perl-install/install_interactive.pm
+++ b/perl-install/install_interactive.pm
@@ -87,8 +87,8 @@ sub partitionWizardSolutions {
my ($s_root, $s_swap);
my $part = $o->ask_from_listf('', _("Which partition do you want to use to put Linux4Win?"), \&partition_table_raw::description, \@ok_forloopback) or return;
$o->ask_from_entries_refH('', _("Choose the sizes"), [
- _("Root partition size in MB: ") => { val => \$s_root, min => 1 + ($min_linux >> 11), max => min($part->{free} - 2 * $max_swap - $min_freewin, $max_linux) >> 11, type => 'range' },
- _("Swap partition size in MB: ") => { val => \$s_swap, min => 1 + ($min_swap >> 11), max => 2 * $max_swap >> 11, type => 'range' },
+ _("Root partition size in MB: ") => { val => \$s_root, min => 1 + ($min_linux >> 11), max => min($part->{free} - $max_swap - $min_freewin, $max_linux) >> 11, type => 'range' },
+ _("Swap partition size in MB: ") => { val => \$s_swap, min => 1 + ($min_swap >> 11), max => $max_swap >> 11, type => 'range' },
]) or return;
push @{$part->{loopback}},
{ type => 0x83, loopback_file => '/lnx4win/linuxsys.img', mntpoint => '/', size => $s_root << 11, device => $part, notFormatted => 1 },