Hi, again!
(04-02-2024, 10:47 PM)Edimion link Wrote: [...] Yes, the latest Laptops or any computers don't need that (later than 2010)
BUT, the old ones need sometimes a root partition
It is exactly the opposite:
Old computers have a different partitioning system, called "MSDOS".
This limits the amount of storage media to 3 TB and the filesize to 2 GB.
So, if you have a 4 TB drive, you will be able to create only 3 partitions of about 860 GB. The rest will remain "unallocated".
If you try to force the partitioning limit, it will issue an error message.
Further more, you will lose drive speed. The MSDOS partitioning scheme, works slower than the other, regardless the filesystem you choose.
I tested that many times so it's a fact.
There are also specific formatting rules: At the beginning of each physical media (sector 0, cylinder 0 or the equivalent), there is a special section called "MBR" (Master Boot Record).
None of this limitations apply to the UEFI standard.
Among others, as you said, there is another limitation. You can only create 4 primary partitions.
That is why I recommended you the partitioning scheme in the previous posts: all partitions are "Primary":
/dev/sda1, ext4, 20 GB, IS the boot partition, only in the MSDOS partitioning scheme, there is a different set of rules in accessing the info written on the disk.
This is why I said that you do not need a distinct boot partition.
The first one, is by default flagged as "boot".
So, as far as here,
we spent our first primary.
/dev/sda2, SWAP, primary (second...)
/dev/sda3, /home, ext4, 60 GB (or more...) (third primary)
/dev/sda4, /data (or whatever name you like), ext4, whatever size remains available. And we're done, with four primary partitions.
The downside of this scheme is that if you want more than 1 data partition (/data), something like /jack; /lyly; /mike, etc. you have to delete the initial /data partition and create an "extended" partition instead of "primary".
In this case, this partition internally is "/dev/sda4" but when creating the new partition, it will be labeled as /dev/sda5 instead of /dev/sda4.
That means that if /dev/sda4 was skipped, you have an "extended" partition.
This is true only for computers before 2010, that have what is called "BIOS" firmware.
For the UEFI firmware, the rules are very different.
You can read more on Wikipedia about "EFI", "UEFI", GPT (Global Partitioning Table) and so on.
For this type of mainboards (UEFI), the GPT partitioning is mandatory. Hence, the MSDOS partitioning will create problems. There is a long story to "why".
On the other hand, you can create an endless number of "primary" partitions. That is why you need a boot partition.
In the GPT mode, any partition can be flagged as "boot, esp", but only one partition can hold the bootloader and it has to be a multiboot capable one (GRUB, usually, FreeLoader sometimes).
Thst is why the /dev/sda1 is formatted FAT32 and only requires 512 MB (usually).
Actually, the bootloader itself, takes some 5... 10 MB, sometimes a little more. The rest is empty and other OS's might write their own bootloader there.
If you want more info, read about "MSDOS partitioning" and "GPT (UEFI) partitioning".
It's a lot of reading so take your time. I started using computers back in 1995 so I have some history.
Interestingly, I started using FOSS tools in the late 1995 and eventually, I stayed steady on this course of action, until 2012, when I ended up for good my Win "career", so to speak.
I never used any Win flavor ever since.
I used Mint for some 5 years, then I switched to Linux Lite.
Nothing else, from 2012 till now.
Since you crafted your own machine, I assume you are ready to move on with the partitioning scheme I wrote above.
I usually use GPartED Live to do the partitioning/formatting tasks, but you can skip that, doing the same thing from the installer itself.
The only thing you need to take care of, is when you input the mount points, because
the /home partition, has to remain unformatted (it already contains data so it is already formatted).
The only exception is when doing a "clean full install".
If you want me to get into the details about migrating the /home partition, post a reply and mention that.
I've been doing that for more than 12 years so I got used to the annoyances related to the "backup/restore" things.
In time, it will be less and less ugly, as you get used to work with
CloneZilla Live.
I've been using it for more than 12 years to backup partitions, even for Win.
Best regards, Șerban.
"It's easy to die for an idea. It's way harder TO LIVE for your idea!"
Current Machine:
Dell Precision T1700, 16 GB RAM, SSD Kingston A400, 480 GB.
Laptop:
ASUS X200MA , Intel® Celeron® N2830, 2 GB RAM, SSD Kingston A400, 480 GB.