[ubuntu-uk] Can't update grub

Mark Fraser mfraz74+ubuntu at gmail.com
Mon Oct 8 14:07:58 UTC 2018


On 08/10/18 10:24, Liam Proven wrote:
> On Thu, 4 Oct 2018 at 12:35, Mark Fraser <mfraz74+ubuntu at gmail.com> wrote:
>>
>> I've tried asking this questions in numerous other places and so far
>> I've had no response, so I'm hoping someone here will be able to help.
>>
>> I rebooted my server last week and when I tried to remove old kernels it
>> was stopping when trying to update grub. I ran update-grub2 on its own
>> and I get:
> 
> This is just guesswork, but:
> 
> «
> `/dev/disk/by-id/usb-Seagate_Backup+_Hub_BK_NA8TT3NB-0:0', skipping.
> grub-probe: info: Cannot stat
> `/dev/disk/by-id/usb-Seagate_Expansion_NA84KDR3-0:0', skipping.
> »
> 
> That doesn't look good. Remove that device/those devices and try again?

Re-ran grub-mkdevicemap and those are OK now.

> Also, you seem to have a small /boot partition -- is that right? Is
> there any free space in it?
> 

Filesystem              Size  Used Avail Use% Mounted on
udev                    5.9G     0  5.9G   0% /dev
tmpfs                   1.2G   32M  1.2G   3% /run
/dev/sda1                25G  3.7G   20G  16% /
tmpfs                   5.9G  8.0K  5.9G   1% /dev/shm
tmpfs                   5.0M     0  5.0M   0% /run/lock
tmpfs                   5.9G     0  5.9G   0% /sys/fs/cgroup
/dev/sda2                45G   13G   29G  31% /var
/dev/sdd1               1.8T  1.3T  539G  71% /mnt/TV
/dev/sdc1               3.6T  3.4T  193G  95% /mnt/Film
/dev/sdb1               917G  342G  557G  39% /home
cgmfs                   100K     0  100K   0% /run/cgmanager/fs
192.168.2.107:/var/www   29G  2.0G   26G   8% /mnt/webcam
tmpfs                   1.2G     0  1.2G   0% /run/user/1000
/dev/sde1               7.3T  4.7T  2.3T  68% /mnt/seagatebackup
/dev/sdf1               1.8T  1.7T  139G  93% /mnt/backup

Plenty of space on sda1.

Just tried installing grub on sdb and that also generates a "not a 
directory" error.

grub-probe works on all drives and partitions except /dev/sda1.



More information about the ubuntu-uk mailing list