LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-08-2014, 12:18 AM   #1
larrymeditates
LQ Newbie
 
Registered: Oct 2014
Posts: 5

Rep: Reputation: Disabled
What is taking up all the space on my hard drive/partition and how can I free it up?


I'm using Ubuntu 12.04 LTS. When I right click on my hard drive it says there is 648.8 GB free but when I try to save any documents there is no space left.
 
Old 10-08-2014, 12:26 AM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Posat output of df -h
 
1 members found this post helpful.
Old 10-08-2014, 05:26 AM   #3
elija
Member
 
Registered: Jul 2008
Location: The garden of England. Technically, the compost heap.
Distribution: Mint Xfce and #! (now Debian)
Posts: 51

Rep: Reputation: 21
also sudo fdisk -l That's a lower case L in case the font isn't clear
 
1 members found this post helpful.
Old 10-08-2014, 05:32 AM   #4
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,133

Rep: Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273
not to speak about inodes:
df -hi
 
1 members found this post helpful.
Old 10-08-2014, 09:22 PM   #5
larrymeditates
LQ Newbie
 
Registered: Oct 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Output

Output of df -h:

Filesystem Size Used Avail Use% Mounted on
/dev/loop0 18G 16G 1.1G 94% /
udev 1.4G 4.0K 1.4G 1% /dev
tmpfs 277M 796K 276M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 1.4G 200K 1.4G 1% /run/shm
/dev/sda1 41G 39G 1.7G 96% /host

output of sudo fdisk -l:

Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 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: 0x13d713d6

Device Boot Start End Blocks Id System
/dev/sda1 * 63 84775004 42387471 7 HPFS/NTFS/exFAT
/dev/sda2 84775005 1465144064 690184530 5 Extended
/dev/sda5 84775068 1459151819 687188376 83 Linux
/dev/sda6 1459151883 1465144064 2996091 82 Linux swap / Solaris

Thanks!
 
Old 10-08-2014, 09:29 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,830

Rep: Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409
well
"/dev/sda1 41G 39G 1.7G 96% /host"

this small partition in on a Microsoft windows partition
/dev/sda1 * 63 84775004 42387471 7 HPFS/NTFS/exFAT



you look like you are not using most of it
the rest is Microsoft
 
1 members found this post helpful.
Old 10-08-2014, 10:51 PM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
If that's the case is this a VM on wins partition + and another linux install on sda5?

@JohnVV
Please excuse my newbie mentality but by the total blocks taken by sda1 & sda2(extended partition) that is just above 6% of the total size of just the Extended partition.

Almost 5.5%of the total drive.

Last edited by EDDY1; 10-08-2014 at 10:53 PM.
 
1 members found this post helpful.
Old 10-09-2014, 12:18 AM   #8
larrymeditates
LQ Newbie
 
Registered: Oct 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
I started with Windows XP then added Ubuntu to create a dual boot system. Later on, I wanted to delete XP but I used an older Ubuntu 8.10 CD by mistake so now I have to go through 3 startup windows: Ubuntu 8.10 & MS XP then MS XP and Ubuntu and then a final Ubuntu window. It's messy. I only use Ubuntu 12.04 now and I want to delete the other partitions if possible. By the way, the output of df -hi is below. Thanks for your help.


df -hi
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/loop0 1.1M 749K 362K 68% /
udev 209K 510 208K 1% /dev
tmpfs 213K 428 212K 1% /run
none 213K 3 213K 1% /run/lock
none 213K 6 213K 1% /run/shm
/dev/sda1 1.9M 52K 1.8M 3% /host

Last edited by larrymeditates; 10-09-2014 at 12:19 AM.
 
Old 10-09-2014, 12:44 AM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,830

Rep: Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409
Ubuntu 8.10 ???
that is very very old and has not been supported in a very long time
Ubuntu 8.10 should be in a "grave" and buried 6 ft under -- R.I.P.
-- it's a "Walking DEAD "

please reformat the drive during the install of the current version.
Ubuntu 14.04.1 LTS

http://www.ubuntu.com/download/desktop
 
Old 10-09-2014, 01:25 AM   #10
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Originally Posted by larrymeditates View Post
I started with Windows XP then added Ubuntu to create a dual boot system. Later on, I wanted to delete XP but I used an older Ubuntu 8.10 CD by mistake so now I have to go through 3 startup windows: Ubuntu 8.10 & MS XP then MS XP and Ubuntu and then a final Ubuntu window. It's messy. I only use Ubuntu 12.04 now and I want to delete the other partitions if possible. By the way, the output of df -hi is below. Thanks for your help.


df -hi
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/loop0 1.1M 749K 362K 68% /
udev 209K 510 208K 1% /dev
tmpfs 213K 428 212K 1% /run
none 213K 3 213K 1% /run/lock
none 213K 6 213K 1% /run/shm
/dev/sda1 1.9M 52K 1.8M 3% /host
This output doesn't show sda5 & up it must be a wubi install. If you have an OS on sda5 you'll have to install grub to it's OS.
To confirm my theory we need to know what versaion of grub you're using.
Can you access sda5 thru File Manager?
 
1 members found this post helpful.
Old 10-09-2014, 09:37 PM   #11
larrymeditates
LQ Newbie
 
Registered: Oct 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
John,
I don't understand your description of how to reformat the hard drive. Can you step it out for me? Thanks.

As far as sda5 goes, Ubuntu 8.10 is on that partition. I can access it during boot up but I haven't been able to access it through the file manager. Should I try to install grub on Ubuntu 8.10?

Thank you.
 
Old 10-09-2014, 10:15 PM   #12
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
So what partitiion is 12.04?
 
1 members found this post helpful.
Old 10-11-2014, 10:44 AM   #13
larrymeditates
LQ Newbie
 
Registered: Oct 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
I only know the partitions for windows xp and linux 8 because it shows up on one of the boot up screens. I don't know which partition Ubuntu 12.04 is on.

If I boot from an Ubuntu CD to install Ubuntu 14.04 will that automatically reformat the hard drive and delete all the other partitions? I tried this with an Ubuntu 8 CD and it just added another partition and another boot up screen.

Thanks!
 
Old 10-11-2014, 11:36 AM   #14
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 2,117

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Are you wanting to wipe out everything on the current hard drive and install Ubuntu from scratch (not retaining any of your previous data)?

If so, pop in the Ubuntu CD and when you go to install, tell it to install Ubuntu as the only OS. You will get warnings like "Warning! Everything on you hard disk will be erased!" Which is fine, if that's your intent.

From your current fdisk output, you have a large sda5 partition. But I don't see that mounted anywyere (looking at your df output).
 
  


Reply


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
[SOLVED] Which program do I use to see my free hard drive space? curious95 Linux - Software 3 04-24-2013 12:58 PM
how to free up space on my hard drive? beny2 Linux - Server 4 10-06-2009 09:38 PM
best way to find out what is taking up the bulk of your hard drive space? dr_zayus69 Linux - Software 2 06-30-2005 08:51 AM
Not enough free space on hard drive with 50g of free space??? auoq SUSE / openSUSE 5 10-13-2004 09:21 PM
Hard Drive free space gatorbyte Linux - Software 3 05-12-2003 07:28 AM


All times are GMT -5. The time now is 06:31 AM.

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