Post by Eef Hartman Post by Tuxedo
I'm not really sure exactly why it is needed but what unnalocated
spaces do you recommend I free up before, after and inbetween the
about 1 MB before the first: start it on the 1 MB boundary.
All partitions should end on a 2 KB -1 blocknumber, so that NO space
is needed inbetween (the next partition will then automatically start
on that 2 KB boundary). At the end a little space is needed for the
secondary partition table, but, as I said, GPartEd should have used at
least the minimal alignment, which does all that.
BSD: not present
APM: not present
Found valid GPT with protective MBR; using GPT.
then it should be OK. With the "p" command you can print your partition
layout (and with "q" you can leave it again when you don't want to
This is the one from my (non-bootable 2nd) 2 TB disk, which has a
1 2048 3762778111 1.8 TiB 0700 primary
and you see it starts at sector 2048 and ends at ...11, which is a
multiple of 4 minus 1 (btw this disk still uses a local sector size
of 512 bytes).
Post by Tuxedo
First usable sector is 34, last usable sector is 3907029134
Partitions will be aligned on 2048-sector boundaries
so the partition does not use all of the disk yet, but satisfies all
UEFI requirements, even though this isn't my boot disk.
Thanks for the detail info. I have some problems running gdisk for some
reason on the GParted live USB media.
And when using GParted's partitioning tool, to create unnallocated space of
for example 1MB before the first partition, the tool fires up a warning:
Moving a partition might cause your operating system to fail to boot.
You have queued an operation to move the start sector of partition
/dev/nvme01p1. Failure to boot is most likely to occure if you move the
GNU/Linux partition containing /boot, or if you move the Windows partition
So I did not proceed with the above.
Anyway, perhaps GParted's graphical GUI tool takes care of the correct
partitioning spacing automatically?
This is the Device infomation displayed by GParted:
Size: 1.82 TiB
Partition table: msdos
Total sectors: 3907029168
Secor size: 512
/dev/nvmeOn1p1 ext4 data 1.52 TiB
/dev/nvmeOn1p2 ext4 slackware 200 GiB
/dev/nvmeOn1p3 ntfs windows 100 GiB
/dev/nvmeOn1p4 linux-swap swap 8GB
As I originally set up the four partitions, the first sector starts at 2048
and ends at 3261106175
The second partition starts at 3261106176 and ends at 3680536575.
The third starts at 3680536576 and ends at 3890251775.
The fourth partition starts at 3890251776 and ends at 3907028991
Is this a good and workable partitioning setup? So far the partitions are
empty and no OS or data exists on any of them, so they can be recreated in
any way that may be better.
Swap as said is needed for suspension or hibernation. The built-in memory is
8GB and it will never change because it's a non-exchangable RAM soldered
onto the mainboard.
I always use LILO via the MBR for the OS selection prompt rather than
booting directly from a partition or using GRUB.
Many thanks for any advise.