U
U
Urukhayy2018-10-07 09:08:05
linux
Urukhayy, 2018-10-07 09:08:05

Does Linux need to partition a hard drive into 2 partitions?

Do I need to split a Linux hard drive into 2 partitions: System and User? That is, is it necessary to mount the home folder as a separate partition on the hard drive? Or it is possible to use home in the general section with system?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
R
Rsa97, 2018-10-07
@Urukhayy

Not required, but handy when reinstalling the system. It is enough to reformat the system partition and mount / home with all user data.

R
Ruslan Fedoseev, 2018-10-07
@martin74ua

Trust the installer. Most likely there will be LVM, which will give you the opportunity, if necessary, to reschedule partitions as you please

#
#, 2018-10-07
@mindtester

1 - one section is easier for a beginner. LVM is better, but you also need to get comfortable with it. possible without LVM. fresh Ubuntu/Mint by default offer one partition, even swap as a file. so as not to be nervous about home in case of reinstallation (and rearrangement is not rare for a beginner;)) live hack - when reinstalling, it is not necessary to format the partition, you can simply delete everything except home (do not forget to enable display of hidden files). the installer will rewrite the boot sector itself
2 - over time, it is worth expanding your erudition about typical folder assignments. An interesting solution is offered by OpenSUSE, based on BtrFS. if LVM allows you to comfortably resize logical volumes as needed, they still have a fixed size there. BtrFS creates isolated logical subvolumes, while the total free space on the disk is available to everyone (if I'm not mistaken, limits can also be set, but this is not about that now). OpenSUSE by default allocates not only home, temp and the like into sub-volumes, the typical location of the system settings of programs (not the OS itself, but the type of DBMS, etc.), MySQL and Postgree databases, are also immediately allocated to sub-volumes, which allows them to be saved when reinstall and perform root pseudo-formatting. but this is the next level of the game))

S
SOTVM, 2018-10-07
@sotvm

sure, it will save you a lot of time nerves

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question