cannot boot - error: file `/boot/vmlinuz-6.1.0-0.deb11.21-amd64' not found

  • Here's what happened:
    I scheduled a simple bash script to run in the OMV task scheduler, and executed it manually (through the interface) to test it. I was kicked out of the web GUI, and unable to log back in (500 permission denied error). So I rebooted the machine, and when it came back up, I got:

    Loading Linux 6.1.0-0.deb11.21-amd64 ...
    error: file '/boot/vmlinuz-6.1.0-0.deb11.21-amd64' not found.
    Loading initial ramdisk ...
    error: you need to load the kernel first.

    How do I repair this?

    Thanks

    • Official Post

    What did the script do? We can't tell you have to repair if we don't know what happened.

    omv 7.7.5-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.2 | compose 7.4.5 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.1


    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!

  • Yeah, I didn't go into details about the script itself, because it's just a simple little thing that moves some media files out of subdirectories into the parent directory and then deletes the empty subdirectories. that's it. it doesn't touch anything on the boot drive, or alter any permissions on anything or do anything at all outside that one media folder.

    • Official Post

    The task scheduler wouldn't do anything with grub or kick you out of the web interface either. Sounds like an update went bad and you didn't notice until rebooting. Are there any other kernels in your grub list when booting?

    omv 7.7.5-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.2 | compose 7.4.5 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.1


    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!

    • Official Post

    Boot a Debian iso from usb stick and choose the repair option.

    omv 7.7.5-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.2 | compose 7.4.5 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.1


    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!

    • Official Post

    My suggestion would be easier and more specific to debian which is what you want.

    omv 7.7.5-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.2 | compose 7.4.5 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.1


    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!

Participate now!

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