wip
This commit is contained in:
parent
156432f4ab
commit
21a2d28d54
1 changed files with 18 additions and 2 deletions
20
entry.sh
20
entry.sh
|
@ -13,8 +13,24 @@ function first_stage(){
|
||||||
break
|
break
|
||||||
done
|
done
|
||||||
|
|
||||||
echo mkfs.ext4 ${DEVICE}p1
|
wipefs -a ${DEVICE}
|
||||||
mkfs.ext4 ${DEVICE}p1
|
|
||||||
|
(
|
||||||
|
echo o
|
||||||
|
echo n
|
||||||
|
echo
|
||||||
|
echo
|
||||||
|
echo +2G
|
||||||
|
echo n
|
||||||
|
echo
|
||||||
|
echo
|
||||||
|
echo
|
||||||
|
echo w
|
||||||
|
) | fdisk ${DEVICE}
|
||||||
|
partprobe
|
||||||
|
|
||||||
|
echo mkfs.ext4 ${DEVICE}1
|
||||||
|
mkfs.ext4 ${DEVICE}1
|
||||||
mount ${DEVICE}p1 $TARGET
|
mount ${DEVICE}p1 $TARGET
|
||||||
echo mount ${DEVICE}p1 $TARGET
|
echo mount ${DEVICE}p1 $TARGET
|
||||||
echo debootstrap sid $TARGET
|
echo debootstrap sid $TARGET
|
||||||
|
|
Loading…
Reference in a new issue