diff --git a/scripts/0-preinstall.sh b/scripts/0-preinstall.sh index da76989..f742397 100755 --- a/scripts/0-preinstall.sh +++ b/scripts/0-preinstall.sh @@ -65,8 +65,20 @@ if [[ $PARTITION_STRATEGY == "Dual_Boot" || $PARTITION_STRATEGY == "Manual_Parti echo "set up partition table on your own, good luck :)" echo "DISK = $DISK" echo "press any key to start" - read temp_variable - bash -i + read wait_variable + cgdisk + lsblk + echo "Which partition NUMBER is EFIBOOT (for sda4 the answer is '4')" + read efiboot_nr + echo "Which partition NUMBER is ROOT (for sda4 the answer is '4')" + read root_nr + partition2=${DISK}${efiboot_nr} + partition3=${DISK}${root_nr} + echo -ne " + partition2 = $partition2\n + partition3 = $partition3\n + press any key to continue" + read wait_variable elif [[ $PARTITION_STRATEGY == "Auto_Partition" ]]; then # disk prep diff --git a/scripts/startup.sh b/scripts/startup.sh index 4b31bdb..1bbc671 100755 --- a/scripts/startup.sh +++ b/scripts/startup.sh @@ -307,7 +307,7 @@ partitionstrategy () { Dual_Boot: Manual_partition + Dualboot things \n Manual_Partition: set up manually partition table \n Auto_Partition: Whipe *ALL DATA* on the whole disk (all partitions) \n" - options=(Dual_Boot / Manual_Partition / Auto_Partition) + options=(Dual_Boot Manual_Partition Auto_Partition) select_option $? 4 "${options[@]}" partition_strategy=${options[$?]} set_option PARTITION_STRATEGY $partition_strategy