From 1cfcd55df7d19bc82794a4ce3c5686748cbc0440 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Mon, 22 Sep 2003 14:56:13 +0000 Subject: avoid mounting partitions in recovery mode. --- perl-install/install_steps.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 161147c08..58a33b68d 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -199,7 +199,7 @@ sub doPartitionDisksAfter { die \N("You must have a FAT partition mounted in /boot/efi"); } - if ($o->{partitioning}{use_existing_root}) { + if ($o->{partitioning}{use_existing_root} && !$::recovery) { #- ensure those partitions are mounted so that they are not proposed in choosePartitionsToFormat fs::mount_part($_, $o->{prefix}) foreach sort { $a->{mntpoint} cmp $b->{mntpoint} } grep { $_->{mntpoint} && maybeFormatted($_) } @{$o->{fstab}}; -- cgit v1.2.1