From fa48408251811cb3a2ef2713ead8e309ae710bd3 Mon Sep 17 00:00:00 2001
From: jedi <git@m.j3d1.de>
Date: Wed, 29 Jan 2020 21:12:06 +0100
Subject: [PATCH] wip

---
 entry.sh | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/entry.sh b/entry.sh
index a9e9286..59eca20 100755
--- a/entry.sh
+++ b/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