diff options
-rwxr-xr-x | rescue/guessmounts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/rescue/guessmounts b/rescue/guessmounts index 0d1d9f50f..f94dc09ea 100755 --- a/rescue/guessmounts +++ b/rescue/guessmounts @@ -37,8 +37,10 @@ print STDERR "\nPlease wait, trying to find your root device...\n"; mkdir_p($target); -devices::init_device_mapper(); -lvm::detect_during_install(); +{ + local $::isInstall = 1; # so that detect_during_install() got called by init: + lvm::init(); +} fs::dmcrypt::init; my @parts = map { |