This commit is contained in:
j3d1 2020-01-29 21:03:26 +01:00
parent 21a2d28d54
commit 686edd2722

View file

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