Originally Posted by Syrabane
Ello everyone. I'm pretty new to Linux and I'm planning on Dual booting Windows/Slackware. I just have a few questions about partitioning my HD.
I have 52GB for Slackware on my HD and here is how I'm currently planning to split it up.
/ - 8 Gigs (To much?)
SWAP - 1 Gig
/usr - 13
/home - 30
After doing a bit of research I'm confused as to whether or not I should create a separate partition for /usr or /usr/local or to create two separate partitions for both. What do you guys think? Also, would having a partition for /opt have any significant advantage?
In a desktop machine, there's not so much sense on that. I'd just give whatever amount of space you need to /, and leave about /usr and /opt live inside that.
How much space to put into it depends on the software you want to install. Your data will live in /home, so having it separate is ok and a good thing. A tipical desktop system can take 5-10GB, but, as said, it all depends on what are you going to install and run. If you are a gamer you will probably need more space than that in /.
If you really want to separate /usr, then 8GB in root might be too much. It all depends on how your distro does the things. If your distro install heavy stuff into /opt then you are going to need some space there. If you are going to run a mail server, a print server, a web server, etc.. you'll need extra space in /var.
In any case, I would also advise to separate this partition from /. The reason is simple: avoid fragmentation as much as possible. Note that most stuff under / is rarely written to (only for system updates and such), like /usr or /opt. But /var, on the contrary, is supposed to hold data that changes fairly often. So I's split that out better than /usr or /opt.