On Tuesday, 5 December 2017 10:21:49 GMT Raffaele Belardi wrote: > Mick wrote: > > Quite inexplicable ... > > > > My kernel is 7.1M, System.map 3.4M and config is 114K. I usually leave a > > total of three kernels and associated files in my ext2 46M /boot partition > > and they all used to fit in there. I tried to install grub-0.97-r16 on > > this system a number of times, each time removing another spare kernel > > until I was left with the latest kernel and each time it failed to > > install completely due to running out of disk space. > > > > These are the contents of my old /boot/grub/ as restored from a back up: > > > > # ls -la /boot/grub/ > > total 1958 > > drwxr-xr-x 2 root root 1024 Dec 3 14:07 . > > drwxr-xr-x 4 root root 1024 Dec 3 11:58 .. > > -rw-r--r-- 1 root root 12506 Nov 27 2016 ascii.h > > -rw-r--r-- 1 root root 5000 Nov 27 2016 ascii.pf2 > > -rw-r--r-- 1 root root 197 Feb 27 2010 default > > -rw-r--r-- 1 root root 30 Feb 27 2010 device.map > > -rw-r--r-- 1 root root 10036 Dec 10 2016 e2fs_stage1_5 > > -rw-r--r-- 1 root root 52151 Nov 27 2016 euro.pf2 > > -rw-r--r-- 1 root root 9236 Dec 10 2016 fat_stage1_5 > > -rw-r--r-- 1 root root 8564 Dec 10 2016 ffs_stage1_5 > > -rw-r--r-- 1 root root 8947 Nov 27 2016 grub-mkconfig_lib > > -rw-r--r-- 1 root root 809 Dec 3 14:07 grub.conf > > -rw-r--r-- 1 root root 8564 Dec 10 2016 iso9660_stage1_5 > > -rw-r--r-- 1 root root 10208 Dec 10 2016 jfs_stage1_5 > > lrwxrwxrwx 1 root root 9 Feb 27 2010 menu.lst -> grub.conf > > -rw-r--r-- 1 root root 8724 Dec 10 2016 minix_stage1_5 > > -rw-r--r-- 1 root root 11252 Dec 10 2016 reiserfs_stage1_5 > > -rw-r--r-- 1 root root 33856 Dec 10 2016 splash.xpm.gz > > -rw-r--r-- 1 root root 512 Dec 10 2016 stage1 > > -rw-r--r-- 1 root root 118712 Dec 10 2016 stage2 > > -rw-r--r-- 1 root root 118712 Dec 20 2015 stage2.old > > -rw-r--r-- 1 root root 118712 Dec 10 2016 stage2_eltorito > > -rw-r--r-- 1 root root 8852 Dec 10 2016 ufs2_stage1_5 > > -rw-r--r-- 1 root root 1363292 Nov 27 2016 unicode.pf2 > > -rw-r--r-- 1 root root 8212 Dec 10 2016 vstafs_stage1_5 > > -rw-r--r-- 1 root root 49238 Nov 27 2016 widthspec.h > > -rw-r--r-- 1 root root 10874 Dec 10 2016 xfs_stage1_5 > > > > Installing grub-0.97-r16 would run out of disk space while trying to copy > > the stage2 file. > > Could it be that you ran out of inodes on the /boot partition? Have you > tried # du -i > on /boot? > > raffaele
The restored from backup /boot shows enough inodes: # df -i /dev/sda10 Filesystem Inodes IUsed IFree IUse% Mounted on /dev/sda10 12048 42 12006 1% /boot # du --inodes /boot 1 /boot/lost+found 26 /boot/grub 33 /boot I think there are enough inodes in the partition, but apparently not enough space. -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.