prepare new hard drive use GParted

When you run into problems installing MX Linux XFCE
Message
Author
pegasus
Posts: 3
Joined: Sat Nov 27, 2021 4:43 pm

prepare new hard drive use GParted

#1 Post 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.

User avatar
towwire
Posts: 681
Joined: Fri Oct 15, 2010 12:15 pm

Re: prepare new hard drive use GParted

#2 Post 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.
It is easier to fight for one's principles then to live up to them.

profhawk
Posts: 7
Joined: Fri Nov 19, 2021 6:57 am

Re: prepare new hard drive use GParted

#3 Post 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.

profhawk
Posts: 7
Joined: Fri Nov 19, 2021 6:57 am

Re: prepare new hard drive use GParted

#4 Post 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.

pegasus
Posts: 3
Joined: Sat Nov 27, 2021 4:43 pm

Re: prepare new hard drive use GParted

#5 Post 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?

User avatar
junoluna
Posts: 522
Joined: Sun Sep 29, 2019 11:53 pm

Re: prepare new hard drive use GParted

#6 Post 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

pegasus
Posts: 3
Joined: Sat Nov 27, 2021 4:43 pm

Re: prepare new hard drive use GParted

#7 Post by pegasus »

/home partition will be created automatically (remaining space)?

Post Reply

Return to “Installation”