wip
This commit is contained in:
parent
21a2d28d54
commit
686edd2722
1 changed files with 8 additions and 2 deletions
10
entry.sh
10
entry.sh
|
@ -29,12 +29,18 @@ function first_stage(){
|
||||||
) | fdisk ${DEVICE}
|
) | fdisk ${DEVICE}
|
||||||
partprobe
|
partprobe
|
||||||
|
|
||||||
|
lsblk
|
||||||
|
|
||||||
echo mkfs.ext4 ${DEVICE}1
|
echo mkfs.ext4 ${DEVICE}1
|
||||||
mkfs.ext4 ${DEVICE}1
|
mkfs.ext4 ${DEVICE}1
|
||||||
mount ${DEVICE}p1 $TARGET
|
echo mkfs.ext4 ${DEVICE}2
|
||||||
echo mount ${DEVICE}p1 $TARGET
|
mkfs.ext4 ${DEVICE}2
|
||||||
|
mount ${DEVICE}2 $TARGET
|
||||||
|
echo mount ${DEVICE}2 $TARGET
|
||||||
echo debootstrap sid $TARGET
|
echo debootstrap sid $TARGET
|
||||||
debootstrap sid $TARGET
|
debootstrap sid $TARGET
|
||||||
|
mount ${DEVICE}1 $TARGET/boot
|
||||||
|
echo mount ${DEVICE}1 $TARGET/boot
|
||||||
}
|
}
|
||||||
|
|
||||||
function second_stage(){
|
function second_stage(){
|
||||||
|
|
Loading…
Reference in a new issue