Comment 22 for bug 104337

Revision history for this message
ryanmbruce (ryanmbruce) wrote :

"I think what's using up so much space is that it rebuilds all
initrd.imgs it can find and backups the old ones and then adds
additional entries to your boot menu."

I think it may be doing more than this because I have cleaned out every single image with the exception of the four I absolutely need, and those are only 6-7M each. Even if it makes a backup and a new image, I can't see it using up all of the space. My newest usage stats are below.

I'm really stuck right now because I can't resize my boot partition, and I can't clean any more out of it. I absolutely cannot upgrade to Gutsy unless a workaround is found, or the space requirement is lowered. Any help would be appreciated.

Cheers,
-Ryan

-----
bobo@Sixteen:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/Ubuntu-root
                       75G 21G 54G 28% /
varrun 253M 88K 252M 1% /var/run
varlock 253M 4.0K 253M 1% /var/lock
procbususb 253M 124K 252M 1% /proc/bus/usb
udev 253M 124K 252M 1% /dev
devshm 253M 0 253M 0% /dev/shm
lrm 253M 34M 219M 14% /lib/modules/2.6.20-16-386/volatile
/dev/mapper/hda5 228M 47M 170M 22% /boot

-----
bobo@Sixteen:/boot$ ls -lah
total 43M
drwxr-xr-x 4 root root 3.0K 2007-08-26 18:21 .
drwxr-xr-x 22 root root 656 2007-08-06 11:42 ..
-rw-r--r-- 1 root root 280K 2006-12-05 16:42 abi-2.6.17-10-386
-rw-r--r-- 1 root root 280K 2007-03-13 18:46 abi-2.6.17-11-386
-rw-r--r-- 1 root root 402K 2007-04-15 03:01 abi-2.6.20-15-386
-rw-r--r-- 1 root root 402K 2007-06-07 15:51 abi-2.6.20-16-386
-rw-r--r-- 1 root root 74K 2006-12-05 14:38 config-2.6.17-10-386
-rw-r--r-- 1 root root 74K 2007-03-13 16:42 config-2.6.17-11-386
-rw-r--r-- 1 root root 82K 2007-04-15 00:04 config-2.6.20-15-386
-rw-r--r-- 1 root root 82K 2007-06-07 12:48 config-2.6.20-16-386
drwxr-xr-x 2 root root 1.0K 2007-08-22 21:35 grub
-rw-r--r-- 1 root root 7.9M 2007-05-01 01:58 initrd.img-2.6.17-10-386
-rw-r--r-- 1 root root 7.9M 2007-05-01 01:57 initrd.img-2.6.17-11-386
-rw-r--r-- 1 root root 7.9M 2007-05-01 01:57 initrd.img-2.6.20-15-386
-rw-r--r-- 1 root root 7.9M 2007-08-06 11:42 initrd.img-2.6.20-16-386
drwxr-xr-x 2 root root 12K 2002-04-19 19:59 lost+found
-rw-r--r-- 1 root root 93K 2006-10-20 06:44 memtest86+.bin
-rw-r--r-- 1 root root 697K 2006-12-05 16:42 System.map-2.6.17-10-386
-rw-r--r-- 1 root root 699K 2007-03-13 18:46 System.map-2.6.17-11-386
-rw-r--r-- 1 root root 771K 2007-04-15 03:03 System.map-2.6.20-15-386
-rw-r--r-- 1 root root 771K 2007-06-07 15:52 System.map-2.6.20-16-386
-rw-r--r-- 1 root root 1.6M 2006-12-05 16:42 vmlinuz-2.6.17-10-386
-rw-r--r-- 1 root root 1.6M 2007-03-13 18:46 vmlinuz-2.6.17-11-386
-rw-r--r-- 1 root root 1.6M 2007-04-15 03:01 vmlinuz-2.6.20-15-386
-rw-r--r-- 1 root root 1.7M 2007-06-07 15:51 vmlinuz-2.6.20-16-386

-----
bobo@Sixteen:/boot$ du -h
12K ./lost+found
169K ./grub
43M .

-----
[DIALOG BOX]
Not enough free disk space

The upgrade aborts now. The upgrade needs a total of 325058560 free space on disk /boot. Please free at least an additional 148M of disk space on /boot. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean'.
[/DIALOG BOX]