Thanks for the help so far, guys!
Originally Posted by
drs305
If you give us the contents of your boot folder we can tell you what you can remove to free up some space. The second command will tell us which kernel you are currently using:
Code:
ls -lah /boot
uname -r
Code:
chris@jessica:~$ ls -lah /boot
total 82M
drwxr-xr-x 4 root root 3.0K 2010-02-08 16:50 .
drwxr-xr-x 21 root root 4.0K 2010-02-08 16:43 ..
-rw-r--r-- 1 root root 615K 2009-10-16 14:03 abi-2.6.31-14-generic
-rw-r--r-- 1 root root 615K 2009-11-10 13:52 abi-2.6.31-15-generic
-rw-r--r-- 1 root root 615K 2009-12-08 03:03 abi-2.6.31-16-generic
-rw-r--r-- 1 root root 615K 2009-12-10 14:33 abi-2.6.31-17-generic
-rw-r--r-- 1 root root 615K 2010-01-08 13:54 abi-2.6.31-18-generic
-rw-r--r-- 1 root root 615K 2010-01-27 23:39 abi-2.6.31-19-generic
-rw-r--r-- 1 root root 109K 2009-10-16 14:03 config-2.6.31-14-generic
-rw-r--r-- 1 root root 109K 2009-11-10 13:52 config-2.6.31-15-generic
-rw-r--r-- 1 root root 109K 2009-12-08 03:03 config-2.6.31-16-generic
-rw-r--r-- 1 root root 109K 2009-12-10 14:33 config-2.6.31-17-generic
-rw-r--r-- 1 root root 109K 2010-01-08 13:54 config-2.6.31-18-generic
-rw-r--r-- 1 root root 109K 2010-01-27 23:39 config-2.6.31-19-generic
drwxr-xr-x 2 root root 5.0K 2010-02-06 12:04 grub
-rw-r--r-- 1 root root 7.7M 2009-11-16 23:13 initrd.img-2.6.31-14-generic
-rw-r--r-- 1 root root 7.7M 2009-11-17 00:16 initrd.img-2.6.31-15-generic
-rw-r--r-- 1 root root 7.7M 2009-12-18 00:30 initrd.img-2.6.31-16-generic
-rw-r--r-- 1 root root 7.7M 2010-01-08 21:53 initrd.img-2.6.31-17-generic
-rw-r--r-- 1 root root 7.7M 2010-01-29 00:01 initrd.img-2.6.31-18-generic
-rw-r--r-- 1 root root 7.7M 2010-02-06 12:03 initrd.img-2.6.31-19-generic
drwx------ 2 root root 12K 2009-11-16 23:04 lost+found
-rw-r--r-- 1 root root 126K 2009-10-23 12:11 memtest86+.bin
-rw-r--r-- 1 root root 1.6M 2009-10-16 14:03 System.map-2.6.31-14-generic
-rw-r--r-- 1 root root 1.6M 2009-11-10 13:52 System.map-2.6.31-15-generic
-rw-r--r-- 1 root root 1.6M 2009-12-08 03:03 System.map-2.6.31-16-generic
-rw-r--r-- 1 root root 1.6M 2009-12-10 14:33 System.map-2.6.31-17-generic
-rw-r--r-- 1 root root 1.6M 2010-01-08 13:54 System.map-2.6.31-18-generic
-rw-r--r-- 1 root root 1.6M 2010-01-27 23:39 System.map-2.6.31-19-generic
-rw-r--r-- 1 root root 1.2K 2009-10-16 14:06 vmcoreinfo-2.6.31-14-generic
-rw-r--r-- 1 root root 1.2K 2009-11-10 13:55 vmcoreinfo-2.6.31-15-generic
-rw-r--r-- 1 root root 1.2K 2009-12-08 03:05 vmcoreinfo-2.6.31-16-generic
-rw-r--r-- 1 root root 1.2K 2009-12-10 14:35 vmcoreinfo-2.6.31-17-generic
-rw-r--r-- 1 root root 1.2K 2010-01-08 13:56 vmcoreinfo-2.6.31-18-generic
-rw-r--r-- 1 root root 1.2K 2010-01-27 23:41 vmcoreinfo-2.6.31-19-generic
-rw-r--r-- 1 root root 3.8M 2009-11-17 02:58 vmlinuz-2.6.31-14-generic
-rw-r--r-- 1 root root 3.8M 2009-11-10 13:52 vmlinuz-2.6.31-15-generic
-rw-r--r-- 1 root root 3.8M 2009-12-08 03:03 vmlinuz-2.6.31-16-generic
-rw-r--r-- 1 root root 3.8M 2009-12-10 14:33 vmlinuz-2.6.31-17-generic
-rw-r--r-- 1 root root 3.8M 2010-01-08 13:54 vmlinuz-2.6.31-18-generic
-rw-r--r-- 1 root root 3.8M 2010-01-27 23:39 vmlinuz-2.6.31-19-generic
Code:
chris@jessica:~$ uname -r
2.6.31-19-generic
Originally Posted by
darolu
Try removing kernel images that you no longer use. Open Synaptic and search for linux-image-2, the ones with the box checked are the installed ones, remove all of them but the one you are using (uname -r) and the previous one (just in case). I have 1 kernel only and my /boot is around 14MB, so doing this may solve your problem.
When I try to open Synaptic, I get an error:
Code:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
When trying to run the command:
Code:
chris@jessica:~$ sudo dpkg --configure -a
[sudo] password for chris:
Setting up initramfs-tools (0.92bubuntu53) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.31-19-generic
gzip: stdout: No space left on device
update-initramfs: failed for /boot/initrd.img-2.6.31-19-generic
dpkg: subprocess installed post-installation script returned error exit status 1
Should I gksu nautilus into my /boot folder and delete the kernel-looking files minus the last two? Is there any way to have the computer automatically delete old kernels without me needing to do this every so often?
Bookmarks