HowTo: Raspberry Pi – Install OpenMediaVault OMV on the RaspberryPi

In the article RaspberryPi – NetworkAttachedStorage / build your own NAS from a RaspberryPi 4, I had already described that the (relatively) new Raspberry Pi 4B is also very well suited to building an inexpensive but powerful "Network Attached Storage" or NAS.

A NAS is a hard drive that is connected to the network and thus makes the data available in the entire network. So you can access it from multiple computers or smartphones. This is useful, for example, as a data store for family photos or as a backup drive for the data on your computers.

Open Media Vault or OMV for short is a package that brings many important functions for a NAS. It can be installed very easily on a Linux computer (also on a Raspberry Pi) and then conveniently configured via a web interface. So you can set up file sharing relatively easily or set up a media server to stream content to your Smart TV.

How you can install Open Media Vault on your Raspberry Pi is described in the following article.


Safety instructions

I know the following hints are always a bit annoying and seem unnecessary. But unfortunately, many people who knew it "better" from carelessness lost their eyes, fingers or other things or hurt themselves. In comparison, a loss of data is almost not worth mentioning, but even these can be really annoying. Therefore, please take five minutes to read the safety instructions. Even the coolest project is worth no injury or other annoyance. https://www.nerdiy.de/en/sicherheitshinweise/

Affiliate links / advertising links

The links to online stores listed here are so-called affiliate links. If you click on such an affiliate link and store via this link, Nerdiy.de receives a commission from the online store or provider concerned. The price doesn't change for you. If you do your purchases via these links, you will support Nerdiy.de in being able to offer further useful projects in the future. 🙂


Requirements

Helpful articles:
Before you start this article, you should have prepared a Raspberry Pi so that it can be reached via the network and controlled via SSH.

The following articles describe what needs to be done to prepare the Raspberry Pi.

In the following lists you will find all the parts you need to implement this article.

Required tool:

NumberLink
1xScrewdriver set  Buy at Amazon
1xSD card reader  Buy at Amazon

Required material:

NumberLink
1x Raspberry Pi  Buy at Amazon
1x Raspberry Pi power supply  Buy at Amazon
1x Raspberry Pi case  Buy at Amazon
1x Micro SD card 64GB  Buy at Amazon


Prepare the Raspberry Pi image

An important detail when installing OMV on the Raspberry Pi is that you use the Raspberry Pi image from the Raspberry Pi OS without a desktop interface. OMV cannot be installed on a Raspberry Pi OS incl. desktop interface.

So click on in the Raspberry Pi Imager

  • OS Select

...then on

  • Raspberry PiOS

and select a version of Raspberry Pi OS without "desktop environment".

Then install this image on the SD card of your Raspberry PI. You can find more information about the installation in the article


Log in via SSH on the RaspberryPi

To get started, you first need to log in to RasPi with SSH on Putty. How to do it is described in the article

After entering your username and password you can start to enter the first commands.

Update package management

The package management in Linux is a "central point" over which various software packages can be installed. For this to work reliably, the lists and sources of package management should be updated before installing any new packages.

To start the package management update you have to enter the following command.
sudo apt-get update && sudo apt-get upgrade
Depending on how long your last update of the package management is, this process may take some time. First, the lists are updated in which the individual repositories are referenced.
Then the packages themselves are updated. As this additional memory is occupied, you will be asked again for your consent. You have to confirm this with a "J"(in German) or a "Y" and "Enter".
When the update is complete, you will see a small summary of the duration and scope of the update.

Install OpenMediaVault on the Raspberry Pi

Installing Open Media Vault is super easy thanks to an installation script. So only one command has to be executed to start the installation. Information about the installation script can be found in the associated Git repository under the following link.

To start the installation of Open Media Vault you have to enter the following command in the console of your Raspberry Pi.

sudo wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudobash

The installation then runs mostly automatically.

All required packages are installed and OMV configured.

Towards the end of the installation, the network interfaces are also restarted.

This interrupts the SSH connection, which is why you cannot see any further information about the installation process.

In this case, simply wait another five minutes. The installation should then be complete and you can proceed to the next step.


The first login and change default password

The installation of OMV should now be complete. You can now log in to the OMV web interface.

To do this, enter the address of your Raspberry Pi in the address bar of your browser.

You can find out the address by entering the following command in the console of your Raspberry PI.

hostname -I

Arrived on the configuration interface, you can then log in with the following standard login data.

  • Default username: admin
  • Defaultpassword: openmediavault

After the first login you should(!) change the default password.

Remember: Many IT attacks are only possible because administrators have not changed default passwords.

Click on the

  • Gear at top right

and then on

  • "Change Password"

Enter your new password in the text fields shown and save it by clicking on the "Save" button.

You will then be redirected to the Open Media Vault home page.


More articles related to Open Media Vault

This completes the installation of OMV. I have described the many other functions in other articles. There you will also find information on how to expand the functionality of your OMV installation accordingly. These articles are all grouped into the following categories.


Have fun with the project

I hope everything worked as described. If not or you have any other questions or suggestions, please let me know in the comments. Also, ideas for new projects are always welcome. 🙂

P.S. Many of these projects - especially the hardware projects - cost a lot of time and money. Of course I do this because I enjoy it, but if you appreciate that I share this information with you, I would be happy about a small donation to the coffee box. 🙂

Buy Me a Coffee at ko-fi.com   

5 comments

  1. Hi everyone,

    When creating the image on the SD card, please remember to create a user and password. Under advanced setting. Otherwise it is no longer possible to log in via SSH from Bullseye. The default user and password have been removed from Bullseye.
    Thanks for the tutorial.

    Greetings Michael

  2. Sehr gute Beschreibung und alles hat funktioniert. Kurz gehalten und kein Gelaber, was man von YouTube kennt. Einfach TOP und vielen Dank!!!! Besser kann man unwissende nicht schlauer machen 🙂

  3. Hello all,

    danke für das tolle Tutorial zu dem Thema. Hat wunderbar funktionioniert, allerdings habe ich das Problem, das ich die externen HDDs die ich OMV eingebunden habe, im Windows Explorer zwar angezeigt werden,auch mit Speicherbelegung usw., aber die Ordner als leer angezeigt werden.

    Es sind 2 3,5 Zoll HDD’s mit externen Stromanschluss. Wie gesagt, in OMV werden sie erkannt und ich konnte sie sauber einbinden und auch sharing verlief reibungslos.
    Eine andere SSD(NVme) die ich in einen Adapter eingebaut habe, konnte ich im Explorer einbinden und da wurden mir alle Daten angezeigt. Der einzige Unterschied ist hier, das diese HDD im BTRFS formatiert ist und die anderen in NTFS.

    Benutzerrechte können es normal nicht sein, da die Vorgehensweise die gleiche wie mit der gleichen war.

    Hat jemand einen Tipp von euch?

    Thanks and regards

    Markus

Kommentar hinterlassen

Your email address will not be published. Erforderliche Felder sind mit * markiert