소스 검색

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.
Rick van de Loo 7 년 전
부모
커밋
bfff744a1c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/linux-9p-image.md

+ 1 - 1
docs/linux-9p-image.md

@@ -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) ..."