Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Root partition full already - resize?

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
ashhash
Posts: 29
Joined: 2009-09-18 12:31

Root partition full already - resize?

#1 Post by ashhash »

Hey all

I recently installed Lenny and used the "Guided - Use Entire Disk" option.
I made separate partitions for root, /etc, /var, /home, /usr and swap.
I trusted that the auto partitioner would choose sensible sizes but possibly that was a bad move, root is only 340Mb and is full... :?

Is 340 really too small?
Can I free up space?
Resize partition? (offline editor)

Help much appreciated.

Cheers
Ash
Attachments
Screenshot--dev-sda - GParted.png
Screenshot--dev-sda - GParted.png (64.24 KiB) Viewed 3351 times

ashhash
Posts: 29
Joined: 2009-09-18 12:31

Re: Root partition full already - resize?

#2 Post by ashhash »

Ok after some further reading it sound like the 340Mb should be sufficient, would you agree?

I ran du which seems to imply that Wine is the culprit.

How do I get it off root and onto a partition with more space. (I want as much as possible in my 230gb home area)

Code: Select all

14849	/boot
17082	/root/.wine/drive_c/windows/gecko/0.1.0/wine_gecko
17083	/root/.wine/drive_c/windows/gecko/0.1.0
17084	/root/.wine/drive_c/windows/gecko
23058	/root/.winetrickscache/dotnet20
27458	/root/.wine/drive_c/windows/Microsoft.NET/Framework/v2.0.50727/Microsoft .NET Framework 2.0
29747	/root/.winetrickscache
34524	/lib/modules/2.6.26-2-686/kernel/drivers
51793	/lib/modules/2.6.26-2-686/kernel
53835	/lib/modules/2.6.26-2-686
53836	/lib/modules
54091	/root/.wine/drive_c/windows/temp
63180	/lib
91935	/root/.wine/drive_c/windows/Microsoft.NET/Framework/v2.0.50727
92241	/root/.wine/drive_c/windows/Microsoft.NET/Framework
92242	/root/.wine/drive_c/windows/Microsoft.NET
174384	/root/.wine/drive_c/windows
177434	/root/.wine/drive_c
178664	/root/.wine
208462	/root
300913	/
The modules directory is also "large", how do I get around this?

User avatar
Absent Minded
Posts: 3464
Joined: 2006-07-09 08:50
Location: Washington State U.S.A.
Been thanked: 3 times

Re: Root partition full already - resize?

#3 Post by Absent Minded »

Personally, i would just delete /root/.wine.

I do have to ask however... Why did you run a program in wine as root? Just in case you didn't know or realize, wine is just as capable of running Windows viruses, malware and trogens as it is at running the windows programs themselves.
Serving the community the best way I can.
Spreading the tradition of Community Spirit.
Please read some Basic Forum Philosophy
Give a man a fish, he eats for a day. Teach him how to fish, he eats for life.
Updated Nov. 19, 2012

ashhash
Posts: 29
Joined: 2009-09-18 12:31

Re: Root partition full already - resize?

#4 Post by ashhash »

OK thanks.

I haven't run Wine at all that I know of, I have followed some guides to get Office 2007 working through it though.
Im pretty new to this so I have probably run it as root unwittingly, thanks for the heads up.

User avatar
julian67
Posts: 4633
Joined: 2007-04-06 14:39
Location: Just hanging around
Been thanked: 7 times

Re: Root partition full already - resize?

#5 Post by julian67 »

On hard disk that size and for a desktop system I would choose a simple / /home swap partition scheme and dedicate plenty of space for / 10GB should suffice. Some applications need plenty of space for /tmp and package management can use a lot of space if it's paid no attention. A few applications such as games and openoffice are very big indeed. I have a 12GB / on my desktop of which 6.2GB is used, mostly in /usr and /lib.
Wisdom from my inbox: "do not mock at your pottenocy"

ashhash
Posts: 29
Joined: 2009-09-18 12:31

Re: Root partition full already - resize?

#6 Post by ashhash »

Hmm I wish I had done more research into best practices for partitions before installing instead of just following the guided setup, too late though.

*Can* the root partition be expanded by accessing the drive offline and in another PC or will Debian fall in a heap when I try to boot up?
I thought maybe I could shrink sda2 and use the free space to expand sda1.

User avatar
julian67
Posts: 4633
Joined: 2007-04-06 14:39
Location: Just hanging around
Been thanked: 7 times

Re: Root partition full already - resize?

#7 Post by julian67 »

Yes you can do this from a live CD. Try http://partedmagic.com/ which is a live CD with all kinds of utilities, the main one being gparted.
Wisdom from my inbox: "do not mock at your pottenocy"

User avatar
bluesdog
Posts: 2077
Joined: 2006-02-01 09:02
Location: Similkameen, British Columbia, Canada
Been thanked: 1 time

Re: Root partition full already - resize?

#8 Post by bluesdog »

In case it isn't already obvious to you, you should purge that wine stuff from the root folder.

ashhash
Posts: 29
Joined: 2009-09-18 12:31

Re: Root partition full already - resize?

#9 Post by ashhash »

Yep done.
Thanks.

Post Reply