Re: [ubuntu-uk] Can't update grub
On Mon, 8 Oct 2018, 15:33 Liam Proven, wrote: > On Mon, 8 Oct 2018 at 16:08, Mark Fraser wrote: > > > > On 08/10/18 10:24, Liam Proven wrote: > > > On Thu, 4 Oct 2018 at 12:35, Mark Fraser > 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. > > Well, OK, er, good, but that's not what I said, is it? > > I suggested _removing_ those devices and trying again -- not making > sure that GRUB was able to see them correctly. > > If they're backup drives, as the names suggest, then temporary removal > should not hurt, right? I did try that at a previous attempt and it still didn't work. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Can't update grub
On Mon, 8 Oct 2018 at 16:08, Mark Fraser wrote: > > On 08/10/18 10:24, Liam Proven wrote: > > On Thu, 4 Oct 2018 at 12:35, Mark Fraser 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. Well, OK, er, good, but that's not what I said, is it? I suggested _removing_ those devices and trying again -- not making sure that GRUB was able to see them correctly. If they're backup drives, as the names suggest, then temporary removal should not hurt, right? -- Liam Proven - Profile: https://about.me/liamproven Email: lpro...@cix.co.uk - Google Mail/Hangouts/Plus: lpro...@gmail.com Twitter/Facebook/Flickr: lproven - Skype/LinkedIn: liamproven UK: +44 7939-087884 - ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053 -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Can't update grub
On 08/10/18 10:24, Liam Proven wrote: On Thu, 4 Oct 2018 at 12:35, Mark Fraser 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 udev5.9G 0 5.9G 0% /dev tmpfs 1.2G 32M 1.2G 3% /run /dev/sda125G 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/sda245G 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. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Can't update grub
On Thu, 4 Oct 2018 at 12:35, Mark Fraser 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? Also, you seem to have a small /boot partition -- is that right? Is there any free space in it? -- Liam Proven - Profile: https://about.me/liamproven Email: lpro...@cix.co.uk - Google Mail/Hangouts/Plus: lpro...@gmail.com Twitter/Facebook/Flickr: lproven - Skype/LinkedIn: liamproven UK: +44 7939-087884 - ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053 -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
[ubuntu-uk] Can't update grub
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: Generating grub configuration file ... grub-probe: error: not a directory. fdisk -l shows: Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 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 Disklabel type: dos Disk identifier: 0x31337774 Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 52430847 52428800 25G 83 Linux /dev/sda252430848 146802687 94371840 45G 83 Linux Running grub-probe -v -d /dev/sda1 produces this: grub-probe: info: adding `hd0' -> `/dev/sda' from device.map. grub-probe: info: adding `hd1' -> `/dev/sdb' from device.map. grub-probe: info: adding `hd2' -> `/dev/sdc' from device.map. grub-probe: info: adding `hd3' -> `/dev/sdd' from device.map. grub-probe: info: Cannot stat `/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. grub-probe: info: /dev/sda1 is present. grub-probe: info: Looking for /dev/sda1. grub-probe: info: /dev/sda is a parent of /dev/sda1. grub-probe: info: /dev/sda1 starts from 2048. grub-probe: info: opening the device hd0. grub-probe: info: drive = 0. grub-probe: info: the size of hd0 is 234441648. grub-probe: info: drive = 0. grub-probe: info: the size of hd0 is 234441648. grub-probe: info: Scanning for DISKFILTER devices on disk hd0. grub-probe: info: Scanning for mdraid1x devices on disk hd0. grub-probe: info: Scanning for mdraid09 devices on disk hd0. grub-probe: info: Scanning for mdraid09_be devices on disk hd0. grub-probe: info: Scanning for dmraid_nv devices on disk hd0. grub-probe: info: Scanning for ldm devices on disk hd0. grub-probe: info: scanning hd0 for LDM. grub-probe: info: no LDM signature found. grub-probe: info: Scanning for lvm devices on disk hd0. grub-probe: info: no LVM signature found. grub-probe: info: Scanning for DISKFILTER devices on disk hd0. grub-probe: info: Scanning for mdraid1x devices on disk hd0. grub-probe: info: Scanning for mdraid09 devices on disk hd0. grub-probe: info: Scanning for mdraid09_be devices on disk hd0. grub-probe: info: Scanning for dmraid_nv devices on disk hd0. grub-probe: info: Scanning for ldm devices on disk hd0. grub-probe: info: scanning hd0 for LDM. grub-probe: info: no LDM signature found. grub-probe: info: Scanning for lvm devices on disk hd0. grub-probe: info: no LVM signature found. grub-probe: info: Scanning for DISKFILTER devices on disk hd0. grub-probe: info: Scanning for mdraid1x devices on disk hd0. grub-probe: info: Scanning for mdraid09 devices on disk hd0. grub-probe: info: Scanning for mdraid09_be devices on disk hd0. grub-probe: info: Scanning for dmraid_nv devices on disk hd0. grub-probe: info: Scanning for ldm devices on disk hd0. grub-probe: info: scanning hd0 for LDM. grub-probe: info: no LDM signature found. grub-probe: info: Scanning for lvm devices on disk hd0. grub-probe: info: no LVM signature found. grub-probe: info: Scanning for DISKFILTER devices on disk hd0. grub-probe: info: Scanning for mdraid1x devices on disk hd0. grub-probe: info: Scanning for mdraid09 devices on disk hd0. grub-probe: info: Scanning for mdraid09_be devices on disk hd0. grub-probe: info: Scanning for dmraid_nv devices on disk hd0. grub-probe: info: Scanning for ldm devices on disk hd0. grub-probe: info: scanning hd0 for LDM. grub-probe: info: no LDM signature found. grub-probe: info: Scanning for lvm devices on disk hd0. grub-probe: info: no LVM signature found. grub-probe: info: Partition 0 starts from 2048. grub-probe: info: /dev/sda1 is present. grub-probe: info: Looking for /dev/sda1. grub-probe: info: /dev/sda is a parent of /dev/sda1. grub-probe: info: /dev/sda1 starts from 2048. grub-probe: info: opening the device hd0. grub-probe: info: drive = 0. grub-probe: info: the size of hd0 is 234441648. grub-probe: info: drive = 0. grub-probe: info: the size of hd0 is 234441648. grub-probe: info: Scanning for DISKFILTER devices on disk hd0. grub-probe: info: Scanning for mdraid1x devices on disk hd0. grub-probe: info: Scanning for mdraid09 devices on disk hd0. grub-probe: info: Scanning for mdraid09_be devices on disk hd0. grub-probe: info: Scanning for dmraid_nv devices on disk hd0. grub-probe: info: Scanning for ldm devices on disk hd0. grub-probe: info: scanning hd0 for LDM. grub-probe: info: no LDM signature found. grub-probe: info: Scanning for lvm devices on disk hd0. grub-probe: info: no LVM signature found. grub-probe: info: Scanning for DISKFILTER devices on disk hd0. grub-probe: info: Scanning for mdraid1x devices on disk hd0. grub-probe: info: