OpenMediaVault is an open scalable network storage device management system (software NAS) based on Debian Linux. Includes software RAID (0,1,5,6), email client, SSH, (S)FTP, CIFS (Samba), NFS, DAAP media server, RSYNC, iSCSI, BitTorrent client.

The capabilities can be extended with plugins available through the repository. In this article, we will look at how to install OpenMediaVault on a flash drive, as well as how to configure the product before use.

Installing OpenMediaVault on a flash drive

This means that the system itself will work from a separate flash drive, without affecting the main hard drives that are used to store files and other tasks. In my case, I took two 1TB HDDs and made a RAID 1 mirror out of them. I got a clean terabyte in the mirror, and the system is on a separate flash drive (I found this option very convenient). Installing and configuring OpenMediaVault:

  1. Download the system image from the page on Sourcefoge ;
  2. Using the Unetbootin program, we cut the image onto a USB flash drive and we get a bootable USB flash drive with the OpenMediaVault system;
  3. We take the SECOND flash drive (I took 16GB, maybe less), we do low-level formatting with the HDD Low Level Format program;
  4. We insert both flash drives into the computer that will be used for the NAS and through the BIOS we boot from the flash drive onto which the image is cut, the installation will begin;
  5. Select “Install” , follow the steps. There is nothing special, we select the language, location, keyboard layout;
  6. Next, the installation program will ask you to select the disk on which you want to install the system (at this stage, be careful not to confuse the disk where you want to install). I had 4 disks (2 terabytes – we don’t touch them, a 16gb flash drive and another 16gb flash drive) I know that one of the flash drives is called transcend and it is empty – accordingly, we select it as the disk on which OpenMediaVault is being installed;
  7. If there is an installation error (it cannot mark the area), then return to step 5 (full formatting is required with the destruction of the file system on the flash drive);
  8. After installing the system, the installer will start installing grub on the USB flash drive that was selected earlier, and another error may pop up here “Failed to install GRUB on /dev/sda”. The problem is that there are several disks in my system, and dev/sda is the first terabyte that will be in the RAID, and the transcend flash drive is /dev/sdc (In your case it can be dev/sdb or dev/ sdd – look carefully when select the disk on which to install the system). GRUB by default tries to install on the wrong partition, so let’s do it manually. We press the “continue” button .
  9. Return to the main menu of the debian installation and select “Run shell” ;
  10. In the shell, execute the following commands: Here az is the last letter of your flash drive, which you chose to install the system. In my case, I wrote:
    chroot /target
    $ grub-install /dev/sd[a-z]

    grub-install /dev/sdc
    $ update-grub
    $ exit
    $ exit

  11. You are returned to the main Debian installation menu, then select “Continue without installing bootloader” ;
  12. the installation is completed, you are asked to pull out the bootable USB flash drive on which you originally cut the image and the computer reboots;
  13. After the reboot, a prompt appears to enter the Login string. Log in as root (you specified the password during installation). After logging in, enter the ifconfig command, it will tell you the IP address that the machine received. In my case it was, now the OpenMediaVault setup can be done using any device via the web interface. Web muzzle login admin, password openmediavault.

Installing OpenMediaVault on a flash drive

Installing OpenMediaVault on a flash drive

Setting up an SFTP server

Next, configure the SFTP server (FTP running on port 22, ie if SSH is enabled, then secure FTP also works immediately):

  1. Go to the tab “Services”“SSH” in the web face of OpenMediaVault, enable SSH;
  2. Go to the tab “Storage”“File systems” . Create an ext4 partition
  3. We go to the bookmark “Access rights management”“User” . Create a user, be sure to add it to the users and ssh groups;
  4. Go to the “Shared directories” tab and add a shared folder. We come up with a name for the ball, indicate the volume on which it will lie. The path will be created by itself based on the name. We save. Here we select privileges and tick the read / write of our user;
  5. We return to the  “User”  section and the “Settings” tab include the home directory. The path will be named after the balls. The bottom line is this: the name of the Shares / the username is the home folder. It will be selected by itself in the drop-down list;
  6. We install the CyberDuck program and with it you can connect via a secure ftp connection to our NAS. We write the server IP, login and password and port 22.


In this article, we’ve covered how OpenMediaVault is configured and installed. For questions, write to ink.dude(at) or in the comments.


A new stable version of OpenMediaVault v3 has been released , installation is done in exactly the same way, no problems should arise.

Installing OpenMediaVault on a flash drive

Let’s put the omv-extras plugin to install other plugins 🙂 There will be a lot of interesting things there, I highly recommend it. First of all, reducing data writing to a USB flash drive so that it lives longer

Official manual
1. Download deb package for OMV 3.x
2. Go to web the face of our nas and go to the left panel in the ” Plugins ” tab

Installing OpenMediaVault on a flash drive

3. Click on the ” Download ” button and indicate the deb package that you downloaded earlier. Waiting for it to download and install.
4. We are looking for it in the list of plugins (it will be called openmediavault-omvextrasorg), check the box and click ” Install ” at the top.
5. Refresh the openmediavault page and in the left panel in the ” System ” section you will see a new button with a picture of the OMV-Extras socket, go there and connect the repository that is on the test, the second in the list (before plex)

Installing OpenMediaVault on a flash drive

6. We return to the ” Plugins ” tab and now a lot of interesting things have appeared there, we are looking for openmediavault-flashmemory, check the box – install, update the OMV page
7. A new button ” Flash memory” has appeared on the left in the ” Storage ” panel , go into it and read “Notes”, there you need to manually correct fstab. There will be nothing criminal there, just connect via putty from your computer to your nas on port 22 as root and do what is indicated in the instructions, then enable the plugin and reboot.

Installing OpenMediaVault on a flash drive

Source: The article is distributed under the CC-BY-SA license