mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 10:31:17 -03:00
Add erase all confirmation.
This commit is contained in:
parent
0a4238165c
commit
e39b2de861
3 changed files with 31 additions and 6 deletions
|
|
@ -20,7 +20,7 @@ mount /dev/mapper/${VGNAME}-${LVROOTNAME} /target
|
|||
# And mount other directories
|
||||
for n in proc sys dev etc/resolv.conf; do mount --rbind "/$n" "/target/$n"; done
|
||||
|
||||
# Change root
|
||||
# Change root and create the keyfile and ramfs image for Linux kernel.
|
||||
cat <<HEREDOC | chroot /target /bin/bash
|
||||
```
|
||||
# Mount the rest of partitions by target /etc/fstab
|
||||
|
|
@ -50,4 +50,8 @@ update-initramfs -uk all
|
|||
exit
|
||||
HEREDOC
|
||||
|
||||
echo "3-para-install.sh : Done."
|
||||
cat <<HEREDOC
|
||||
|
||||
3-pro-install.sh : Done. Ready to reboot.
|
||||
|
||||
HEREDOC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue