Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-02-2013, 05:39 AM   #1
Registered: May 2013
Distribution: Debian
Posts: 194

Rep: Reputation: 7
Smile Increase Disk Space Linux Mint MATE

Hi Guys,

Ive recently installed Linux Mint. However recently my GUI displayed a "low disk space" message.

Because the installation is only a few days old i would assume that i did not partition my hard drive large enough,

My output are as follows:

gigatx-pc mariose # df -h
Filesystem                                              Size  Used Avail Use% Mounted on
rootfs                                                  9.7G  9.2G   17M 100% /
udev                                                     10M     0   10M   0% /dev
tmpfs                                                   202M  824K  201M   1% /run
/dev/disk/by-uuid/52f864aa-c56f-4a28-a3f5-32cebcc36559  9.7G  9.2G   17M 100% /
tmpfs                                                   5.0M  4.0K  5.0M   1% /run/lock
tmpfs                                                   609M  208K  608M   1% /run/shm

gigatx-pc mariose # fdisk -l

Disk /dev/sda: 80.0 GB, 80025280000 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156299375 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f2d94

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      206847      102400    7  HPFS/NTFS/exFAT
/dev/sda2          206848   107888855    53841004    7  HPFS/NTFS/exFAT
/dev/sda3       107890688   128370687    10240000   83  Linux
/dev/sda4       128370688   156299263    13964288    5  Extended
/dev/sda5       128372736   130469887     1048576   82  Linux swap / Solaris
By the way this is a dual boot system running Windows 7 also. I rather do it through terminal using Linux Mint. Possibly the fdisk command i think? I am new to Linux and will be writing my LPIC1 in a few weeks so i would rather do it this way. Nothing beats hands on

Thanking you in advance,

Old 07-02-2013, 07:25 AM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 16,104

Rep: Reputation: 2255Reputation: 2255Reputation: 2255Reputation: 2255Reputation: 2255Reputation: 2255Reputation: 2255Reputation: 2255Reputation: 2255Reputation: 2255Reputation: 2255
Before reading on, read my sigline. Then act on it.

If you can't work out what you need to do from those listings, you are in no position to do this from the CLI. It's not rocket science, but any mistakes can (will) cause you to lose your system. Maybe even your Windows as well - not likely but possible.
Basically you need to recover that free space in the extended so you can expand sda3:
- delete the swap
- delete the extended
- delete the sda3 partition (not filesystem)
- reallocate sda3 larger - making sure it starts on exactly the same sector.
- enlarge the filesystem
- reallocate the extended (if desired) and swap
- fix fstab (and maybe grub) as the UUID of swap will have changed
- reboot
- pray

There is no way in the world you will be expected to do this for a LPIC - and no I haven't sat for it. Go get a gparted liveCD and let it do all of the above for you - safely.
Old 07-02-2013, 02:14 PM   #3
Registered: May 2013
Distribution: Debian
Posts: 194

Original Poster
Rep: Reputation: 7
Hi syg00,

Thanks for the valuable feedback. Im with you, It doesn't make sense to do it the hard way and in some way not worth it. Perhaps i should go the gparted route.

Thanks again!
Old 07-04-2013, 09:09 AM   #4
Registered: May 2013
Distribution: Debian
Posts: 194

Original Poster
Rep: Reputation: 7
Hi all,

Just for the record.

1) I booted my machine with the Linux Mint live CD and used gparted to resize the partition.

2) Removed CD from computer and rebooted into Linux Mint on local hard drive.

My machine is running successfully after the resize.

P.S) This may not successfully work first time for you :P

Especially thank you to syg00. Much appreciated.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to make Mint Menu always show favorite applications in Linux Mint 15 MATE LXer Syndicated Linux News 0 06-09-2013 02:00 PM
Help connecting to internet & disk space in Linux Mint 13 Jellybones Linux - Newbie 15 07-19-2012 03:43 PM
Disk Space increase and clearing Ubunter Linux - Server 18 07-13-2012 06:25 AM
hard disk partitioning/I am out of space /how to increase linux space? RMLinux Red Hat 8 09-05-2008 01:33 PM
how to increase the hard disk space of linux? hari78 Linux - Newbie 5 03-01-2005 06:09 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration