mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 10:31:17 -03:00
Refine a comment of change root
This commit is contained in:
parent
8a31bb92b0
commit
cdd00a6760
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
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.
|
# Change root and create the keyfile and ramfs image for Linux kernel.
|
||||||
echo "Chroot."
|
echo "...Chroot to /target."
|
||||||
cat <<HEREDOC | chroot /target /bin/bash
|
cat <<HEREDOC | chroot /target /bin/bash
|
||||||
# Mount the rest of partitions by target /etc/fstab
|
# Mount the rest of partitions by target /etc/fstab
|
||||||
mount -a
|
mount -a
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue