Best practise in Partitioning Slackware
Hi,
I am new to Slackware but I'm a bit familiar with Ubuntu. I normally partition my ubuntu using /swap, /root and /home. In ubuntu it is recommended to separate /home and /root partitions so that later on if something to be changed in the system we just need to apply on that /root without affecting our old data in /home. Is it the same way in Slackware applied? If so, is it the same as having /swap, /root and /home partitions as well? Can anyone suggest for the harddisk distribution of my 320GB space.. Thanks in advance.. -alfa- |
Yeah, that is the way I partition my Slackware boxes. I have swap, root, and home partitions. Having a separate home partition is nice as it makes upgrading to a new version of Slackware painless as you keep all of your data in home. The way that you allocate space for /root and /home will depend on what you plan to use your box for. I usually allocate more space for home than root.
|
Quote:
|
Quote:
Second, I usually create separate partitions as follows: Code:
/ At a minimum it is best if you create the following: Code:
/ Code:
/ 15-20GB |
Quote:
Kind regards |
Quote:
Your partition scheme is excellent, however, for a newcomer to Slackware I think swap, /, and home will suffice. As the OP gains more experience in Slackware then he/she can further customize their HD layout. Also, to the OP I suggest that you use cfdisk to partition your hard drive as that is a little more user friendly than fdisk. At the root prompt type: # cfdisk /dev/sda |
Quote:
It just means runaway log files and an overflowing /tmp dir don't bring the computer to its knees. It also means local software can be preserved when reinstalling. And finally I think it makes for a snappier disk. Yes it is overkill for the OP but I for one would never have learnt anything if other people hadn't explained these things to me at the beginning. It is always good to raise the level of knowledge, not to keep beginners forever at a low level. |
Quote:
:) |
Quote:
|
Doesn't anyone use LVM? As long as you leave some unallocated space and use a resizeable file-system, your initial choices are not so important as you have the freedom to change it around later.
|
Quote:
|
I normally use the following scheme for all my Linux installs -
/ /home /usr swap |
I have separated /boot yet..
|
Quote:
# fdisk -H 32 -S 32 /dev/sda even better, he should start using GPT if he's not using M$ Windows. Code:
/boot |
Do what you want. There is as I know only 4 DOS primary partition but you can also create extended partitions. Each directory may refer to a partition or device. Say your /home/myhome can be on your USB drive. This means all private files will be placed on that USB and during a boot USB will be mounted at /home/myhome. I used this solution for my 8 GB hard disk computer. I added an USB port on PCI and it was mounted as my user directory. You may also consider using LVM - I have no much experience in that but it may interesting.
|
All times are GMT -5. The time now is 07:20 PM. |