Hello guys.
I just installed Debian Gnome on my Laptop and I made my root partition 30GB, my swap 4GB and boot 500MB (experimenting using csm mode only) on my 64bit lappy. with 8GB of memory...Why does Linux do this? All my partitions are a little under what I made them at installation. which drives my OCD nuts!
I have Debian MATE on my old Desktop and every partition is EXACTLY what I made them...
I noticed there's no flags in the screenshot of gparted, so I will be re-installing Debian on my Lappy, with CSM and UEFI enabled which is probably the correct way. correct???
Anyways, it annoys me to death when Linux changes the partition size depending on the computer.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Partition size not accurate
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Partition size not accurate
Linux has nothing to do with this. The Debian installer uses SI prefixes while Gparted uses binary prefixes.
30 GB = 28 GiB.
1) GRUB does not care about the boot flag. Neither does a compliant BIOS. Only some broken BIOS require it. If Debian boots fine then your BIOS does not require it.
2) Even if your BIOS required the boot flag, this is not a reason to reinstall. You can just set the boot flag with Gparted or any other partitioning tool.
PS :
1) It is highly unlikely that you need a separate /boot partition.
2) On a hard disk, putting the swap partition at the end of the drive is bad for performance (lower sequential speed and higher latency) It is better to put it near the beginning (between / and /home is fine).
30 GB = 28 GiB.
No.I noticed there's no flags in the screenshot of gparted, so I will be re-installing Debian on my Lappy, with CSM and UEFI enabled which is probably the correct way. correct???
1) GRUB does not care about the boot flag. Neither does a compliant BIOS. Only some broken BIOS require it. If Debian boots fine then your BIOS does not require it.
2) Even if your BIOS required the boot flag, this is not a reason to reinstall. You can just set the boot flag with Gparted or any other partitioning tool.
PS :
1) It is highly unlikely that you need a separate /boot partition.
2) On a hard disk, putting the swap partition at the end of the drive is bad for performance (lower sequential speed and higher latency) It is better to put it near the beginning (between / and /home is fine).
-
- Posts: 61
- Joined: 2021-06-30 21:38
- Been thanked: 2 times
Re: Partition size not accurate
Then why is it the correct size on my older machine and not my laptop? I used Debian's installer for both. Is it the DE? MATE vs. Gnome?
Gnome boots fine, but my OCD tells me to re-install
Since my laptop has a UEFI BIOS, should I use strictly UEFI, UEFI & CSM or one or the other?
What number should I put for a 4GB swap?
Gnome boots fine, but my OCD tells me to re-install
Since my laptop has a UEFI BIOS, should I use strictly UEFI, UEFI & CSM or one or the other?
What number should I put for a 4GB swap?
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Partition size not accurate
The size is what your asked for. If you asked for 30 GB, you got 30 GB, not 30 GiB. It has nothing to do with the desktop environment.
What is OCD ?
If you don't need UEFI for some reason, I recommend to stick with BIOS/CSM. Less trouble.
What is OCD ?
If you don't need UEFI for some reason, I recommend to stick with BIOS/CSM. Less trouble.
-
- Posts: 61
- Joined: 2021-06-30 21:38
- Been thanked: 2 times
Re: Partition size not accurate
OCD=Obsessive-compulsive disorder But I'm mostly very picky.
So basically, don't pay attention to what gparted is showing? I actually have 30GB even though gparted shows less?
So basically, don't pay attention to what gparted is showing? I actually have 30GB even though gparted shows less?
- NFT5
- df -h | grep > 20TiB
- Posts: 600
- Joined: 2014-10-10 11:38
- Location: Canberra, Australia
- Has thanked: 10 times
- Been thanked: 44 times
Re: Partition size not accurate
They are different measurements of the same thing. Like if I said that my friend lives 1.6 kilometres from my house but you said he lives one mile from my house. The distance is the same but the unit of measurement is different.
One Gibibyte (GiB) = 2^30 bytes
One Gigabyte (GB) = 10^9 bytes
Notice that one uses a binary measurement while the other uses decimal.
So, for example, my sda2 partition, which I carefully set the size of in GParted at 25GiB, is reported by Gnome Disks as being 27GB or 26,843,545,600 bytes. Back in the day when we had hard drives of 20MB, accounting for each byte of space was important. Now, with 20TB drives available, if not quite affordable, it's not so critical.
Use whichever measurement system you prefer. Reinstalling the OS won't change it.
One Gibibyte (GiB) = 2^30 bytes
One Gigabyte (GB) = 10^9 bytes
Notice that one uses a binary measurement while the other uses decimal.
So, for example, my sda2 partition, which I carefully set the size of in GParted at 25GiB, is reported by Gnome Disks as being 27GB or 26,843,545,600 bytes. Back in the day when we had hard drives of 20MB, accounting for each byte of space was important. Now, with 20TB drives available, if not quite affordable, it's not so critical.
Use whichever measurement system you prefer. Reinstalling the OS won't change it.
-
- Posts: 61
- Joined: 2021-06-30 21:38
- Been thanked: 2 times