pull/1/head
beech 2 years ago
parent 3ff7173269
commit 9ca507535d
  1. 16
      install1-ex.sh

@ -38,22 +38,22 @@ echo "-------------------------------------------------"
echo "Creating Filesystems"
echo "-------------------------------------------------"
mkfs.fat -F32 $(Diskname)1 # FAT32 boot partition
mkswap $(Diskname)2 # create SWAP
swapon $(Diskname)2 # enable SWAP
mkfs.ext4 $(Diskname)3
mkfs.ext4 $(Diskname)4
mkfs.fat -F32 "$(Diskname)1" # FAT32 boot partition
mkswap "$(Diskname)2" # create SWAP
swapon "$(Diskname)2" # enable SWAP
mkfs.ext4 "$(Diskname)3"
mkfs.ext4 "$(Diskname)4"
# mount partitions
echo "-------------------------------------------------"
echo "Mounting Partitions"
echo "-------------------------------------------------"
mount $(Diskname)3 /mnt
mount "$(Diskname)3" /mnt
mkdir /mnt/boot
mkdir /mnt/home
mount $(Diskname)1 /mnt/boot
mount $(Diskname)4 /mnt/home
mount "$(Diskname)1" /mnt/boot
mount "$(Diskname)4" /mnt/home
# set download mirrors
echo "-------------------------------------------------"