pull/1/head
beech 2 years ago
parent adc453a6cf
commit d7f4fc77da
  1. 16
      install1-ex.sh

@ -48,22 +48,22 @@ sgdisk -c 4:"home" $DISK
# make filesystems # make filesystems
echo -e "\nCreating Filesystems...\n$HR" echo -e "\nCreating Filesystems...\n$HR"
mkfs.fat -F32 -n "boot" $(DISK)1 # FAT32 boot partition mkfs.fat -F32 "$(DISK)1" # FAT32 boot partition
mkswap -L swap $(DISK)2 # create SWAP mkswap "$(DISK)2" # create SWAP
swapon -L swap # enable SWAP swapon "$(DISK)2" # enable SWAP
mkfs.ext4 -L root $(DISK)3 mkfs.ext4 "$(DISK)3"
mkfs.ext4 -L home $(DISK)4 mkfs.ext4 "$(DISK)4"
# mount partitions # mount partitions
echo "-------------------------------------------------" echo "-------------------------------------------------"
echo "Mounting Partitions" echo "Mounting Partitions"
echo "-------------------------------------------------" echo "-------------------------------------------------"
mount -t ext4 $(DISK)3 /mnt mount "$(DISK)3" /mnt
mkdir /mnt/boot mkdir /mnt/boot
mkdir /mnt/home mkdir /mnt/home
mount $(DISK)1 /mnt/boot mount "$(DISK)1" /mnt/boot
mount $(DISK)4 /mnt/home mount "$(DISK)4" /mnt/home
# install arch # install arch
echo "-------------------------------------------------" echo "-------------------------------------------------"