Linux free space problem

QueBert

Lifer
Jan 6, 2002
22,980
1,178
126
Installed Ubuntu 6.10, I repartitioned my HD with the Gnome Partition program, I made it too small and was getting a "no space" error message when Gnome booted. So I booted with the CD and ran Gparted and added a gig to my SDA4 partition which is my /root

rebooted my box and it's still saying the drive is full. if I click on my desktop folder I get and check properties I get a "0 bytes free" display. Not very familiar with *nix, anyone care to fill me in how I can be full even after adding a gig to the partition?

thanks
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Did you resize the file system to match the larger partition?

Also to free up space after a install run the command 'sudo apt-get clean'. Apt-get program keeps a copy of all the packages you downloaded during the install and the 'clean' command deletes them for you. It should free up quite a bit of space.

Also another option is to move your home directory to a different partition. Taht way you have the OS on one partition and the /home directory on another. That way if you reinstall or try a different Linux system you can keep all your user's files and preferences (although you probably want to clean those out in between installs) intact.
 

aceO07

Diamond Member
Nov 6, 2000
4,491
0
76
I'm pretty much a newbie too. Did you try 'df' in console to see what that says? You can also check your fstab to see which device is mount to which directory.

I think /root can be mounted from a different partition than / would be. Make sure you know exactly what device is low and adjust that. I could be totally wrong though. :)
 

QueBert

Lifer
Jan 6, 2002
22,980
1,178
126
Originally posted by: drag
Did you resize the file system to match the larger partition?

Also to free up space after a install run the command 'sudo apt-get clean'. Apt-get program keeps a copy of all the packages you downloaded during the install and the 'clean' command deletes them for you. It should free up quite a bit of space.

Also another option is to move your home directory to a different partition. Taht way you have the OS on one partition and the /home directory on another. That way if you reinstall or try a different Linux system you can keep all your user's files and preferences (although you probably want to clean those out in between installs) intact.

I did not resize, are you talking about using resize2fs? program confuses me, I booted to the CD so my ext3 partition can be unmounted. resize2fs seems to be overly complex and I can't figure out how to get it to let me edit my /dev/sda4 which is where Ubuntu is installed.

does it matter when I boot to Ubuntu and do a FS I don't see a /boot ? I thought all *nix installs had to have one.

I can't get XP to boot from Grub either, I have posted my menu.lst and fdisk -l info ina nother thread if anyone wants to peek at it :)

any help will be appericated!!!!!

 

bersl2

Golden Member
Aug 2, 2004
1,617
0
0
Originally posted by: QueBert
Originally posted by: drag
Did you resize the file system to match the larger partition?

Also to free up space after a install run the command 'sudo apt-get clean'. Apt-get program keeps a copy of all the packages you downloaded during the install and the 'clean' command deletes them for you. It should free up quite a bit of space.

Also another option is to move your home directory to a different partition. Taht way you have the OS on one partition and the /home directory on another. That way if you reinstall or try a different Linux system you can keep all your user's files and preferences (although you probably want to clean those out in between installs) intact.

I did not resize, are you talking about using resize2fs? program confuses me, I booted to the CD so my ext3 partition can be unmounted. resize2fs seems to be overly complex and I can't figure out how to get it to let me edit my /dev/sda4 which is where Ubuntu is installed.

does it matter when I boot to Ubuntu and do a FS I don't see a /boot ? I thought all *nix installs had to have one.

I can't get XP to boot from Grub either, I have posted my menu.lst and fdisk -l info ina nother thread if anyone wants to peek at it :)

any help will be appericated!!!!!

Use GParted (has its own live CD) or QTparted (comes with recent versions of Knoppix), which automate the resize programs for partitions and filesystems, so you don't have to invoke them manually.
 

QueBert

Lifer
Jan 6, 2002
22,980
1,178
126
fantastic! thanks bers12 that was a lifesaver, would you have any grub/xp knowledge? I just got done trying Super Grub with no luck, I cannot for the life of me get my Windows XP to boot using Grub, I've googled endlessly and I haven't made a lick of progress