Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Decreasing disk space now getting serious

  Date: Jan 11    Category: Unix / Linux / Ubuntu    Views: 490
  

I'm the one who installed via Wubi, was running out of disk space, and was
advised to move /home to its own space, which I did. But I keep getting that
message that I'm running out of space in filesystem /root, and the amount I'm
down to is decreasing. It's in the 500+ mb range now.

So I was told to delete /home.backup to recover the space, which I attempted,
but I get an error saying it can't be moved to the trash, and would I like to
delete that file directly. I choose Yes, and then nothing happens, and
filesystem /root is shrinking every time I use the computer.

So what's going to happen if I don't find a solution? And more importantly,
does anyone have a solution?

Share: 

 

9 Answers Found

 
Answer #1    Answered On: Jan 11    

Ubuntu via Wubi is suppose to be just like another program you can remove in the
usual way as other Windows programs, or is my memory off today? Hopefully, you
already copied to USB what was important and any bookmarks were saved via
Xmarks, etc.

Recovering from Wubi install=Google search string:
www.google.com/search+from+Wubi+ins\
tall&ie=utf-8&oe=utf-8

https://wiki.ubuntu.com/WubiGuide

http://linux.about.com/od/dist/gr/dstwubi.htm

http://neosmart.net/forums/showthread.php?t=5004
kubuntuforums.net/forums/index.php?topic=3113011.0

 
Answer #2    Answered On: Jan 11    

You can clean out the apt folder and clean out your temp files stored in
/tmp of the root directory. You can clean apt from the commandline with sudo
apt-get clean. You will need to use Nautilus file manager as root to clean
the tmp folder. Alt+F2 and type gksu nautilus in the box that pops up. You
can also issue the same command from a terminal window.

This only a short term solution to your problem. You should consider
installing Ubuntu in its own partition and dual boot. I consider WUBI as
only a way of trying Ubuntu and not a permanent way of installing it. It is
better than running from a Live CS, but as good as installing it on the hard
drive on its own partition.

 
Answer #3    Answered On: Jan 11    

Open a terminal (Applications > Accessories > Terminal) and type - or
copy/paste (you need to ctrl-shift-v to paste into the terminal)

sudo rm -rf /home.backup

Enter your login password when prompted.

You should now have your free space back.

 
Answer #4    Answered On: Jan 11    

So I'm guessing from your explanation the reason it won't delete by dragging it
to the trash is that I'm not logged in as root, and that by doing this from a
terminal window, I'd be doing it as root, so it would do it?

 
Answer #5    Answered On: Jan 11    

Dragging to the trash does not delete. It stores the files in your
.local/share/Trash folder and it is therefore still on your drive. It does
not matter if you are root or not because it does not remove them. The way
to permanently delete is the press Shift+Del.

 
Answer #6    Answered On: Jan 11    

(well, true-ish - there are other ways to permanently delete
files, such as the rm command), but I think the OP's problem is rather
more fundamental than that as the files don't seem to be being moved to
trash. Thus the need to drop to a terminal and elevate privileges with
a sudo rm......

Well, not need, this is *Linux* after all and there's *always* more than
one way to do a job, but it's probably the quickest and, in my opinion,
easiest way to do it

 
Answer #7    Answered On: Jan 11    

I hope to solve all these permanently by backing up my windows OS entirely, the
files, and all my Ubuntu files, wiping the HD, and installing from scratch.
Since I only use Windows for iTunes, I'd give it just a small space on the
drive.

 
Answer #8    Answered On: Jan 11    

Basically, yes. Given what you've told us, I think this is most likely
a permissions issue, so issuing the command with root privileges - which
sudo temporarily gives you - should do the trick.

The *only* time I have ever known sudo rm to fail was when trying to
delete files from a *seriously* fubarred drive which was trashed shortly
after.

 
Answer #9    Answered On: Jan 11    

Good idea! I've just done exactly that. Not for the first time, but having tried
other configurations in the last couple years I decided that dual-boot was the
best way to get everything running properly.



A couple of things to watch out for:



install Windows first, because it insists on overwriting the boot
record. If you put Ubuntu on then Windows you'll have no way of booting into
anything but Windows. Ubuntu is much politer, it lets you choose via the Grub
menu.



Have between 10 and 20 gig for your Ubuntu root partition.



If you've got enough disk space you could set aside another 10 - 20
GB for trialling the next release of Ubuntu, or other distros, or Kubuntu, etc.
(Just be careful now you let different OSs use your precious data - especially
Alpha releases).



I think Windows 7 also needs between 10 and 20 GB. iTunes can be
hungry though, depending on howmuch musicetcyou keep on it. It seems to
duplicate everything. RhythmBox is better in that respect , but as you or
someone else said it doesn't transfer playlists, nor videos (I'm going to give
iTunes one more chance when I get round to it).



Your swap file should be twice the size of your installed RAM, no
more no less - that's the recommendation I've seen anyway.



And of course, have a separate /Home partition, occupying the bulk
of your disk.



That's my experience, anyway, and I hope it's useful.

 
Didn't find what you were looking for? Find more on Decreasing disk space now getting serious Or get search suggestion and latest updates.




Tagged: