i-t: don't suggest zpool-import with altroot to /root

This *will fail* when remounted by the real root

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #12148
This commit is contained in:
наб 2021-05-28 18:52:48 +02:00 committed by Brian Behlendorf
parent 90d0023005
commit 2f5c39137a

View File

@ -878,7 +878,7 @@ mountroot()
echo "" echo ""
echo "No pool imported. Manually import the root pool" echo "No pool imported. Manually import the root pool"
echo "at the command prompt and then exit." echo "at the command prompt and then exit."
echo "Hint: Try: zpool import -R ${rootmnt} -N ${ZFS_RPOOL}" echo "Hint: Try: zpool import -N ${ZFS_RPOOL}"
shell shell
fi fi