This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NEWHOSTNAME=$1 | |
| ROOTPASSWD=$2 | |
| # Keymap | |
| loadkeys jp106 | |
| # Setup HDD | |
| sudo parted /dev/mmcblk1 mklabel gpt | |
| parted /dev/mmcblk1 mkpart ESP fat32 1MiB 551MiB | |
| parted /dev/mmcblk1 mkpart primary ext4 551MiB 100% |