0

When I install the software updates with "Update Manager", there is a pop up alert which tells me "The volume "boot" has only 0 byte disk space remaining

run sudo fdisk -l in a terminal, and output:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0c7a859b

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      206847      102400    7  HPFS/NTFS/exFAT
/dev/sda2          206848   280451071   140122112    7  HPFS/NTFS/exFAT
/dev/sda3       280451072   618371071   168960000    7  HPFS/NTFS/exFAT
/dev/sda4       618373118   976768064   179197473+   f  W95 Ext'd (LBA)
/dev/sda5       763730163   976768064   106518951    7  HPFS/NTFS/exFAT
/dev/sda6       618373120   626370559     3998720   83  Linux
/dev/sda7       626372608   630370303     1998848   82  Linux swap / Solaris

63.59 GB space **free** after /dev/sda7

lsblk output:

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465.8G  0 disk 
├─sda1   8:1    0   100M  0 part 
├─sda2   8:2    0 133.6G  0 part 
├─sda3   8:3    0 161.1G  0 part 
├─sda4   8:4    0     1K  0 part 
├─sda5   8:5    0 101.6G  0 part 
├─sda6   8:6    0   3.8G  0 part /
└─sda7   8:7    0   1.9G  0 part [SWAP]
sr0     11:0    1  1024M  0 rom 
Anees
  • 11

1 Answers1

0

Sorry, the following was intended to be a comment, but was too long.

@psusi The issue seems more likely to be that the Ubuntu installer provides such little space to the /boot partition ( at least on versions 12.X and older ) during a clean install. I operate a server that had 10TB of space, and while / is mounted on a partition that has a bulk of the space, /boot is mounted on a smaller partition the installer automatically created that is just 229M for my environment.

@Anees You can reduce the size of / and then increase the size of /boot , but given the risks and potential need to turn off the machine ( might not be that easy to do if it's a server ) , in all likelyhood, you'll probably find cleaning up some of the older versions of the kernel you have installed to do the trick with significantly less risk. IE in my environment, in which we do regular updates, I had files from July 27, 2012 for 3.2.0-29 and in upwards of a dozen for everything in between up to 3.2.0-61. For the space we have, we can easily keep 3 or 4 without a problem ( 2-3 newest, 1-2 oldest ). See How do I remove old kernel versions to clean up the boot menu? for a better breakdown/how-to.