SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Dear all,
what is the ideal size of "/" (root) directory? Some people suggested to configure it between 2G - 5G depending on the installation. However, with full slackware installation, with 6G "/" size, it left me only around 400mb space left.
Is this common, or I did something wrong the installation? With only around 400mb space left, isn't this too small?
It will depend how you partition your drive. If you only have / and swap then you would need a larger /. If you have separate partitions for home and other, then 10-15 gig should be good.
It will also depend on your installation. If you are installing a full blown distribution with all the applications, then 6 gig should not be enough. And you need to also take care of the future updates and upgrades that might come.
For a dedicated server where you would seldomly install external softwares, 5gig should be enough.
Different people will have their own favourite partitioning schemes and sizes. I used to have separate partitions (or disks) for /var, /home, /usr, /boot, and the root dir. If you do this, the root doesn't need much space at all. The CentOS distributions default to a small partition for the /boot directory and the rest for /. Nowadays I use LVM extensively, which means that if I need some extra space I can reconfigure without too much effort so the initial decision isn't that important. You don't want to be left with 400MB hanging around though. That won't be much use to you.
did you separate other directory? like /home /usr /var?
if this true then 2-5G is sufficient.
but your situation is likely because you don't separate the other directory, specially the "/usr" and "/var" directory.
I have full blown installation of slackware intallation there, even though /usr and /home are in different partition, I think 6G is not enough.
My case is, I want to install a full blown Slackware installation. This is because I'm a new Linux and Slackware user and will strip down the applications latter on.
If I remove some of the packages, will it reduce the size of "/" (I assume yes)?
I have full blown installation of slackware intallation there, even though /usr and /home are in different partition, I think 6G is not enough.
+1 to that
I started with / at 6 GB but soon found it was not enough (almost but not quite). / includes /usr but not /var or /opt and with most of what sits under /home on a separate file system.
I've only ever used / and swap. My desktop and laptop both have 160 GB HDDs. Laptop is evenly divided between XP Pro and Slack. Desktop has approx. 120 GB for Slack64 (room for VBox .vdis), and approx. 40 GB unallocated.
I too seldomly use /home on different partition on desktop. While upgrading or updating the distribution I usually take backup on external drive and choose to reformat the system and instead of upgrading the OS, I tend to reinstall the new one from scratch. And with / and swap, I have not had any trouble yet. So far so good though.
But on servers, it depends entirely.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.