Running out of partition space: need to get free space...

Asked by Rich.b on 2012-08-26

Running out of space, so I would to see which files are taking up the most room. (I know that video files take up the most)

Please show me how I can seen ALL files sizes.

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Solved by:
Rich.b
Solved:
2012-08-26
Last query:
2012-08-26
Last reply:
2012-08-26

cd $HOME
du -h *

If you can give the output of:

lsb_release -a; uname -a; dpkg -l | grep linux-image

We can remove old kernels and free space up

Rich.b (aybi30) said : #2

richard@richard-desktop:~$ lsb_release -a; uname -a; dpkg -l | grep linux-image
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
Linux richard-desktop 3.2.0-30-generic #47-Ubuntu SMP Wed Aug 15 18:30:12 UTC 2012 i686 i686 i386 GNU/Linux
rc linux-image-2.6.31-14-generic 2.6.31-14.48 Linux kernel image for version 2.6.31 on x86/x86_64
rc linux-image-2.6.31-20-generic 2.6.31-20.58 Linux kernel image for version 2.6.31 on x86/x86_64
ii linux-image-2.6.31-21-generic 2.6.31-21.59 Linux kernel image for version 2.6.31 on x86/x86_64
rc linux-image-2.6.32-22-generic 2.6.32-22.36 Linux kernel image for version 2.6.32 on x86/x86_64
rc linux-image-2.6.32-23-generic 2.6.32-23.37 Linux kernel image for version 2.6.32 on x86/x86_64
rc linux-image-2.6.32-24-generic 2.6.32-24.43 Linux kernel image for version 2.6.32 on x86/x86_64
rc linux-image-2.6.32-25-generic 2.6.32-25.44 Linux kernel image for version 2.6.32 on x86/x86_64
rc linux-image-2.6.35-22-generic 2.6.35-22.35 Linux kernel image for version 2.6.35 on x86/x86_64
rc linux-image-2.6.35-23-generic 2.6.35-23.41 Linux kernel image for version 2.6.35 on x86/x86_64
rc linux-image-2.6.35-24-generic 2.6.35-24.42 Linux kernel image for version 2.6.35 on x86/x86_64
rc linux-image-2.6.35-25-generic 2.6.35-25.44 Linux kernel image for version 2.6.35 on x86/x86_64
rc linux-image-2.6.35-27-generic 2.6.35-27.48 Linux kernel image for version 2.6.35 on x86/x86_64
rc linux-image-2.6.35-28-generic 2.6.35-28.50 Linux kernel image for version 2.6.35 on x86/x86_64
rc linux-image-2.6.35-29-generic 2.6.35-29.51 Linux kernel image for version 2.6.35 on x86/x86_64
rc linux-image-2.6.38-10-generic 2.6.38-10.46 Linux kernel image for version 2.6.38 on x86/x86_64
rc linux-image-2.6.38-11-generic 2.6.38-11.50 Linux kernel image for version 2.6.38 on x86/x86_64
ii linux-image-2.6.38-12-generic 2.6.38-12.51 Linux kernel image for version 2.6.38 on x86/x86_64
rc linux-image-2.6.38-9-generic 2.6.38-9.43 Linux kernel image for version 2.6.38 on x86/x86_64
rc linux-image-3.0.0-13-generic 3.0.0-13.22 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-14-generic 3.0.0-14.23 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-15-generic 3.0.0-15.26 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-16-generic 3.0.0-16.29 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-17-generic 3.0.0-17.30 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-18-generic 3.0.0-18.31 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-19-generic 3.0.0-19.33 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-20-generic 3.0.0-20.34 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-21-generic 3.0.0-21.35 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-22-generic 3.0.0-22.36 Linux kernel image for version 3.0.0 on x86/x86_64
ii linux-image-3.2.0-26-generic 3.2.0-26.41 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-27-generic 3.2.0-27.43 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-29-generic 3.2.0-29.46 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-30-generic 3.2.0-30.47 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-generic 3.2.0.30.32 Generic Linux kernel image
richard@richard-desktop:~$

oh man, what a mess

sudo dpkg -P linux-image-2.6.31-14-generic linux-image-2.6.31-20-generic linux-image-2.6.31-22-generic linux-image-2.6.31-23-generic linux-image-2.6.31-24-generic linux-image-2.6.38-9-generic

sudo apt-get --purge remove linux-image-2.6.31-21-generic linux-image-2.6.38-12-generic

sudo dpkg -P linux-image-2.6.35-22-generic linux-image-2.6.35-23-generic linux-image-2.6.35-24-generic linux-image-2.6.35-25-generic linux-image-2.6.35-27-generic linux-image-2.6.35-28-generic linux-image-2.6.35-29-generic linux-image-2.6.38-10-generic linux-image-2.6.38-11-generic linux-image-2.6.38-9-generic

sudo dpkg -P linux-image-3.0.0-13-generic linux-image-3.0.0-14-generic linux-image-3.0.0-15-generic linux-image-3.0.0-16-generic linux-image-3.0.0-17-generic linux-image-3.0.0-18-generic linux-image-3.0.0-19-generic linux-image-3.0.0-20-generic linux-image-3.0.0-21-generic linux-image-3.0.0-22-generic

sudo apt-get --purge remove linux-image-3.2.0-26-generic linux-image-3.2.0-27-generic linux-image-3.2.0-29-generic

Rich.b (aybi30) said : #4

Ran all above, 1 at a time, them ran:-

richard@richard-desktop:~$ lsb_release -a; uname -a; dpkg -l | grep linux-image
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
Linux richard-desktop 3.2.0-30-generic #47-Ubuntu SMP Wed Aug 15 18:30:12 UTC 2012 i686 i686 i386 GNU/Linux
rc linux-image-2.6.31-20-generic 2.6.31-20.58 Linux kernel image for version 2.6.31 on x86/x86_64
ii linux-image-2.6.31-21-generic 2.6.31-21.59 Linux kernel image for version 2.6.31 on x86/x86_64
rc linux-image-2.6.32-22-generic 2.6.32-22.36 Linux kernel image for version 2.6.32 on x86/x86_64
rc linux-image-2.6.32-23-generic 2.6.32-23.37 Linux kernel image for version 2.6.32 on x86/x86_64
rc linux-image-2.6.32-24-generic 2.6.32-24.43 Linux kernel image for version 2.6.32 on x86/x86_64
rc linux-image-2.6.32-25-generic 2.6.32-25.44 Linux kernel image for version 2.6.32 on x86/x86_64
rc linux-image-2.6.35-23-generic 2.6.35-23.41 Linux kernel image for version 2.6.35 on x86/x86_64
rc linux-image-2.6.35-24-generic 2.6.35-24.42 Linux kernel image for version 2.6.35 on x86/x86_64
rc linux-image-2.6.35-25-generic 2.6.35-25.44 Linux kernel image for version 2.6.35 on x86/x86_64
rc linux-image-2.6.35-27-generic 2.6.35-27.48 Linux kernel image for version 2.6.35 on x86/x86_64
rc linux-image-2.6.35-28-generic 2.6.35-28.50 Linux kernel image for version 2.6.35 on x86/x86_64
rc linux-image-2.6.35-29-generic 2.6.35-29.51 Linux kernel image for version 2.6.35 on x86/x86_64
rc linux-image-2.6.38-10-generic 2.6.38-10.46 Linux kernel image for version 2.6.38 on x86/x86_64
rc linux-image-2.6.38-11-generic 2.6.38-11.50 Linux kernel image for version 2.6.38 on x86/x86_64
ii linux-image-2.6.38-12-generic 2.6.38-12.51 Linux kernel image for version 2.6.38 on x86/x86_64
rc linux-image-2.6.38-9-generic 2.6.38-9.43 Linux kernel image for version 2.6.38 on x86/x86_64
rc linux-image-3.0.0-15-generic 3.0.0-15.26 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-16-generic 3.0.0-16.29 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-17-generic 3.0.0-17.30 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-18-generic 3.0.0-18.31 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-19-generic 3.0.0-19.33 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-20-generic 3.0.0-20.34 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-21-generic 3.0.0-21.35 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-22-generic 3.0.0-22.36 Linux kernel image for version 3.0.0 on x86/x86_64
ii linux-image-3.2.0-26-generic 3.2.0-26.41 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-27-generic 3.2.0-27.43 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-29-generic 3.2.0-29.46 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-30-generic 3.2.0-30.47 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-generic 3.2.0.30.32 Generic Linux kernel image
richard@richard-desktop:~$

The cmmands clean the kernels out. Try:

sudo dpkg -l | grep '^rc' | awk '{print $2}' | xargs dpkg --purge

Just trying to get rid of all the rc kernels, which are removed but have residual configs

Rich.b (aybi30) said : #6

richard@richard-desktop:~$ sudo dpkg -l | grep '^rc' | awk '{print $2}' | xargs dpkg --purge
[sudo] password for richard:
dpkg: error: requested operation requires superuser privilege
richard@richard-desktop:~$ sudo dpkg -l | grep '^rc' | awk '{print $2}' | xargs dpkg --purge
dpkg: error: requested operation requires superuser privilege
richard@richard-desktop:~$

when you ran the commands I gave earlier, did you copy the blocks as one command? What is the output of the command?

Rich.b (aybi30) said : #8

I did this first:-

sudo dpkg -P linux-image-2.6.31-14-generic linux-image-2.6.31-20-generic linux-image-2.6.31-22-generic linux-image-2.6.31-23-generic linux-image-2.6.31-24-generic linux-image-2.6.38-9-generic

them this :-

sudo apt-get --purge remove linux-image-2.6.31-21-generic linux-image-2.6.38-12-generic

Would you like the output of each one a ran?

Rich.b (aybi30) said : #9

Here is the FULL terminal run:-

richard@richard-desktop:~$ cd $HOME
richard@richard-desktop:~$ du-h*
du-h*: command not found
richard@richard-desktop:~$ clear

richard@richard-desktop:~$ lsb_release -a; uname -a; dpkg -l | grep linux-image
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
Linux richard-desktop 3.2.0-30-generic #47-Ubuntu SMP Wed Aug 15 18:30:12 UTC 2012 i686 i686 i386 GNU/Linux
rc linux-image-2.6.31-14-generic 2.6.31-14.48 Linux kernel image for version 2.6.31 on x86/x86_64
rc linux-image-2.6.31-20-generic 2.6.31-20.58 Linux kernel image for version 2.6.31 on x86/x86_64
ii linux-image-2.6.31-21-generic 2.6.31-21.59 Linux kernel image for version 2.6.31 on x86/x86_64
rc linux-image-2.6.32-22-generic 2.6.32-22.36 Linux kernel image for version 2.6.32 on x86/x86_64
rc linux-image-2.6.32-23-generic 2.6.32-23.37 Linux kernel image for version 2.6.32 on x86/x86_64
rc linux-image-2.6.32-24-generic 2.6.32-24.43 Linux kernel image for version 2.6.32 on x86/x86_64
rc linux-image-2.6.32-25-generic 2.6.32-25.44 Linux kernel image for version 2.6.32 on x86/x86_64
rc linux-image-2.6.35-22-generic 2.6.35-22.35 Linux kernel image for version 2.6.35 on x86/x86_64
rc linux-image-2.6.35-23-generic 2.6.35-23.41 Linux kernel image for version 2.6.35 on x86/x86_64
rc linux-image-2.6.35-24-generic 2.6.35-24.42 Linux kernel image for version 2.6.35 on x86/x86_64
rc linux-image-2.6.35-25-generic 2.6.35-25.44 Linux kernel image for version 2.6.35 on x86/x86_64
rc linux-image-2.6.35-27-generic 2.6.35-27.48 Linux kernel image for version 2.6.35 on x86/x86_64
rc linux-image-2.6.35-28-generic 2.6.35-28.50 Linux kernel image for version 2.6.35 on x86/x86_64
rc linux-image-2.6.35-29-generic 2.6.35-29.51 Linux kernel image for version 2.6.35 on x86/x86_64
rc linux-image-2.6.38-10-generic 2.6.38-10.46 Linux kernel image for version 2.6.38 on x86/x86_64
rc linux-image-2.6.38-11-generic 2.6.38-11.50 Linux kernel image for version 2.6.38 on x86/x86_64
ii linux-image-2.6.38-12-generic 2.6.38-12.51 Linux kernel image for version 2.6.38 on x86/x86_64
rc linux-image-2.6.38-9-generic 2.6.38-9.43 Linux kernel image for version 2.6.38 on x86/x86_64
rc linux-image-3.0.0-13-generic 3.0.0-13.22 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-14-generic 3.0.0-14.23 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-15-generic 3.0.0-15.26 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-16-generic 3.0.0-16.29 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-17-generic 3.0.0-17.30 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-18-generic 3.0.0-18.31 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-19-generic 3.0.0-19.33 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-20-generic 3.0.0-20.34 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-21-generic 3.0.0-21.35 Linux kernel image for version 3.0.0 on x86/x86_64
rc linux-image-3.0.0-22-generic 3.0.0-22.36 Linux kernel image for version 3.0.0 on x86/x86_64
ii linux-image-3.2.0-26-generic 3.2.0-26.41 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-27-generic 3.2.0-27.43 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-29-generic 3.2.0-29.46 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-30-generic 3.2.0-30.47 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-generic 3.2.0.30.32 Generic Linux kernel image
richard@richard-desktop:~$ clear

richard@richard-desktop:~$ sudo dpkg -P linux-image-2.6.31-14-generic linux-
[sudo] password for richard:
Sorry, try again.
[sudo] password for richard:
dpkg: warning: there's no installed package matching linux-
(Reading database ... 345352 files and directories currently installed.)
Removing linux-image-2.6.31-14-generic ...
Purging configuration files for linux-image-2.6.31-14-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.31-14-generic /boot/vmlinuz-2.6.31-14-generic
update-initramfs: Deleting /boot/initrd.img-2.6.31-14-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.31-14-generic /boot/vmlinuz-2.6.31-14-generic
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-30-generic
Found initrd image: /boot/initrd.img-3.2.0-30-generic
Found linux image: /boot/vmlinuz-3.2.0-29-generic
Found initrd image: /boot/initrd.img-3.2.0-29-generic
Found linux image: /boot/vmlinuz-3.2.0-27-generic
Found initrd image: /boot/initrd.img-3.2.0-27-generic
Found linux image: /boot/vmlinuz-3.2.0-26-generic
Found initrd image: /boot/initrd.img-3.2.0-26-generic
Found linux image: /boot/vmlinuz-2.6.38-12-generic
Found initrd image: /boot/initrd.img-2.6.38-12-generic
Found linux image: /boot/vmlinuz-2.6.31-21-generic
Found initrd image: /boot/initrd.img-2.6.31-21-generic
Found memtest86+ image: /boot/memtest86+.bin
done
richard@richard-desktop:~$ sudo apt-get --purge remove linux-image-2.6.31-21-generic linux-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux is not installed, so not removed
The following packages will be REMOVED
  linux-image-2.6.31-21-generic*
0 upgraded, 0 newly installed, 1 to remove and 11 not upgraded.
After this operation, 90.3 MB disk space will be freed.
Do you want to continue [Y/n]? y
Abort.
richard@richard-desktop:~$ sudo dpkg -P linux-image-2.6.35-22-generic linux-
dpkg: warning: there's no installed package matching linux-
(Reading database ... 345352 files and directories currently installed.)
Removing linux-image-2.6.35-22-generic ...
Purging configuration files for linux-image-2.6.35-22-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.35-22-generic /boot/vmlinuz-2.6.35-22-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.35-22-generic /boot/vmlinuz-2.6.35-22-generic
richard@richard-desktop:~$ image-2.6.35-23-generic linux-image-2.6.35-24-generic linux-
image-2.6.35-23-generic: command not found
richard@richard-desktop:~$ image-2.6.35-25-generic linux-image-2.6.35-27-generic linux-
image-2.6.35-25-generic: command not found
richard@richard-desktop:~$ image-2.6.35-28-generic linux-image-2.6.35-29-generic linux-
image-2.6.35-28-generic: command not found
richard@richard-desktop:~$ image-2.6.38-10-generic linux-image-2.6.38-11-generic linux-
image-2.6.38-10-generic: command not found
richard@richard-desktop:~$ sudo dpkg -P linux-image-2.6.35-22-generic linux-
dpkg: warning: there's no installed package matching linux-
(Reading database ... 345352 files and directories currently installed.)
Removing linux-image-2.6.35-22-generic ...
Purging configuration files for linux-image-2.6.35-22-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.35-22-generic /boot/vmlinuz-2.6.35-22-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.35-22-generic /boot/vmlinuz-2.6.35-22-generic
richard@richard-desktop:~$ image-2.6.35-23-generic linux-image-2.6.35-24-generic linux-
image-2.6.35-23-generic: command not found
richard@richard-desktop:~$ image-2.6.35-25-generic linux-image-2.6.35-27-generic linux-
image-2.6.35-25-generic: command not found
richard@richard-desktop:~$ image-2.6.35-28-generic linux-image-2.6.35-29-generic linux-
image-2.6.35-28-generic: command not found
richard@richard-desktop:~$ image-2.6.38-10-generic linux-image-2.6.38-11-generic linux-
image-2.6.38-10-generic: command not found
richard@richard-desktop:~$ sudo dpkg -P linux-image-3.0.0-13-generic linux-image-3.0.0-14-generic
(Reading database ... 345352 files and directories currently installed.)
Removing linux-image-3.0.0-13-generic ...
Purging configuration files for linux-image-3.0.0-13-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.0.0-13-generic /boot/vmlinuz-3.0.0-13-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.0.0-13-generic /boot/vmlinuz-3.0.0-13-generic
Removing linux-image-3.0.0-14-generic ...
Purging configuration files for linux-image-3.0.0-14-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.0.0-14-generic /boot/vmlinuz-3.0.0-14-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.0.0-14-generic /boot/vmlinuz-3.0.0-14-generic
richard@richard-desktop:~$ linux-image-3.0.0-15-generic linux-image-3.0.0-16-generic linux-
linux-image-3.0.0-15-generic: command not found
richard@richard-desktop:~$ image-3.0.0-17-generic linux-image-3.0.0-18-generic linux-
image-3.0.0-17-generic: command not found
richard@richard-desktop:~$ image-3.0.0-19-generic linux-image-3.0.0-20-generic linux-
image-3.0.0-19-generic: command not found
richard@richard-desktop:~$ image-3.0.0-21-generic linux-image-3.0.0-22-generic
image-3.0.0-21-generic: command not found
richard@richard-desktop:~$ sudo apt-get --purge remove linux-image-3.2.0-26-generic linux-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux is not installed, so not removed
The following packages will be REMOVED
  linux-image-3.2.0-26-generic*
0 upgraded, 0 newly installed, 1 to remove and 11 not upgraded.
After this operation, 112 MB disk space will be freed.
Do you want to continue [Y/n]? Y
Abort.
richard@richard-desktop:~$

Each block is ONE command, copy ALL the lines as one and run it. It will work, your browser is wordwrapping the command but this oesn't mean each line is a separate command, hence the errors.

I thought the fact that I clealy left a gap between each command would show this well....

Rich.b (aybi30) said : #11

I ran this first-------------------------------------------------------------------------------------------------------------------------------------
sudo dpkg -P linux-image-2.6.31-14-generic linux-image-2.6.31-20-generic linux-image-2.6.31-22-generic linux-image-2.6.31-23-generic linux-image-2.6.31-24-generic linux-image-2.6.38-9-generic
-------------------------------------------------------------------------------------------------------------------------------------------------------
I ran this second---------------------------------------------------------------------------------------------------------------------------------
sudo apt-get --purge remove linux-image-2.6.31-21-generic linux-image-2.6.38-12-generic
-------------------------------------------------------------------------------------------------------------------------------------------------------
sudo dpkg -P linux-image-2.6.35-22-generic linux-image-2.6.35-23-generic linux-image-2.6.35-24-generic linux-image-2.6.35-25-generic linux-image-2.6.35-27-generic linux-image-2.6.35-28-generic linux-image-2.6.35-29-generic linux-image-2.6.38-10-generic linux-image-2.6.38-11-generic linux-image-2.6.38-9-generic
-------------------------------------------------------------------------------------------------------------------------------------------------------
sudo dpkg -P linux-image-3.0.0-13-generic linux-image-3.0.0-14-generic linux-image-3.0.0-15-generic linux-image-3.0.0-16-generic linux-image-3.0.0-17-generic linux-image-3.0.0-18-generic linux-image-3.0.0-19-generic linux-image-3.0.0-20-generic linux-image-3.0.0-21-generic linux-image-3.0.0-22-generic
-------------------------------------------------------------------------------------------------------------------------------------------------------
sudo apt-get --purge remove linux-image-3.2.0-26-generic linux-image-3.2.0-27-generic linux-image-3.2.0-29-generic
-------------------------------------------------------------------------------------------------------------------------------------------------------

Each block one at a time, is that what you meant ?

Richard

Yes, each block is its own command? It will tidy up the boot no-end as well as free a lot of space

Rich.b (aybi30) said : #13

All seem to work OK, but sure about last command :- It said Abort at the end, is this OK?

richard@richard-desktop:~$ sudo apt-get --purge remove linux-image-3.2.0-26-generic linux-image-3.2.0-27-generic linux-image-3.2.0-29-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
  linux-image-3.2.0-26-generic* linux-image-3.2.0-27-generic*
  linux-image-3.2.0-29-generic*
0 upgraded, 0 newly installed, 3 to remove and 11 not upgraded.
After this operation, 338 MB disk space will be freed.
Do you want to continue [Y/n]? Y
Abort.
richard@richard-desktop:~$

ok, did you run all the commands ok? Have you freed up a tonne of space?

Rich.b (aybi30) said : #15

Yes and about 0.5 GB extra free on HD.

Thank you very much for your help...I am off to a late lunch

Richard

If you install and run bleachbit as root and as user, you can free a lot of space. Close as many applications as you can and avoid options which say they will take a long time.