Answer the question
In order to leave comments, you need to log in
How to Feng Shui Partition a Disk in Linux?
Forced to learn linux here. In this connection, the question is - is there any fundamental importance in what sequence to place partitions on a disk? This mainly concerns the relative position of boot, swap and root. In theory, swap at the beginning of the disk is faster, can swap be placed first? Or is /boot desirable first, and then swap and / ?
And the second question. Do I understand correctly that if you use LVM on the system disk, then you can resize other partitions without the need to move data? That is, under the classical scheme, if you have a /var partition between (for example) /usr and /home (i.e. physically there are /usr partition blocks on the disk, then /var, and then /home), then with If you need to expand /var, you will first have to shift the beginning of the /home partition (and transfer data there from /home to the new beginning of the partition), and only then it will be possible to expand /var on the space freed up by the /home shift. I understand correctly that if you have LVM, you don’t need to transfer anything, and /var can be expanded simply if there is free disk space, I don’t care what LBA it will start with?
Answer the question
In order to leave comments, you need to log in
since you are just starting out - entrust the partitioning of the disk to the system installer.
Is there any fundamental importance in what sequence to place partitions on the disk?
If you are just starting to learn Linux, create one partition for everything and don't bother with anything. When you master it and you have some real need to single out something separately, then you yourself will understand why you are doing it and what makes you feel better about it. In the meantime, do not understand - and do not share. 1 section, without any LVM - the simpler, the clearer it is for you and the less headaches.
Swap may not be needed at all, depending on how much RAM and what tasks. If the desktop and RAM are at least 8GB, the swap is unlikely to come in handy.
Swap is recommended to be moved to a file and not to a separate disk partition, also in the new version of ubuntu swap is located in the file by default
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question