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 "Creating Filesystems"
echo "-------------------------------------------------" echo "-------------------------------------------------"
mkfs.fat -F32 $(Diskname)1 # FAT32 boot partition mkfs.fat -F32 "$(Diskname)1" # FAT32 boot partition
mkswap $(Diskname)2 # create SWAP mkswap "$(Diskname)2" # create SWAP
swapon $(Diskname)2 # enable SWAP swapon "$(Diskname)2" # enable SWAP
mkfs.ext4 $(Diskname)3 mkfs.ext4 "$(Diskname)3"
mkfs.ext4 $(Diskname)4 mkfs.ext4 "$(Diskname)4"
# mount partitions # mount partitions
echo "-------------------------------------------------" echo "-------------------------------------------------"
echo "Mounting Partitions" echo "Mounting Partitions"
echo "-------------------------------------------------" echo "-------------------------------------------------"
mount $(Diskname)3 /mnt mount "$(Diskname)3" /mnt
mkdir /mnt/boot mkdir /mnt/boot
mkdir /mnt/home mkdir /mnt/home
mount $(Diskname)1 /mnt/boot mount "$(Diskname)1" /mnt/boot
mount $(Diskname)4 /mnt/home mount "$(Diskname)4" /mnt/home
# set download mirrors # set download mirrors
echo "-------------------------------------------------" echo "-------------------------------------------------"