local man learns parted syntax

pull/3/head
Matt C 3 years ago
parent 7576fc5edf
commit 2afda22011

@ -116,12 +116,12 @@ if [[ "$MANUAL" == "no" ]]; then
echo "Partitioning disk" echo "Partitioning disk"
if [[ "$EFI" == "yes" ]]; then if [[ "$EFI" == "yes" ]]; then
parted ${DISK} mklabel gpt --script parted ${DISK} mklabel gpt --script
parted ${DISK} mkpart fat32 0 300 --script parted ${DISK} mkpart 0 300 --script
parted ${DISK} mkpart ext4 300 100% --script parted ${DISK} mkpart 300 100% --script
inf "Partitioned ${DISK} as an EFI volume" inf "Partitioned ${DISK} as an EFI volume"
else else
parted ${DISK} mklabel msdos --script parted ${DISK} mklabel msdos --script
parted ${DISK} mkpart ext4 300 100% --script parted ${DISK} mkpart 0 100% --script
inf "Partitioned ${DISK} as an MBR volume" inf "Partitioned ${DISK} as an MBR volume"
fi fi
@ -204,18 +204,18 @@ fi
inf "Setting up base Crystal System" inf "Setting up base Crystal System"
crystalstrap /mnt base linux linux-firmware systemd-sysvcompat networkmanager man-db man-pages texinfo micro sudo curl archlinux-keyring neofetch which pacstrap /mnt base linux linux-firmware systemd-sysvcompat networkmanager man-db man-pages texinfo micro sudo curl archlinux-keyring neofetch which
if [[ ! "$?" == "0" ]]; then if [[ ! "$?" == "0" ]]; then
inf "CrystalStrap had some error. Retrying." inf "pacstrap had some error. Retrying."
crystalstrap /mnt base linux linux-firmware systemd-sysvcompat networkmanager man-db man-pages texinfo micro sudo curl archlinux-keyring neofetch which pacstrap /mnt base linux linux-firmware systemd-sysvcompat networkmanager man-db man-pages texinfo micro sudo curl archlinux-keyring neofetch which
fi fi
if [[ "$EFI" == "yes" ]]; then if [[ "$EFI" == "yes" ]]; then
inf "Installing EFI support packages" inf "Installing EFI support packages"
crystalstrap /mnt efibootmgr grub pacstrap /mnt efibootmgr grub
else else
inf "Installing Syslinux bootloader" inf "Installing Syslinux bootloader"
crystalstrap /mnt grub pacstrap /mnt grub
fi fi
genfstab -U /mnt > /mnt/etc/fstab genfstab -U /mnt > /mnt/etc/fstab
@ -456,7 +456,4 @@ if [[ "$MP" != "1" ]]; then
fi fi
fi fi
inf "setting up timeshift"
arch-chroot /mnt timeshift --btrfs
inf "Installation should now be complete." inf "Installation should now be complete."

Loading…
Cancel
Save