r/linuxquestions • u/Sora20131 • 20d ago
Support How to perform disk partitioning?
I decided to install Arch on bare metal. I prepared a bootable USB drive and created a separate partition for Linux on an external drive, making sure not to erase any important files on the other partition. I booted up, enabled Wi-Fi, and launched `archinstall`—but then I closed it, realizing that the automatic mode would wipe all partitions, and I don’t really understand how to do it manually. So, here I am, writing this post in the hope that someone can help me
0
Upvotes
1
u/ludonarrator 20d ago
https://wiki.archlinux.org/title/Installation_guide#Partition_the_disks
1
u/Dashing_McHandsome 20d ago
man fdisk
1
u/CosmicFieldDrift_ 20d ago
Read the Arch Linux Frequently asked questions to be sure you and Arch Linux are a match.
https://wiki.archlinux.org/title/Main_page
1
u/showbizusa25 20d ago
Good call stopping before making changes. Since you have existing files on that external drive, don't let archinstall automatically repartition it.
First, boot into the Arch USB and run
lsblk -fto see your disks, partitions, and filesystems. Make sure you can identify the partition you want to install Arch on.archinstall has a manual partitioning option, but don't format or delete anything until you're certain which partition is which. Also, back up the important files first.
Can you share the output of
lsblk -fand confirm whether you're booting in UEFI mode? That'll make it easier to suggest the safest next step.0
u/es20490446e Develops Zenned OS 20d ago
When you choose Arch Linux, you are expected to try things yourself.
We could answer you this specific question, but on the next step you will find the same issue.
Just trial and error my boy.