Page 1 of 1

prepare new hard drive use GParted

Posted: Tue Nov 30, 2021 7:00 pm
by pegasus
how to prepare new hard drive for installation use GParted Live on USB flash drive? I need create GPT partition table and 3 partitions (/root, swap, /home)
Laptop have UEFI boot mode.

Re: prepare new hard drive use GParted

Posted: Tue Nov 30, 2021 11:58 pm
by towwire
Have you read the manual and look at any of the video's? You might learn more if you try to find the answers first. Any way here is my take.

Since computer is UEFI and you want a separate home, so you need 4 partitions.

1. Use GParted to create a GPT partition table (under menu device).
2. create 100 MiB partition format fat32 and set flags boot,esp
3. your root format ext4 Label like 'rootMX21' for me 20 - 30 GiB
4. your home format ext4 Label like 'homeMX21' for me 20 - 30 GiB
5. swap format swap size of your memory

Size for root or home to what you want.
20480 MiB = 20 GiB
30720 MiB = 30 GiB

You can make other partitions for certain data, like the draws in a file cabinet.

Re: prepare new hard drive use GParted

Posted: Wed Dec 01, 2021 1:07 am
by profhawk
May I ask why you are manually partitioning your drive? I only ask because you only usually manually partition for a specific reason. Though I actually recommend the arch wiki for manual partitioning it works the same. (just look at the drive partitioning portion) Or go to youtube look at an arch install skip to partition guide. It is done without a gui but all the concepts are the same.

Re: prepare new hard drive use GParted

Posted: Wed Dec 01, 2021 1:13 am
by profhawk
towwire wrote: Tue Nov 30, 2021 11:58 pm
5. swap format swap size of your memory

You can make other partitions for certain data, like the draws in a file cabinet.
This person should swap to file and not swap to partition. It is a lot more forgiving.

Re: prepare new hard drive use GParted

Posted: Wed Dec 01, 2021 6:22 am
by pegasus
I was just not aware, so if use default partitioning, any Linux distro allow set '/ 'root size and set /home partition?
The laptop have 4GB RAM: it will be enough to assign 2GB swap?

Re: prepare new hard drive use GParted

Posted: Wed Dec 01, 2021 6:27 am
by junoluna
if you go with the default option, i think it will automatically allocate 2 gigs swap partition

will be fine for you, i think

Re: prepare new hard drive use GParted

Posted: Wed Dec 01, 2021 7:10 am
by pegasus
/home partition will be created automatically (remaining space)?