update linux 9p image mount hook doc

should be host9p, otherwise the initcpio hook will try to mount
/dev/sda1 (or whatever you have configured) over /new_root as a 9p
fs (which it isn't) and the system will complain with "no channels
available" and drop you in the emergency shell. Instead, host9p
should be mounted over /new_root as type 9p.
This commit is contained in:
Rick van de Loo 2017-04-30 21:51:49 +02:00 committed by Fabian
parent 217cc5078f
commit bfff744a1c

View file

@ -31,7 +31,7 @@ run_hook() {
mount_9p_root() {
msg ":: mounting '$root' on real root (9p)"
if ! mount -t 9p "$root" "$1"; then
if ! mount -t 9p host9p "$1"; then
echo "You are now being dropped into an emergency shell."
launch_interactive_shell
msg "Trying to continue (this will most likely fail) ..."