Skip to content

Commit 157cc2d

Browse files
committed
Revert "Allow user to mount separate /home"
A better implementation is TBD.
1 parent eadd269 commit 157cc2d

6 files changed

Lines changed: 23 additions & 29 deletions

File tree

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
1717
- A working internet connection.
1818
- A previously partitioned disk (you can use `cfdisk`, `fdisk`, `parted` or the tool of your preference).
1919

20-
Tip 💡: See reference partition layouts for UEFI and BIOS at the [Arch Linux Wiki](https://wiki.archlinux.org/title/Partitioning#Example_layouts).
21-
22-
NEW! separate /home partitions can now be mounted during install.
20+
Tip 💡: See reference partition layouts for UEFI and BIOS at the [Arch Linux Wiki](https://wiki.archlinux.org/title/Partitioning#Example_layouts)
2321

2422
## How to use it? 🚀
2523

img/bloat-banner.png

246 KB
Loading

img/laptop.png

63.9 KB
Loading

img/logo.svg

Lines changed: 21 additions & 0 deletions
Loading

img/mockup.png

1.91 MB
Loading

installer.sh

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -157,14 +157,13 @@ disks(){
157157
clear
158158
echo
159159
echo "3. Disks Setup"
160-
echo ">>> Select a Root Partition"
161160
echo
162161
echo "Your current partition table:"
163162
echo
164163
lsblk
165164
echo
166165
echo "Write the name of the partition e.g: /dev/sdaX /dev/nvme0n1pX"
167-
read -p "> Select a root partition: " root_partition
166+
read -p "> Root partition: " root_partition
168167
case "$filesystem" in
169168
1)
170169
mkfs.ext4 "$root_partition"
@@ -185,7 +184,6 @@ disks(){
185184
clear
186185
echo
187186
echo "3. Disks Setup"
188-
echo ">>> Select an EFI partition"
189187
echo
190188
echo "Your current partition table:"
191189
echo
@@ -203,32 +201,9 @@ disks(){
203201
mkdir -p /mnt/boot/efi
204202
mount "$efi_partition" /mnt/boot/efi
205203
fi
206-
# Allow separate /home
207-
clear
208-
clear
209-
echo "3. Disks Setup"
210-
echo ">>> Mount a separate home partition (optional)"
211-
echo
212-
echo "Your current partition table:"
213-
echo
214-
lsblk
215-
echo
216-
echo "HINT: If you don't have an existing partition for your /home type N below"
217-
echo
218-
echo "Write the name of the partition e.g: /dev/sdaX /dev/nvme0n1pX"
219-
read -p "> Home partition: " home_partition
220-
if [[ "$home_partition" == "n" || "$home_partition" == "N" || "$home_partition" == "no" || "$home_partition" == "No" ]]
221-
then
222-
echo
223-
echo "Separate home partition not selected"
224-
sleep 1
225-
else
226-
mount "$home_partition" /mnt/home
227-
fi
228204
# Swap
229205
clear
230206
echo "3. Disks Setup"
231-
echo ">>> Select a swap partition"
232207
echo
233208
echo "Your current partition table:"
234209
echo

0 commit comments

Comments
 (0)