Answer the question
In order to leave comments, you need to log in
Partitioning a hard drive for a dual block. Details
Hello,
On New Year's Eve, I wanted to finally clean up my typewriter.
I'll start with what I don't like. Silly little things - the swap partition is not there, the partition is of the wrong type, the partition numbers are mixed up (first comes sda3 sda4 and then sda2 sda1). This is first. There is also a slightly more important point - I would like to mount /home as a "disk D" in Windows. To do this, I see at least 2 options - make /home type NTFS (and here the first question is: how bad is it? I saw somewhere that / and /home should be made of the same type), the second is to install drivers on Windows so that it is possible to operate with ext4. Which of these approaches do you think is the best? Or maybe there are other options?
Further. What are the section sequences? Swap should be placed at the beginning of the disk. Next I have at least //home windows. (I would also like to allocate a partition for Linux for installed applications in order to painlessly transfer the reinstallation of the system, but this seems to be problematic?)
It is also interesting how much it makes sense to separate / var. Although projects are currently stored there, maybe it's better to keep them in / home and set other paths on the servers?
And finally. Primary and Logical. Is there an actual difference between them, for use at the OS level? And what is the best way to use them?
the question of space for sections is absolutely not of interest.
Thank you in advance
Answer the question
In order to leave comments, you need to log in
I would like to mount /home as a "D drive" in Windows. To do this, I see at least 2 options - make /home type NTFS (and here the first question is: how bad is it? I saw somewhere that / and /home should be made of the same type), the second is to install drivers on Windows so that it is possible to operate with ext4. Which of these approaches do you think is the best? Or maybe there are other options?
It is also interesting how much it makes sense to separate /var. Although projects are currently stored there, maybe it's better to keep them in / home and set other paths on the servers?
What are the section sequences? Swap should be placed at the beginning of the disk. Next I have at least //home windows. (I would also like to allocate a partition for Linux for installed applications in order to painlessly transfer the reinstallation of the system, but this seems to be a problem?)
And finally. Primary and Logical. Is there an actual difference between them, for use at the OS level? And what is the best way to use them?
I have /home on the same partition as /. All personal stuff is stored in /d (and D:\ in Windows), which is in ntfs. If desired, you can use mount -o bind /d/… /home/….
>> make /home type NTFS
No need to do this, it will be very bad, if at all. Better give Windows ext* support.
>> I would also like to allocate a partition for Linux for installed applications in order to painlessly endure the reinstallation of the system, but this seems to be problematic?
0. Don't reinstall Linux. If you have such a need, you are probably doing something wrong or using a distribution that is not suitable for you.
1. Allocate / usr - why? Reinstalling programs takes minutes (make yourself a script with a list of packages to install).
And the compatibility of binaries with the new system may be in question.
>> there is a sense to allocate separately/var
Nope.
>> And finally. Primary and Logical. Is there an actual difference between them, for use at the OS level? And what is the best way to use them?
The number of Primary sections is limited. There shouldn't be any actual difference in use.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question