Refine a comment of change root

This commit is contained in:
Suikan 2021-06-29 14:47:48 +09:00
parent 8a31bb92b0
commit cdd00a6760

View file

@ -23,7 +23,7 @@ echo "...Mount all other dirs."
for n in proc sys dev etc/resolv.conf; do mount --rbind "/$n" "/target/$n"; done
# Change root and create the keyfile and ramfs image for Linux kernel.
echo "Chroot."
echo "...Chroot to /target."
cat <<HEREDOC | chroot /target /bin/bash
# Mount the rest of partitions by target /etc/fstab
mount -a