14 lines
203 B
Bash
14 lines
203 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
drive=/dev/nvme1n1
|
|
|
|
mount ${drive}p3 /mnt
|
|
mount ${drive}p1 /mnt/boot/efi
|
|
|
|
mount --bind /dev /mnt/dev
|
|
mount --bind /sys /mnt/sys
|
|
mount --bind /proc /mnt/proc
|
|
mount --bind /run /mnt/run
|