Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Running out of space on EEE900
PostPosted: Sat Jul 03, 2010 9:49 pm 
Offline

Joined: Sat Jul 03, 2010 8:46 pm
Posts: 2
eeePC model: 900
Aurora version: Base 3.0
Hi

I've recently discovered Eeebuntu, and love it (I'm a complete novice at Linux, and being used to Windows found the leap to Eeebuntu was less than with other versions of Linux). I installed Eeebuntu 3 Base on the larger (16gb) drive of my EEE900. However, having installed lots of apps started getting warnings that the disk was nearly full (under 1gb remaining). When I check the Disk Usage Analyser it shows that my root folder has 3.8Gb, and is 100% full. Total filesystem capacity is shown as 14.1Gb, of which 989.9mb is available. I've removed all my own stuff (documents, photos etc) so its not those. I do have Wine installed, because I have an application that will only work under Windows - could that be causing the problems with capacity?

I thought that at least I could use the 4gb drive for my docs etc. I originally had Ubuntu on the 4gb drive, but wanted to clear that off. I used the USB stick containing Eeebuntu (unetbootin) to get to the "Prepare partitions" screen in the advanced installation routine, where I had the option to format /deve/sda1 ex3, but when I tried to tick the "format" box nothing happened. Even if I put Eeebuntu on the smaller drive, I have no way of clearing out the larger one.

What I'd really like to do is install Eeebuntu on the 4gb drive, and have the larger drive for other programs and documents etc (I don't mind if this requires starting from scratch). I have had a look through this forum, but its all a bit beyond me; I understand that I could move the /home folder, but I don't understand the instructions. I also understand that there used to be an app that could help with this, called Eeeconfigure, but that this is not included in Eeebuntu 3.

So, I'd be grateful for answers to the following (in easy steps please!):

1. Is Wine a resource hog? Is this what is causing my drive to fill up? Is there a solution?
2. How can I clean up the drives so that I can reinstall Eeebuntu onto the 4gb drive and have space for everything else on the 16gb drive (should I format both drives, or is there a better solution?)
3. How do I move the /home folder (and anything else appropriate) onto the larger drive?

Thanks for all your help. I do appreciate that Aurora will be due out shortly, but I'd like to get my Eee fully up and running asap.


Top
 Profile E-mail  
 
 Post subject: Re: Running out of space on EEE900
PostPosted: Fri Jul 09, 2010 7:34 pm 
Offline
Moderator

Joined: Fri May 29, 2009 7:09 pm
Posts: 319
eeePC model: 901
Aurora version: Base 3.0
1. Yes, maybe, yes. It's hard to say without doing a full disk usage tree, but Wine does take up a fair amount of space just on it's own (>100 MB, I believe). Then adding in the programs...can be large. On the other hand, a full installation with programs runs me around 4-7 GB, so I'm not sure how you're using 14 GB if you've cleared all personal docs off. More information about what programs you have installed is probably necessary.

2. If you're having problems with space for the SYSTEM files, moving your installation to a smaller drive seems counter productive. That being said, if still want to, you'll need to boot from the USB drive again. If you're SURE you want to do this, run gparted. It will graphically display all attached discs and their patitions. If you're SURE you want to redo your installation, you can go ahead and wipe the partitions off both drives. Then, when you run the installation program, you'll have to choose advanced to set the 4 GB drive as /, and you can also specify the 16 GB drive as /home.

3. If you're SURE you want to start from scratch, see 2. If you'd just like to rejigger your current installation, there are a couple good ways of going about doing this. The easiest I've found is to move everything in the folder you want over the the bigger drive, then simply put in a link where the folder was originally pointing to the new location. There are more advanced options, but this is by far the easiest to understand.


Top
 Profile E-mail  
 
 Post subject: Re: Running out of space on EEE900
PostPosted: Fri Jul 09, 2010 9:09 pm 
Offline

Joined: Sat Jul 03, 2010 8:46 pm
Posts: 2
eeePC model: 900
Aurora version: Base 3.0
Hi, and thanks for the advice, BobGod8.

I needed to get my eee up and running, so took the bull by the horns and formatted both drives. I think that, almost accidentally, I've done what you suggested. According to gparted I have, on the small drive:
/dev/sda1, ext 3, mount point / , (there is also the flag "boot").
/dev/sda2, extended
/dev/sda5, linux-swap

On the large drive:
/dev/sdb1, ext3, mount point /home, flag "boot"
/dev/sdb2, extended
/dev/sdb5, linux-swap

Total filesystem capacity (using Disk Usage Analyser) is 17.6gb, of which 3 gb is used (I've reinstalled Wine, and also now have some personal docs on there), which seems ok.

So, unless you advise that there's something that looks wrong with the drives as I've described (eg: is it ok to have "boot" on both drives?), I think I'm there!

One further question: is it possible to select where to install applications?

Thanks again for your help.


Top
 Profile E-mail  
 
 Post subject: Re: Running out of space on EEE900
PostPosted: Mon Jul 12, 2010 8:16 pm 
Offline
Moderator

Joined: Fri May 29, 2009 7:09 pm
Posts: 319
eeePC model: 901
Aurora version: Base 3.0
Quite welcome, glad it's working.

It looks to me like you have 2 swap partitions. I don't know if you did that on purpose or not, but many have found they don't need swap at all on an eee. You can probably, at the least, get rid of one of them. I'd recommend removing the one on sda if you're having space issues, as that's the smaller drive (?) and will free it up for more programs.

You also appear to have created complex partitions (extended), and while you don't list it, I believe those swap partitions are INSIDE the extended partitions? This is not a functionality issue, it's just complicated to understand explain.

Having a boot flag will just expose the drive to be booted from. If you hit escape as you boot up, it should present you with a list of drives to boot from. Boot flagged drives show up in that list. You won't be able to boot from that drive, though, unless you install grub on it, or another boot loader. Leaving it will make no difference.

Applications will install in /usr mostly, with a few exceptions. There's no simple way to have them install elsewhere. The easiest way "install" elsewhere is to install normally, then move the folder to a different location/drive, and put a link in the old location pointing to the new location.


Top
 Profile E-mail  
 
 Post subject: Re: Running out of space on EEE900
PostPosted: Fri Jul 23, 2010 11:37 pm 
Offline
User avatar

Joined: Fri Jul 23, 2010 10:36 pm
Posts: 1
eeePC model: 900
Aurora version: NBR 3.0.1
eee900 with 4Gb & 8Gb SSD. I also am running out of space on the root. df gives
/dev/sda1 3652684 3236444 230692 94% /
/dev/sdb3 3976792 2945152 829624 79% /home
/dev/sdc 3985796 875800 3109996 22% /media/SD_4GB

And du on /usr gives
usr$ du -s *
196000 bin
24 games
8696 include
1111112 lib
92 lib64
188 local
8908 sbin
947040 share
144932 src
4 X11R6

So, can I just move /usr to the /home and make a link? Would I need a symbolic link?
Would the following sequence do what I want? I know there are dangers in messing with these system directories.

$ sudo cp -ad --preserve /usr /home
$ sudo rm -rf /usr
$ sudo ln -s /home/usr /usr

Thanks for any help
Michael


Top
 Profile E-mail  
 
 Post subject: Re: Running out of space on EEE900
PostPosted: Sat Jul 24, 2010 10:09 am 
Offline
Administrator
User avatar

Joined: Mon Dec 15, 2008 1:55 am
Posts: 1969
Location: El Puerto de Santa María, España
eeePC model: 1000HA
Aurora version: Beta 4.0
Read all about it
http://forum.auroraos.org/viewtopic.php?f=7&t=2343

_________________
Asus Eee 1000HA - Fuduntu 2012.1
Asus Eee 1000 - Aurora Beta 0.5 (EB4 beta 1 with all updates applied) (left on airplane)
Asus G73JHA1 - Fuduntu 2012.1
Image


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


Who is online

Users browsing this forum: No registered users and 3 guests


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
You cannot post attachments in this forum

Search for:
Jump to:  
cron