OMV5 to OMV6 upgrade - grub-pc error

  • Before running omv-release-upgrade, verified usrmerge is installed, then ran omv-upgrade, then rebooted.

    The only error I saw is the grub-pc error.

    I opened the web interface, OMV 6.0.30-1 is running.

    Applied the changes.

    Kernel is 5.10.0-0-bpo.12-amd64 (running on Xeon).

    Shares are accessible.

    What is recommended?

  • What is recommended?

    What grub-pc error? Your kernel is still the Debian 10 backports kernel. I would: sudo apt-get install linux-image-amd64

    omv 6.0.30-1 Shaitan | 64 bit | 5.15 proxmox kernel | plugins :: omvextrasorg 6.0.9 | kvm 6.1.19 | mergerfs 6.1.1 | zfs 6.0.9
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • At the end of output from omv-release-upgrade:

    Errors were encountered while processing:

    grub-pc

    W: --force-yes is deprecated, use one of the options starting with --allow instead.

    E: Sub-process /usr/bin/dpkg returned an error code(1)

  • At the end of output from omv-release-upgrade:

    Errors were encountered while processing:

    grub-pc

    W: --force-yes is deprecated, use one of the options starting with --allow instead.

    E: Sub-process /usr/bin/dpkg returned an error code(1)

    The important error message would've been up higher when it was trying to install grub-pc. What is the output of:


    sudo update-grub

    dpkg -l | grep grub

    omv 6.0.30-1 Shaitan | 64 bit | 5.15 proxmox kernel | plugins :: omvextrasorg 6.0.9 | kvm 6.1.19 | mergerfs 6.1.1 | zfs 6.0.9
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • setup@openmediavault:/var/log$ sudo update-grub

    [sudo] password for setup:

    Generating grub configuration file ...

    Found linux image: /boot/vmlinuz-5.10.0-13-amd64

    Found initrd image: /boot/initrd.img-5.10.0-13-amd64

    Found linux image: /boot/vmlinuz-5.10.0-0.bpo.12-amd64

    Found initrd image: /boot/initrd.img-5.10.0-0.bpo.12-amd64

    Found linux image: /boot/vmlinuz-5.10.0-0.bpo.11-amd64

    Found initrd image: /boot/initrd.img-5.10.0-0.bpo.11-amd64

    done

    setup@openmediavault:/var/log$ dpkg -l | grep grub

    ii grub-common 2.04-20 amd64 GRand Unified Bootloader (common files)

    iF grub-pc 2.04-20 amd64 GRand Unified Bootloader, version 2 (PC/BIOS version)

    ii grub-pc-bin 2.04-20 amd64 GRand Unified Bootloader, version 2 (PC/BIOS modules)

    ii grub2-common 2.04-20 amd64 GRand Unified Bootloader (common files for version 2)

  • Run:


    sudo apt-get -f install

    omv 6.0.30-1 Shaitan | 64 bit | 5.15 proxmox kernel | plugins :: omvextrasorg 6.0.9 | kvm 6.1.19 | mergerfs 6.1.1 | zfs 6.0.9
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • /dev/sda

    omv 6.0.30-1 Shaitan | 64 bit | 5.15 proxmox kernel | plugins :: omvextrasorg 6.0.9 | kvm 6.1.19 | mergerfs 6.1.1 | zfs 6.0.9
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • setup@openmediavault:/etc/openmediavault$ sudo apt-get -f install

    Reading package lists... Done

    Building dependency tree... Done

    Reading state information... Done

    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.04-20) ...

    Installing for i386-pc platform.

    Installation finished. No error reported.

    Generating grub configuration file ...

    Found linux image: /boot/vmlinuz-5.10.0-13-amd64

    Found initrd image: /boot/initrd.img-5.10.0-13-amd64

    Found linux image: /boot/vmlinuz-5.10.0-0.bpo.12-amd64

    Found initrd image: /boot/initrd.img-5.10.0-0.bpo.12-amd64

    Found linux image: /boot/vmlinuz-5.10.0-0.bpo.11-amd64

    Found initrd image: /boot/initrd.img-5.10.0-0.bpo.11-amd64

    done


    Is there a log generated by omv-release-upgrade?


    Thank you!!

  • Is there a log generated by omv-release-upgrade?

    Not by the command but since most actions are done by apt, /var/log/apt/term.log is useful.

    omv 6.0.30-1 Shaitan | 64 bit | 5.15 proxmox kernel | plugins :: omvextrasorg 6.0.9 | kvm 6.1.19 | mergerfs 6.1.1 | zfs 6.0.9
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Is the kernel version 5.10.0-0.bpo12-amd64 an issue?

    It is the Debian 10/OMV 5.x backports kernel. Did you run the install command I gave you a few posts ago?

    omv 6.0.30-1 Shaitan | 64 bit | 5.15 proxmox kernel | plugins :: omvextrasorg 6.0.9 | kvm 6.1.19 | mergerfs 6.1.1 | zfs 6.0.9
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Yes, here is the output:

    setup@openmediavault:/etc/openmediavault$ sudo apt-get -f install

    Reading package lists... Done

    Building dependency tree... Done

    Reading state information... Done

    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.04-20) ...

    Installing for i386-pc platform.

    Installation finished. No error reported.

    Generating grub configuration file ...

    Found linux image: /boot/vmlinuz-5.10.0-13-amd64

    Found initrd image: /boot/initrd.img-5.10.0-13-amd64

    Found linux image: /boot/vmlinuz-5.10.0-0.bpo.12-amd64

    Found initrd image: /boot/initrd.img-5.10.0-0.bpo.12-amd64

    Found linux image: /boot/vmlinuz-5.10.0-0.bpo.11-amd64

    Found initrd image: /boot/initrd.img-5.10.0-0.bpo.11-amd64

    done

  • I meant the: sudo apt-get install linux-image-amd64

    omv 6.0.30-1 Shaitan | 64 bit | 5.15 proxmox kernel | plugins :: omvextrasorg 6.0.9 | kvm 6.1.19 | mergerfs 6.1.1 | zfs 6.0.9
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • setup@openmediavault:/home$ sudo apt-get install linux-image-amd64

    [sudo] password for setup:

    Reading package lists... Done

    Building dependency tree... Done

    Reading state information... Done

    linux-image-amd64 is already the newest version (5.10.106-1).

    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

  • Must not have backports enabled. You can do that from omv-extras if you want a newer kernel. If not, the current one is fine.

    omv 6.0.30-1 Shaitan | 64 bit | 5.15 proxmox kernel | plugins :: omvextrasorg 6.0.9 | kvm 6.1.19 | mergerfs 6.1.1 | zfs 6.0.9
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • cwalsh

    Added the Label resolved

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!