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?

    • Offizieller Beitrag

    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 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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)

    • Offizieller Beitrag

    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 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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)

    • Offizieller Beitrag

    Run:


    sudo apt-get -f install

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    /dev/sda

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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!!

    • Offizieller Beitrag

    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 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    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 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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

    • Offizieller Beitrag

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

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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.

    • Offizieller Beitrag

    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 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • cwalsh

    Hat das Label gelöst hinzugefügt.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!