Originally posted by vmanivan
Hello. I am making a web server and would like to use Slackware as the OS. The last linux OS I installed was Fedora, so it automatically took care of the partitioning.
I have a good idea of how to partition using fdisk from Googling, but I couldn't find any recommended sizes for partitions. I realize that this varies based on numerous factors, but I would like some numbers, at least as a ballpark estimate (something I can go by).
I am creating the following partitions:
The hard drive capacity is 3.2 GB and I am making the swap partition 48 MB because I only have 24 MB RAM (It's an old computer). Thanks in advance.
I would make 3 partitions:
48 MB swap (you figured that out well).
1.5GB / the system (maybe 3 GB, maybe 1 GB, it is a matter of taste).
the rest /home.
If you are going to install a new distro or a fresh install for an update, only / will be newly formatted & installed.
A trick I use:
Not only /home I want to preserve, but /etc and /usr/local too.
the trick is: make dirs /home/etc and /home/usr/local
Copy the stuff of /etc to /home/etc
#cp -a /etc /home/etc
# rm -rf /etc
# ln -s /home/etc /etc
Same trick for /usr/local
Only one extra partition with 'stuff to save'.
Works fine for me on an old computer.
The advantage is: One partition with all stuff to preserve, not the overhead of more extra partitions.
Hope this helps.