Skip to content

Commit

Permalink
i-t: don't suggest zpool-import with altroot to /root
Browse files Browse the repository at this point in the history
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 openzfs#12148
  • Loading branch information
nabijaczleweli authored and behlendorf committed May 30, 2021
1 parent 7b5bf47 commit 8d5f211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/initramfs/scripts/zfs
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ mountroot()
echo ""
echo "No pool imported. Manually import the root pool"
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
fi

Expand Down

0 comments on commit 8d5f211

Please sign in to comment.