wip
This commit is contained in:
parent
4bec3cb457
commit
fa48408251
1 changed files with 6 additions and 6 deletions
12
entry.sh
12
entry.sh
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue