HowTo: Raspberry Pi - Install OpenMediaVault OMV on the RaspberryPi

In the article RaspberryPi - NetworkAttachedStorage / NAS from a RaspberryPi 4 build yourself I had already described that the (relatively) new Raspberry Pi 4B is also very well suited for setting up 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. You can access it from several computers or smartphones. This is useful, for example, as data storage for family photos or as a backup drive for the data on your computers.

Open Media Vault or short OMV is a package that provides many important functions for a NAS. It is very easy to install on a Linux computer (also on a Raspberry Pi) and then configure it comfortably via a web interface. So you can easily set up file shares or even a media server to stream content to your Smart TV.

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


Safety instructions

I know the following notes are always kind of annoying and seem unnecessary. Unfortunately, many people who knew "better" have lost eyes, fingers or other things due to carelessness or injured themselves. Data loss is almost negligible in comparison, but even these can be really annoying. Therefore, please take five minutes to read the safety instructions. Because even the coolest project is not worth injury or other trouble.
https://www.nerdiy.de/sicherheitshinweise/

Affiliate links/advertising links

The links to online shops listed here are so-called affiliate links. If you click on such an affiliate link and make a purchase via this link, Nerdiy.de will receive a commission from the relevant online shop or provider. The price does not change for you. If you make your purchases via these links, you support Nerdiy.de in being able to offer other useful projects in the future. 🙂 


Requirements

Helpful articles:
Before you start with this article, you should have prepared a RaspberryPi 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 RaspberryPi.

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 Raspberry Pi image

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

So click in the Raspberry Pi imager on

  • 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 Raspbery PI. You can find more information about the installation in the article


Log in to the RaspberryPi via SSH

To start, you must first log in to the Rasp Pi with Putty via SSH. How to do this is in the article RaspberryPi - Control the RaspberryPi via SSH described.

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

Update package management

The package management in Linux is a "central place" through which various software packages can be installed. In order for this to work reliably, the lists and sources of the package management should be updated before each installation of new packages.

To start the update of the package management you have to enter the following command.
sudo apt-get update && sudo apt-get upgrade
Depending on how long ago your last update of the package management was, this process can now take a while. The lists that refer to the individual package sources are updated first.
After that, the packages themselves are updated. Since additional memory is occupied, you will be asked again for your consent. You have to confirm this with a "J" and "Enter".
Once 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. You only have to execute one command to start the installation. You can find information about the installation script in the corresponding Git repository at the following link.

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

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

The installation then runs largely on its own.

During this process, all required packages are installed and OMV is configured.

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

This will cause the SSH connection to be interrupted, which is why you will not be able to see any more information about the installation process.

In this case, just wait for about 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 completed. Now you can 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 into the console of your Raspberry PI.

hostname -I

Once on the configuration interface, you can log in with the following default login data.

  • Default username: admin
  • Default password: openmediavault

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

Remember: Many attacks in the IT sector are only possible because of this, because administrators have not changed default passwords.

Click on the

  • Gear 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.

After that you will be redirected to the Open Media Vault home page.


More articles about Open Media Vault

This completes the installation of OMV. The many other functions I have described in other articles. There you will also find hints on how to extend the functionality of your OMV installation. These articles are all summarized in the following categories.


Have fun with the project

I hope everything worked as described for you. If not or you have questions or suggestions please let me know in the comments. I will then add this to the article if necessary.
Ideas for new projects are always welcome. 🙂

PS 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 think it's cool that I share the information with you, I would be happy about a small donation to the coffee fund. 🙂

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. Very good description and everything worked. Kept short and no babble, what you know from YouTube. Simply TOP and many thanks!!!! Better you can not make ignorant smarter 🙂

  3. Hello all,

    thanks for the great tutorial on the subject. Has worked wonderfully, however, I have the problem that I have the external HDDs OMV mounted, in Windows Explorer are displayed, even with memory allocation, etc., but the folders are displayed as empty.

    They are 2 3.5 inch HDD's with external power connection. As I said, in OMV they are recognized and I was able to mount them cleanly and also sharing went smoothly.
    Another SSD (NVme) that I have installed in an adapter, I could mount in Explorer and all data was displayed. The only difference here is that this HDD is formatted in BTRFS and the other in NTFS.

    User rights normally can not be, because the procedure was the same as with the same.

    Does anyone have a tip from you guys?

    Thanks and regards

    Markus

Kommentar hinterlassen

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.