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(){