summaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
authorKyle K <kylek389@gmail.com>2020-06-09 20:45:39 -0500
committerKyle K <kylek389@gmail.com>2020-06-10 17:50:45 -0500
commit9f0fabfe021e5d3ae1844e8e4205d0487952c348 (patch)
tree89a7d6ef6ac9b6eb29052e98fe9d4d38f79bfffa /install.sh
parent80a4d1136f6863b6b381410f946b99fc0157248f (diff)
downloadgentoox-9f0fabfe021e5d3ae1844e8e4205d0487952c348.tar.gz
gentoox-9f0fabfe021e5d3ae1844e8e4205d0487952c348.tar.bz2
gentoox-9f0fabfe021e5d3ae1844e8e4205d0487952c348.zip
Linux 5.7.1, KDE 5.19, updates as of 6/10
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index 3c7347a..6d6d05f 100755
--- a/install.sh
+++ b/install.sh
@@ -7,7 +7,7 @@ fi
set -e
echo -e 'Welcome to the GentooX setup, the installation script mainly consists of:
\t- providing this script with a target partition where system will be installed
-\t- extracting precompiled squashfs system image into the specified parition
+\t- extracting precompiled squashfs system image into the specified partition
\t- setting up GRUB, BIOS or UEFI mode will be used depending how system was booted
\tGentooX uses openSUSE-style BTRFS root partition & subvolumes for snapshotting with snapper
\tGentooX requires minimum of 16GB of space, and use of BTRFS is hardcoded
@@ -96,6 +96,7 @@ while :; do
echo
read -erp "Automatic partitioning (a) or manual partitioning (will launch gparted)? [a/m] " -n 1 partitioning_mode
if [[ $partitioning_mode = "a" ]]; then
+ if [[ ! -z $UEFI_MODE ]]; then echo "EFI boot detected"; fi
read -erp "Enter drive to be formatted for GentooX installation: " -i "/dev/sda" drive
if [[ ! -z $UEFI_MODE ]]; then
if [[ $drive =~ "nvme" ]]; then partition="${drive}p2"; else partition="${drive}2"; fi # UEFI mode
@@ -151,7 +152,7 @@ else
fi
fi
-echo "extracting precompiled image.squashfs GentooX image to the target partition..."
+echo "extracting precompiled GentooX image.squashfs to the target partition..."
unsquashfs -f -d /mnt/install/ /mnt/cdrom/image.squashfs
/usr/local/sbin/genfstab -U /mnt/install/ >> /mnt/install/etc/fstab
echo -e "extraction complete.\n"