diff --git a/partitions.sh b/partitions.sh index 212df5d..b3f2e97 100644 --- a/partitions.sh +++ b/partitions.sh @@ -23,4 +23,10 @@ echo # default, extend partition to end of disk echo a # make a partition bootable echo 1 # bootable partition is partition 1 -- /dev/sda1 echo w # Write changes -) | fdisk /dev/sda \ No newline at end of file +) | fdisk /dev/sda + + +mkfs.ext4 $SYS +mkswap $SWAP +swapon $SWAP +mount $SYS $CHROOT \ No newline at end of file