Can't install OMV6 in raspberry Pi 4 with GPT hard drive boot drive.

  • Can't count how many times my microsd card flubbed out and I have to re-install because of the microsd card issue. I would like to get OMV to boot off from the hard drive so and sae Technodad's youtube video about OMVsharedrootfs plugin which allows you to do that.


    Externer Inhalt www.youtube.com
    Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.
    Durch die Aktivierung der externen Inhalte erklären Sie sich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt.


    However, My hard drive is 5tb and the Raspberry Pi imager would only make hard drive to use MBR that means that I can only use 2gb of that partition. However, I saw on a forum in raspberry's website where you can download a usb-boot utility into the microsd card which copies the contents of the microsd card into the hard drive and boot off from the gpt drive.


    https://forums.raspberrypi.com/viewtopic.php?f=29&t=196778


    So here's the steps that I did.


    1) Updated the bios to boot from microsd card and if not present, boot from hard drive.

    2) Used Raspberry Pi imager to get install rasp os lite 64 bit into a micro sd card (if I install this in usb hard drive it will be an mbr partition.)

    3) Boot the microsd card into raspberry pi 4.

    4) copy the usb-boot utility into microsd card using winscp. chmod 755 the files and put them in the /bin directory.

    5) With the 5tb hard drive plugged in formatted into a gpt format, I ran the usb-boot utility which allows me to copy the contents of the microsd card to the hard drive while making it a gpt partition.

    6) After rebooting, the partition sdb2 took up the whole space.

    7) Ran sudo apt upgrade and installed OMV6.

    8) the installation went fine and after omv reboot, stuck here and then reboot.


    Not sure what's going on, couldn't figure out how to fix the problem?

    • Offizieller Beitrag

    Can't count how many times my microsd card flubbed out

    Not using the flashmemory plugin? Or are you putting things on the SD card that do a lot of writes?


    OMVsharedrootfs plugin which allows you to do that.

    The sharedrootfs plugin only allows you to create shared folders on the OS drive. Nothing else.


    couldn't figure out how to fix the problem?

    While I haven't tried, I would install on SD and fully update the system. Then clone that SD to the usb drive and convert to gpt with mbr2gpt and update changed uuids in /boot/cmdline.txt and /etc/fstab. Finally, resize the partitions with gparted. This thread might help - https://forums.raspberrypi.com/viewtopic.php?t=319435

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

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.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!

  • Before I used the flashplugin in the microsd card and I still have problems.


    Thanks but I did a similar thing. But I ended up raspberry pi imager to install the OS in the hard drive, then used the mbr2gpt to only convert to gpt drive. Then I took out the drive used gparted to extend the root drive. Kind of weird but got it to work.

    • Offizieller Beitrag

    Before I used the flashplugin in the microsd card and I still have problems.

    What brand of SD-card did you use, and did you buy it on line?
    I've had failures of SD-cards as well. Usually (+90% of the time), they were low priced generics.

    Lastly, SD-cards are very easy to clone. Restoring from a bad card is as simple as shutting down and popping in the cloned SD-card.

  • I mostly use Microcenter's free 32gb or 16gb microsd cards . I also used adata ones too but they failed too. I copied some files to the hard drive and then put it back to the raspberry pi and omv crashed again. Guess booting off from hard drive is a bridge too far. I think I will try booting off from usb stick and my 5tb as a storage drive and see how it goes.

    • Offizieller Beitrag

    I think I will try booting off from usb stick and my 5tb as a storage drive and see how it goes.

    I've been running this RPi4 setup on geekworm x832 for almost a year with zero issues. All of my SD cards are sandisk.


    Disk /dev/sda: 16.37 TiB, 18000207937536 bytes, 35156656128 sectors

    Disk /dev/mmcblk0: 14.84 GiB, 15931539456 bytes, 31116288 sectors


    I also have another RPi4 setup on geekworm x862 booting from msata.


    Disk /dev/sda: 223.57 GiB, 240057409536 bytes, 468862128 sectors


    Have an RPi400 running full desktop for almost two years on same SD card.

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

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.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!

    • Offizieller Beitrag

    I mostly use Microcenter's free 32gb or 16gb microsd cards . I also used adata ones too but they failed too.

    I tried Microcenter's SD-cards and they failed, somewhere around 3 to 6 months. All of them. (I think one lasted 9 months or so.) I started using SanDisk SD-cards and have yet to see one fail (when I was using SBC's in a file server role).

    Also of note, there are fakes out there and knock-off's with what appears to be brand name labeling. Always buy SD-cards in a blister package. Don't buy anything that's loose with no packaging.

    SanDisk and Samsung are two examples of decent brands that produce their own SD-cards. (Some of the other brands may contract to a 2nd party for production.)

    I think I will try booting off from usb stick

    The above applies to USB thumbdrives as well. Get good quality sticks. Again, Sandisk and Samsung are two among the better brands.

Jetzt mitmachen!

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