diff --git a/entry.sh b/entry.sh index 9d6f1c1..6386186 100755 --- a/entry.sh +++ b/entry.sh @@ -57,8 +57,8 @@ function first_stage(){ yes | mkfs.ext4 /dev/vg0/root echo lvcreate /dev/vg0 --name=swap --size=16G lvcreate /dev/vg0 --name=swap --size=16G - mkswap /dev/vg0/root - swapon /dev/vg0/root + mkswap /dev/vg0/swap + swapon /dev/vg0/swap echo mount /dev/vg0/root $TARGET mount /dev/vg0/root $TARGET echo debootstrap sid $TARGET