This commit is contained in:
j3d1 2020-01-29 21:12:06 +01:00
parent 4bec3cb457
commit fa48408251

View file

@ -5,7 +5,7 @@ function first_stage(){
set -e
echo foo first_stage
apt install debootstrap
apt install debootstrap partprobe
lsblk -ftpo NAME,FSTYPE,LABEL,UUID,FSAVAIL,MOUNTPOINT
select DEVICE in $(lsblk -frpno NAME); do
@ -18,17 +18,17 @@ function first_stage(){
(
echo o
echo n
echo
echo
echo p
echo 1
echo
echo +2G
echo n
echo p
echo 2
echo
echo
echo
echo
echo w
) | fdisk ${DEVICE}
partprobe
lsblk