From 686edd2722f83fb44a4c4610496a028bcffd3ed3 Mon Sep 17 00:00:00 2001 From: jedi Date: Wed, 29 Jan 2020 21:03:26 +0100 Subject: [PATCH] wip --- entry.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/entry.sh b/entry.sh index b10ce58..380f95a 100755 --- a/entry.sh +++ b/entry.sh @@ -29,12 +29,18 @@ function first_stage(){ ) | fdisk ${DEVICE} partprobe + lsblk + echo mkfs.ext4 ${DEVICE}1 mkfs.ext4 ${DEVICE}1 - mount ${DEVICE}p1 $TARGET - echo mount ${DEVICE}p1 $TARGET + echo mkfs.ext4 ${DEVICE}2 + mkfs.ext4 ${DEVICE}2 + mount ${DEVICE}2 $TARGET + echo mount ${DEVICE}2 $TARGET echo debootstrap sid $TARGET debootstrap sid $TARGET + mount ${DEVICE}1 $TARGET/boot + echo mount ${DEVICE}1 $TARGET/boot } function second_stage(){