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