Hey there,
I have the following error.....
The following security packages have been installed automatically.
CRON-APT RUN [/etc/cron-apt/config]: Sat Sep 24 07:37:16 EDT 2022
CRON-APT SLEEP: 1759, Sat Sep 24 08:06:35 EDT 2022
CRON-APT ACTION: 5-openmediavault-security
CRON-APT LINE: /usr/bin/apt-get --option quiet=1 --option APT::Get::List-Cleanup=false --option Dir::Etc::SourceList=/etc/apt/sources.list.d/openmediavault-os-security.list --option Dir::Etc::SourceParts="/dev/null" --option DPkg::Options::=--force-confold dist-upgrade --yes --option APT::Get::Show-Upgraded=true
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up grub-pc (2.06-3~deb10u1) ...
/dev/disk/by-id/usb-hp_v221w_AA380C02B0000050-0:0 does not exist, so cannot grub-install to it!
You must correct your GRUB install devices before proceeding:
DEBIAN_FRONTEND=dialog dpkg --configure grub-pc
dpkg --configure -a
dpkg: error processing package grub-pc (--configure):
installed grub-pc package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
Here is my /dev/disk/by-id
root@hpomv:/dev/disk/by-id# ls -ltr
total 0
lrwxrwxrwx 1 root root 9 Sep 23 08:41 wwn-0x50014ee6ae7967f7 -> ../../sdb
lrwxrwxrwx 1 root root 9 Sep 23 08:41 ata-WDC_WD20EFRX-68EUZN0_WD-WMC4M1203707 -> ../../sdb
lrwxrwxrwx 1 root root 9 Sep 23 08:41 usb-Samsung_Flash_Drive_FIT_0374921080007225-0:0 -> ../../sde
lrwxrwxrwx 1 root root 9 Sep 23 08:41 usb-Samsung_Flash_Drive_FIT_0374121080007340-0:0 -> ../../sdf
lrwxrwxrwx 1 root root 9 Sep 23 08:41 wwn-0x50014ee262025e02 -> ../../sda
lrwxrwxrwx 1 root root 9 Sep 23 08:41 ata-WDC_WD20EFRX-68EUZN0_WD-WCC4M7CX6C10 -> ../../sda
lrwxrwxrwx 1 root root 9 Sep 23 08:41 wwn-0x5000c500469676c3 -> ../../sdc
lrwxrwxrwx 1 root root 9 Sep 23 08:41 ata-ST2000DL003-9VT166_6YD1W137 -> ../../sdc
lrwxrwxrwx 1 root root 10 Sep 23 08:41 usb-Samsung_Flash_Drive_FIT_0374921080007225-0:0-part2 -> ../../sde2
lrwxrwxrwx 1 root root 9 Sep 23 08:41 wwn-0x5000039ffaf7e5c5 -> ../../sdd
lrwxrwxrwx 1 root root 9 Sep 23 08:41 ata-TOSHIBA_DT01ACA200_459YYZ0TS -> ../../sdd
lrwxrwxrwx 1 root root 10 Sep 23 08:41 usb-Samsung_Flash_Drive_FIT_0374121080007340-0:0-part2 -> ../../sdf2
lrwxrwxrwx 1 root root 10 Sep 23 08:41 usb-Samsung_Flash_Drive_FIT_0374921080007225-0:0-part5 -> ../../sde5
lrwxrwxrwx 1 root root 10 Sep 23 08:41 usb-Samsung_Flash_Drive_FIT_0374921080007225-0:0-part1 -> ../../sde1
lrwxrwxrwx 1 root root 10 Sep 23 08:41 usb-Samsung_Flash_Drive_FIT_0374121080007340-0:0-part1 -> ../../sdf1
lrwxrwxrwx 1 root root 10 Sep 23 08:41 usb-Samsung_Flash_Drive_FIT_0374121080007340-0:0-part5 -> ../../sdf5
lrwxrwxrwx 1 root root 9 Sep 23 08:41 ata-TSSTcorpCD_DVDW_TS-H653L -> ../../sr0
lrwxrwxrwx 1 root root 10 Sep 23 08:41 wwn-0x5000c500469676c3-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Sep 23 08:41 ata-ST2000DL003-9VT166_6YD1W137-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Sep 23 08:41 wwn-0x50014ee262025e02-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 23 08:41 wwn-0x5000039ffaf7e5c5-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 10 Sep 23 08:41 ata-WDC_WD20EFRX-68EUZN0_WD-WCC4M7CX6C10-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 23 08:41 ata-TOSHIBA_DT01ACA200_459YYZ0TS-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 10 Sep 23 08:41 wwn-0x50014ee6ae7967f7-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Sep 23 08:41 ata-WDC_WD20EFRX-68EUZN0_WD-WMC4M1203707-part1 -> ../../sdb1
root@hpomv:/dev/disk/by-id#
FYI, I boot from USB and I have 2 USB in my server at all times. One USB is the boot USB and another one plugged in to a USB device (docile - not used).
I do not see /dev/disk/by-id/usb-hp_v221w_AA380C02B0000050-0:0 this in /dev/disk/by-id - How can I resolve this?