Noob install issue - Grub install fails, read-only file system

  • Hi all, I've been using OMV for a few years and decided to upgrade my old OMV "2.xx" to 4.
    However install repeatedly fails installing grub ...


    I have 2x USB, both new and were blank until a couple of hours ago. One is imaged with the source iso, openmediavault_4.1.3-amd64.iso, and the other is to be used as the system drive. All other drives are disconnected.
    The installation assigns sdb for the destination drive, and I see it attempt "grub-install /dev/sdb"


    That's where it fails


    When I try it manually from shell I get:
    "grub-install: error: cannot delete '/boot/grub/i386-pc/serial.mod' : Read-only file system"


    Help please, I know virtually zero about this sort of thing.

  • Ok, so after posting this I thought I'd check my last post/issue from 3 years ago. That was a RW issue seemingly caused by a failing USB drive.
    Luckily I bought 2 new drives, so I tried the spare, and the install went through fine, so my new Sandisk USB drive looks like it's not good ... Anyway, all fixed using a different USB drive.

    • Offizieller Beitrag

    mdadm: no arrays found in config file or automatically"
    I'll deal with that tomorrow.

    omv-mkconf mdadm should fix that.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • It doesn't load OMV, so I don't think the above will work.


    After lots of the mdadm no arrays found, it fails at dev/sdb1 does not exist and then drops to busybox.


    I'm guessing the fail is because it was installed as sdb, but the other drive has now been removed so it should be a different letter.
    I'll look for how to rewrite the boot.

  • As I'm useless with linux I couldn't get the 4 install to work.


    Whilst browsing threads of people with similar issues I saw some rolled back to 3, aha, 3 works. So I did a clean install of OMV 3.0.9 then ran omv-release-upgrade which got me a fresh 4 install.
    Then omv-update to patch ... done, well not quite.


    I now can't login to the webgui
    admin:openmediavault doesn't work


    omv-firstaid
    reset console admin password
    Nope still can't login with reset password.

  • Ok, so I guessed something failed during the install, so I thought try reinstall .


    apt-get install --reinstall openmediavault
    Done


    Then
    omv-initsystem


    I can now login to 4.1.9 using the default admin user/pass.



    Yay, now I can start to configure it.

Jetzt mitmachen!

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