Peppermint | Linux OS Community Forum
It is currently Wed Oct 16, 2019 3:29 pm

All times are UTC - 5 hours [ DST ]

Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: [One][Ice][Two] How to tune your hard drive
PostPosted: Thu May 20, 2010 10:06 am 
User avatar

Joined: Wed May 19, 2010 5:11 pm
Posts: 958
Location: Asheville, North Carolina
Class: How to: Storage optimization
Difficulty: Mild. Couple of CLI commands.
Time: Ten minutes or so
Desirability: Depends on total HDD capacity: see explanation below

One of the great things about Linux is you really do have total control over how your system works. One issue that is always present is disk space. This quick tutorial will show you how to get back disc space that is reserved for root when you install your Peppermint system. Peppermint automatically reserves 5% of your total disk space for the root user, this space is there in case your hard drive gets full and you want to delete some files to regain space for your regular user mode. With todays computers coming with bigger and bigger hard drives that 5% can be alot of space, for example if you have a 200Gb disc 10Gb will be reserved for root. On the other side of things if you have a netbook or laptop you already know that space is at a premium. So we are going to reduce the amount of space allocated to root from 5% to 1% which is still plenty of room to be able to delete files if the time ever comes.

First open up lxterminal and one you get the command prompt type in the following
df -h

This command will display all the information about the various file-systems mounted on your hard drives partitions but we only need to find the partition that is occupied by root. The root partition should be at the very top of the list and it even has a symbol to go along with it which looks like this / and it will be located at the end of the line. Most likely the root partition will be /dev/sda1 but not always so do pay attention to the end of the line as well. Now for the fun part! While still in the terminal type in the following
sudo tune2fs -m 1 /dev/sda1

or it may be on /dev/sda2 and hit enter. Thats it your done and you have gotten back 4% of your disk space. If you have Windows installed on your computer as well it will not affect it in anyway because Windows uses a different filesystem.

Support Team Leader
Co-Creator of Lubuntu x86_64

I'm on Twitter: @Asheguy
I'm on

Linux User #507486


Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

Powered by php B.B. © 2000, 2002, 2005, 2007 php B.B. Group
Template made by DEVPPL