Jump to content

Armbian with preinstalled OpenMediaVault (OMV)


Recommended Posts

header.png

 

Download Armbian with OpenMediaVault (OMV) 

Currently (for testing) only 4 targets were build: rock5-itx, odroid m1, odroid xu4 and x86. Once its confirmed that works well, other targets will be assembled. 


Then boot the image, wait few minutes and login via:

http://ip_address_of_armbian_running_ha

U: admin

P: openmediavault

 

Test setup on Odroid M1:
 

Spoiler

image.png

 

Tested on:

 

DIY

Spoiler

How was this assembled?
 

- you need a build framework which assembles Armbian (Debian variant is the only supported by OMV) https://github.com/armbian/build (can be compiled in GitHub free runners too)

- OMV extension: https://github.com/armbian/os/blob/main/userpatches/extensions/omv.sh (download this extension and place it into your build directory)

 

./compile.sh BOARD="uefi-x86" BRANCH=current RELEASE=bookworm ENABLE_EXTENSIONS="omv" KERNEL_CONFIGURE="no" BUILD_MINIMAL="yes"

 

Link to comment
Share on other sites

  • Igor featured this topic

Hello Igor,

 

try to build OMV for rpi4.

 

./compile.sh BOARD="rpi4b" BRANCH=current RELEASE=bookworm ENABLE_EXTENSIONS="omv" KERNEL_CONFIGURE="no" BUILD_MINIMAL="yes"

 

Got these error messages:

 

[🌿] Enabling extension [ omv ]

[🔨]   ERR: Extension problem -- cant find extension 'omv' anywhere - called by /home/master/build/lib/functions/general/extensions.sh

[💥] Exiting with error 17 [ at /home/master/build/lib/functions/general/extensions.sh:1

               enable_extension() --> lib/functions/general/extensions.sh:1

   initialize_extension_manager() --> lib/functions/general/extensions.sh:135

          do_main_configuration() --> lib/functions/configuration/main-config.sh:317

                do_with_logging() --> lib/functions/logging/section-logging.sh:81

    do_with_conditional_logging() --> lib/functions/logging/section-logging.sh:111

    prep_conf_main_build_single() --> lib/functions/main/config-prepare.sh:29

         cli_standard_build_run() --> lib/functions/cli/cli-build.sh:22

        armbian_cli_run_command() --> lib/functions/cli/utils-cli.sh:136

                 cli_entrypoint() --> lib/functions/cli/entrypoint.sh:176

                           main() --> compile.sh:50

 ]

[💥] Cleaning up [ please wait for cleanups to finish ]

 

What I'm doing wrong?

 

Markus

Link to comment
Share on other sites

The instructions on above (under DIY) should be clearer to explain that.  When I looked at this earlier, I was guessing that is what the instructions assumed you needed to do (download that referenced file).

 

Edited the above instructions to clarify.

Link to comment
Share on other sites

2 hours ago, AlexVS said:

Downloaded the image Armbian_24.5.9_Rpi4b_bookworm_current_6.6.44-openhab.img, uploaded. Does not work. The page is http://192.168.1.105 not available.

 

It takes some time before OpenHab initialises. How long did you wait? Can you provide some logs?

Link to comment
Share on other sites

@AlexVS

 

1. Downloaded this image: https://dl.armbian.com/rpi4b/Bookworm_current_server-openhab

2. Executed 1st login, create username (probably must have), created locales ...

3. As you can see OpenHab installation activities:

image.png

4. http://10.0.40.156:8080/ (you failed to see OpenHab manual ;)

5. Login prompt (2-3 minutes after startup)

image.png

Link to comment
Share on other sites

It seems to me that I did not understand you.

When I downloaded the image, I expected that OMV7 was preinstalled there. And after installing it, I hoped that OMV7 would be available for testing.

I am sorry. Apparently this is a translation difficulty.

Link to comment
Share on other sites

Hello @AlexVS,

 

you wrote:

Quote

Downloaded the image Armbian_24.5.9_Rpi4b_bookworm_current_6.6.44-openhab.img, uploaded.

That is no image with preinstalled OMV but with preinstalled openhab.

There is no image for ri4 with OMV preinstalled (as far as i see..). You have to build it by yorself.

See DIY on post 1.

 

Markus

 

Link to comment
Share on other sites

4 hours ago, AlexVS said:

It seems to me that I did not understand you.

 

Proceed as @MacBreaker suggests.

 

45 minutes ago, MacBreaker said:

There is no image for ri4 with OMV preinstalled (as far as i see..). You have to build it by yorself.

 

Exactly. 

Added for future releases:
https://github.com/armbian/os/commit/e87f4f529a8dfadeaa011decc9aa3c65d98c17a5

Link to comment
Share on other sites

This is great, thanks for this it's exactly what I wanted!

 

Will this play nice with armbian-config eMMC install? I once tried after installing OMV on an sd card and the emmc transfer wouldn't boot (armbian-config's the only tool I've found to do an emmc install)

Link to comment
Share on other sites

2 hours ago, 0jay said:

Will this play nice with armbian-config eMMC install?


It should work - depends on the hardware - for the one we don't support, its unknown, for supported one we will try to fix in case of troubles. You can call
 

armbian-install


directly, so you don't install dependencies from armbian-config. There will soon be much lighter version of it, but current one is not very light.

Link to comment
Share on other sites

If there is no pre-made OMV image you can create your own just like mentioned under DIY at the very first post of this topic.

Also check the few posts after for copying the necessary extension if necessary.

Link to comment
Share on other sites

7 minutes ago, Werner said:

you can create your own

 

I intend getting to this in time (also with OpenWRT) but for the moment I'm not in a position to do it.

 

If there's an image that'll boot on a renegade board then at least I can explore

Link to comment
Share on other sites

On 9/16/2024 at 9:27 PM, Igor said:

It should work - depends on the hardware

 

Armbian install unfortunately not working to transfer an OMV install on a 3328 renegade board. 

 

It boots but OMV is non functional (and seemingly irreparable)

Edited by 0jay
Link to comment
Share on other sites

11 hours ago, 0jay said:

Armbian install unfortunately not working to transfer an OMV install on a 3328 renegade board. 


Aha, you mean SD boot works, but then it fails to properly transfer it?

Link to comment
Share on other sites

1 hour ago, Igor said:

SD boot works, but then it fails to properly transfer it?

 

Short summary of process to follow:

 

I burn Armbian with Etcher, update etc and install OMV.

From here I use armbian-install (or armbian-config) to transfer to the eMMC. This is the only tool I've found that makes the eMMC transfer simple (thank you!).

The eMMC system boots and seems fine but OMV is not functional (though it works fine on the SD it was transferred from).

 

As a result I always just transfer the raw Armbian install to eMMC, boot from there and install OMV direct to the eMMC but it would be very handy to be able to transfer from an SD with a working OMV install fully configured as backup.

Edited by 0jay
Link to comment
Share on other sites

Hello and thanks for this great work!

 

Today I tried installing `Armbian_24.8.4_Odroidxu4_bookworm_current_6.6.54-omv_minimal.img.xz` (SHA256 confirmed/writing verified/new sd cards) on some Odroid-HC1's. Problem is/was I can't access the devices, I see them only short (reacting to pings) and then vanish again from the network. It behaved the same for 2 different devices.

 

Then I tried the latest normal/minimal image instead: `Armbian_24.8.1_Odroidxu4_bookworm_current_6.6.47_minimal.img.xz` and things work like normal (stays in the network, can access via ssh, ...)

 

Thought maybe the latest omv spin got some error so I tried again with the former stable (same version as minimal atm) `Armbian_24.8.1_Odroidxu4_bookworm_current_6.6.44-omv_minimal.img.xz` but again no luck and when pinging the device seems to be online only less then a minute before vanishing from the network again. Attaching a classic (spinning/mechanical!) hard disk then  gave some "sound" confirmation: The disks spins up around every minute - so most likely boot looping!

 

Can anyone confirm that one of the latest two (24.8.4 or 24.8.1) actually works on a odroid-xu4/hc without boot loop?

 

At the moment I use the Armbian 24.8.1 minimal image mention and install OMV the hard way following this guide: https://wiki.omv-extras.org/doku.php?id=omv7:armbian_bookworm_install

I successfully used Armbian 24.8.1 minimal image mention and installed OMV the hard(er)  way following this guide: 

https://wiki.omv-extras.org/doku.php?id=omv7:armbian_bookworm_install

Edited by lurch
Link to comment
Share on other sites

7 hours ago, lurch said:

I successfully used Armbian 24.8.1 minimal image mention and installed OMV the hard(er)  way following this guide: 


The problem you are experiencing is probably related to some incompatibility when assembling 32bit OMV. We can't test all assemblies manually (we have no other option) on all targets. 

Perhaps moving installer to run-time is better?
https://docs.armbian.com/User-Guide_Armbian-Software/#adding-example

We will eventually add this, but help is appreciated. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines