Installing OMV on EUFI (J4105) Tutorial Available?

    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Installing OMV on EUFI (J4105) Tutorial Available?

      I just put together a pc using a Asrock J4105-ITX motherboard which I just realised can't install OMV from USB because of EUFI.

      I found a few posts suggesting to install Debian, I followed this guide with the exception of hitting install instead of Grpahical Install: pcsuggest.com/debian-minimal-install-guide/

      When I reboot I'm presented with a login, I login with my username and password, I ran the command at the end of the site linked above and this is where I get stuck, I don not know what to do from here?

      I don't understand what to do with the instructions in this forum post: Install OMV4 on Debian 9 (Stretch)

      Also is it in anyway possible to connect to the server box via a browser or something?

      Just to note, when I ran this command it did a load of stuff and there was some sort of error message: sudo apt-get install firmware-linux firmware-linux-free firmware-linux-nonfree

      ---edit---

      If I used a CD or DVD would I be able to install despite the uefi bios? I just realised I have a old sata dvd I could use, I just need to find a blank cd/dvd

      The post was edited 1 time, last by Jozi ().

    • There are issues when installing using a USB drive as a source and installing to a USB drive that will be the boot drive. A USB thumbdrive can be used as a boot drive, but a couple build issues are eliminated by using a CD as the installation source.
      _____________________________________

      The first thing I'd try would be burn a CD, from the OMV ISO. Usually, even on UEFI booting machines, there's a UEFI boot menu. Select the CD/DVD drive from the boot menu and see what happens.

      (If that doesn't work)
      _____________________________________

      First you'll need to install PuTTY on a Windows machine. (The PuTTY client will allow you to SSH into your server and get on the server's command line, from a Windows machine.)

      Make a CD of Debian 9, the "net install" version. (Do the text install to see the needed selection of software - specifically the SSH server.)

      As you go through the Debian installation, when you get to software selections, deselect everything except for "standard system utilities" and the "SSH server". (Installing the SSH server is needed, to be able to copy and paste the install script.)

      When the Debian install boots for the first time, you'll need to log in with the username+password you set up during the install.
      Then, at the prompt type:
      ip addr

      Note the IP address.
      _____________________________________

      Open PuTTY on the Windows Client. Type in the IP address from above, in the Host Name box, and click on Open.

      At the prompt, type in your username and password.
      Then type in; su - root
      (and enter the root password)

      At this point you'll be able to copy and paste the scripts from -> here .
      On the windows machine highlight and copy sections of the install script. This can be pasted onto PuTTY, on the servers command line, by a right click of the mouse button.

      ((If a section doesn't paste in just right, the scripts can be pasted in again.))

      At this point OMV should initialize (this may take awhile) and the Web GUI console IP address should come up.
      I'd reboot one more time shutdown -r

      When OMV comes up, the Web GUI address should be displayed. (If not login and type ip addr
      Use this IP address in a web browser.
      The username is, in the web browser is admin and the default password is openmediavault

      _____________________________________________

      From there, perhaps this guide may be useful.
    • Thanks flmaxey for the indepth response! I have a bunch of threads/videos bookmarked ready to go for all the various things I'm expecting of this server, this uefi problem was unforseen and way out of my depth to resolve solo. I think I may have also come across the link you posted!

      I'm going to try and get myself a blank cd/dvd (presumably it fits on a cd) and burn a disc, if I have time I'll install this eve or over the weekend.

      I may have skipped the ssh bit in the installer, either way, I'll re-install from a disc and hopefully all will work as intended!

      openmedianer: I didn't read that, as I mentioned, I have everything I thought I needed to get started ready to go in bookmarks, the uefi bit was unforseen! Unfortunately I can't disable uefi on this mobo.
    • Hello, look this:

      asrock.com/MB/Intel/J4105-ITX/index.de.asp#Specification

      BIOS
      - 128Mb AMI UEFI Legal BIOS with GUI support
      - Supports Plug and Play
      - ACPI 5.0 compliant wake up events
      - Supports jumperfree
      - SMBIOS 3.0 suppo
      Your Mainboard is OMV supported:

      Anyone with experience fo ASRock J4105 or J4005B ITX Mobo

      DiN0 wrote:


      Hi,
      i'm running OMV4 (debian netinst was necessary - couldn't get USB legacy boot working)
      on Asrock J4105-ITX with 1x 4GB (4GB Crucial CT4G4SFS824A DDR4-2400 SO-DIMM CL17 Single)
      1x 480 GB SSD für System / Dockers / and CloudData
      2x 8TB HDD --> Raid for DATA / Backup / Dump

      The post was edited 3 times, last by openmedianer ().

    • So I had a go at this, my dvd drive wasn't recognised and I couldn't boot from the disc (ISO downloaded and burned to disc using windows built-in burning).

      I then tried through putty, I don't think something is working right though


      Source Code

      1. root@debian:~# cat <<EOF >> /etc/apt/sources.list.d/openmediavault.list
      2. > deb http://packages.openmediavault.org/public arrakis main
      3. > deb http://packages.openmediavault.org/public arrakis-proposed main
      4. > deb http://downloads.sourceforge.net/project/openmediavault/packages arrakis-proposed main
      5. > deb http://packages.openmediavault.org/public arrakis partner
      6. > deb http://downloads.sourceforge.net/project/openmediavault/packages arrakis partner
      7. > EOF
      8. root@debian:~# export LANG=C.UTF-8
      9. root@debian:~# export DEBIAN_FRONTEND=noninteractive
      10. root@debian:~# export APT_LISTCHANGES_FRONTEND=none
      11. root@debian:~# wget -O "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc" https://packages.openmediavault.org/public/archive.key
      12. --2019-01-11 18:50:40-- https://packages.openmediavault.org/public/archive.key
      13. Resolving packages.openmediavault.org (packages.openmediavault.org)... 178.254.11.33
      14. Connecting to packages.openmediavault.org (packages.openmediavault.org)|178.254.11.33|:443... connected.
      15. HTTP request sent, awaiting response... 200 OK
      16. Length: 3134 (3.1K) [application/pgp-keys]
      17. Saving to: ‘/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc’
      18. /etc/apt/trusted.gp 100%[===================>] 3.06K --.-KB/s in 0s
      19. 2019-01-11 18:50:40 (67.2 MB/s) - ‘/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc’ saved [3134/3134]
      20. root@debian:~# apt-key add "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc"
      21. OK
      22. root@debian:~# apt-get update
      23. E: Type 'cat' is not known on line 10 in source list /etc/apt/sources.list.d/openmediavault.list
      24. E: The list of sources could not be read.
      25. root@debian:~# apt-get --yes --auto-remove --show-upgraded \
      26. > .--allow-downgrades --allow-change-held-packages \
      27. > .--no-install-recommends \
      28. > --option Dpkg::Options::="--force-confdef" \
      29. > .--option DPkg::Options::="--force-confold" \
      30. > .install postfix openmediavault-keyring openmediavault
      31. E: Sense auto is not understood, try true or false.
      32. root@debian:~# omv-initsystem
      33. -su: omv-initsystem: command not found
      34. root@debian:~#
      Display All
      Nothing seems to happen after the first shell script and the second throws some errors?

      I found that thread also but I didn't see how he got it setup in the end. I've installed Debian as per this link pcsuggest.com/debian-minimal-install-guide/ and suggestion above. I did not however do the very last bit of getting repositories and sudo
    • Nothing happens after the first script. This one sets install sources.

      I'm going to assume that you tried the second script more than once, and in 4 to 5 line chunks as well. (I've seen the "sense" true/false error before when building a VM. It doesn't seem to affect anything. In any case, maybe your variables are good enough.

      (Maybe one of the Dev's could chime in on this...)
      ________________________________________________________________________

      Try the following, on the command line as root:

      apt-get install openmediavault

      This will take awhile. When it's done, reboot.
    • I tried a few things, can't remember in which order. If it means reinstalling debian again I will? Maybe I have the wrong version? The file I downloaded is this: debian-9.6.0-amd64-netinst.iso

      Nothing happens when I run that command

      Source Code

      1. jozi@debian:~$ su - root
      2. Password:
      3. root@debian:~# apt-get install openmediavault
      4. E: Type 'cat' is not known on line 10 in source list /etc/apt/sources.list.d/openmediavault.list
      5. E: The list of sources could not be read.
      6. E: Type 'cat' is not known on line 10 in source list /etc/apt/sources.list.d/openmediavault.list
      7. E: The list of sources could not be read.
      8. root@debian:~#
    • OK, I installed debian-9.6.0-amd64-netinst.iso and added only SSH and tools as mentioned above. I took the defaults, installed grub on the boot drive, "use the entire drive", "one partition", etc.
      ______________________________________________________________

      VIA PuTTY and SSH:
      I applied the first script which creates openmediavault.list.

      cat <<EOF >>/etc/apt/sources.list.d/openmediavault.list
      deb packages.openmediavault.org/public arrakis main
      # debhttp://downloads.sourceforge.net/project/openmediavault/packagesarrakis main
      ## Uncomment the following line to add software from the proposedrepository.
      # deb packages.openmediavault.org/public arrakis-proposedmain
      # debhttp://downloads.sourceforge.net/project/openmediavault/packagesarrakis-proposed main
      ## This software is not part of OpenMediaVault, but is offered bythird-party
      ## developers as a service to OpenMediaVault users.
      # deb packages.openmediavault.org/public arrakis partner
      # debhttp://downloads.sourceforge.net/project/openmediavault/packagesarrakis partner
      EOF
      ______________________________________________________________

      I then applied the second script in 4 sections as shown below. An empty line is the end of section. (This is not necessarily required - it's a personal preference to see what has happened before proceeding.)

      export LANG=C.UTF-8
      export DEBIAN_FRONTEND=noninteractive
      export APT_LISTCHANGES_FRONTEND=none
      wget -O "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc" packages.openmediavault.org/public/archive.key
      apt-key add "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc"

      apt-get update

      apt-get --yes --auto-remove --show-upgraded \
      --allow-downgrades --allow-change-held-packages \
      --no-install-recommends \
      --option Dpkg::Options::="--force-confdef" \
      --option DPkg::Options::="--force-confold" \


      install postfix openmediavault-keyring openmediavault
      # Initialize the system and database.
      omv-initsystem
      # Rebuild configurations.
      omv-mkconf interfaces
      omv-mkconf issue
      # Display the login information.
      cat /etc/issue

      (** I got "autosense not understood" and "command not found" starting install postfix through to the the last omv-mkconf command... I ignored this. **)
      _________________________________________________

      I checked sources with the command:
      apt list openmediavault

      The output was:
      Listing... Done
      openmediavault/arrakis 4.1.17-1 all

      This verified OMV is available for installation.
      _________________________________________________

      Then I used:
      apt-get install openmediavault

      It took a bit for all to download and install.

      When the install was done I did:

      shutdown -r now

      _________________________________________________

      When the system rebooted I logged into the command line one more time, ( su - root), and applied the following to finish up:

      omv-mkconf interfaces
      omv-mkconf issue
      cat /etc/issue

      With the ip address provided in the console, I opened the web GUI.

      The post was edited 1 time, last by crashtest: edit ().

    • I just did a reinstall, all defaults except for language and location to reflect those for Ireland, network I used WORKGROUP (same as my windows machines) and finally I installed SSH and System Utilities (presumably this is what you meant for Tools?).

      I've reboot the system, loged in as myself and the SU to root

      I've copied the first script, line for line as per your post followed by the second script also line for line.

      The first part, it downloaded something and the final line was followed by an OK

      I get an error for the apt-get update see below

      Source Code

      1. root@debian:~# apt-get update
      2. E: Malformed entry 1 in list file /etc/apt/sources.list.d/openmediavault.list (URI parse)
      3. E: The list of sources could not be read.
      4. root@debian:~# root@debian:~# apt-get update
      5. -su: root@debian:~#: command not found
      6. root@debian:~# E: Malformed entry 1 in list file /etc/apt/sources.list.d/openmediavault.list (URI parse)
      7. -su: syntax error near unexpected token `('
      8. root@debian:~# E: The list of sources could not be read.
      9. -su: E:: command not found
      10. root@debian:~# root@debian:~#
      11. -su: root@debian:~#: command not found
      Display All

      I'm not sure what that means but I continued with the other lines

      I didn't notice anything happening when doing these lines:

      apt-get --yes --auto-remove --show-upgraded \
      --allow-downgrades --allow-change-held-packages \
      --no-install-recommends \
      --option Dpkg::Options::="--force-confdef" \
      --option DPkg::Options::="--force-confold" \


      Source Code

      1. root@debian:~# apt-get update
      2. E: Malformed entry 1 in list file /etc/apt/sources.list.d/openmediavault.list (URI parse)
      3. E: The list of sources could not be read.
      4. root@debian:~# apt-get --yes --auto-remove --show-upgraded \
      5. > --allow-downgrades --allow-change-held-packages \
      6. > --no-install-recommends \
      7. > --option Dpkg::Options::="--force-confdef" \
      8. > --option DPkg::Options::="--force-confold" \
      9. >
      Is this correct? I'm pretty sure something isn;t doing what it should somewhere?


      When I run this: apt list openmediavault I get the following:


      Source Code

      1. root@debian:~# apt list openmediavault
      2. E: Malformed entry 1 in list file /etc/apt/sources.list.d/openmediavault.list (URI parse)
      3. E: The list of sources could not be read.
      4. root@debian:~#


      I'm not sure it matters at all at this point but here is the hardware setup:
      - Asrock j4105-itx
      - 16gb ram
      - 64gb SSD (Cruial C300 I think)

      No other hardware installed at this moment.

      I installed via usb to the ssd drive.

      Flmaxey: I really appreciate time time and effort you are putting into help me out with this. My knowledge fall short long before this post has, it was supposed to just work!
    • I just installed an earlier version of Debian and I think it's working, I've ran almost all of the 2nd script and it's downloading a bunch of things now!

      ---edit---

      Getting a lot of errors after: omv-initsystem

      n:~# W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module r8169

      I'm just wondering about the beow which I copy pasted exactly as is

      cat <<EOF >>/etc/apt/sources.list.d/openmediavault.list
      deb packages.openmediavault.org/public arrakis main
      # debhttp://downloads.sourceforge.net/project/openmediavault/packagesarrakis main
      ## Uncomment the following line to add software from the proposedrepository.
      # deb packages.openmediavault.org/public arrakis-proposedmain
      # debhttp://downloads.sourceforge.net/project/openmediavault/packagesarrakis-proposed main
      ## This software is not part of OpenMediaVault, but is offered bythird-party
      ## developers as a service to OpenMediaVault users.
      # deb packages.openmediavault.org/public arrakis partner
      # debhttp://downloads.sourceforge.net/project/openmediavault/packagesarrakis partner
      EOF

      Should I have removed some of the # from the code?

      The post was edited 1 time, last by Jozi ().

    • While it wouldn't make a difference during the base Debian install, workgroup is not necessary. This can be changed in the GUI when OMV is up and running.
      ___________________________________________________________________________________________________

      Installing from a USB drive, to as USB drive, is fine if it works for you.
      (Depending on the systems BIOS, some get kicked into initramfs due to a device naming issue. Others have no problem.)
      If you're installing from a USB drive to an SSD attached to a SATA port, there's no problem at all.
      ___________________________________________________________________________________________________

      The problem seems to be related to the file created by the first script;
      /etc/apt/sources.list.d/openmediavault.list

      On the command line do:
      nano /etc/apt/sources.list.d/openmediavault.list

      Compare what you have to what I have below:

      deb packages.openmediavault.org/public/ arrakis main
      deb openmediavault.github.io/packages/ arrakis main

      # deb downloads.sourceforge.net/project/openmediavault/packages/ arrakis main
      ## This software is not part of OpenMediaVault, but is offered by third-party
      ## developers as a service to OpenMediaVault users.
      deb packages.openmediavault.org/public/ arrakis partner
      # deb openmediavault.github.io/packages/ arrakis partner
      # deb downloads.sourceforge.net/project/openmediavault/packages/ arrakis partner


      If yours is different, make it like the above. Then do Ctrl+X, Y, and Enter. Otherwise, with no edits, Ctrl+X will let you exit.

      ________________________________________________________________________


      When you change to root are you use this exact command?
      su - root

      That's su space - space root
      ________________________________________________________________________

      The process I spelled out in the previous is post is exactly what I did, in the order I did it. The only differences I can think of would be regional, such as the sources for the Debian install.

      But, you know, it could be some sort of wide spread conspiracy to oppress the Irish! :)
      ________________________________________________________________________

      Let me know what you found in the openmediavault.list file.

      Hang in there. If this doesn't work, there's at least one more option.


      The post was edited 2 times, last by crashtest: edit ().

    • Hi Flmaxey

      I'm not sure if you missed my last post or if I edited it? I decided to try the previous version of Debian and low and behold it worked! I still got a bunch or errors but I'm able to login to OMV through my browser :)

      I think the difference in version might have had to do with oppression :P

      ------edit------

      Is it normal not to be able to login through putty once OMV is setup?

      Another thing I noticed is that I can't upgrade with either of the 2 packages there as it throws errors

      The post was edited 1 time, last by Jozi ().

    • My wife says hi. (Family name was O'Dwyer.) With my ancestry being English from way back and with her being Irish, I know something about "oppression". :) Fortunately, "the troubles" have never visited this household.
      ____________________________________________________________________________________________

      Jozi wrote:

      Another thing I noticed is that I can't upgrade with either of the 2 packages there as it throws errors
      Again, this might to be a sources issue. (That seems to be the common theme here.) Maybe, in a fresh Debian install, select sources that are in the US?

      Jozi wrote:

      Is it normal not to be able to login through putty once OMV is setup?
      I'm not sure what the defaults are with a scripted install but it can be changed:
      Go to Services, SSH, and enable SSH and Permit Root Login.

      What version of OMV are you running? 3.X? (You can find this under Diagnostics, :sleeping: System Information.)
      _____________________________________________________________________________________________

      The other install option I was going to mention was:
      - On Windows (64bit) client with a CD/DVD drive, with a USB thumbdrive (16 to 32GB), and an OMV CD.
      - Change the boot order to allow booting from CD and USB
      - Boot on the CD and build the USB thumbdrive as an OMV boot drive. (Being careful to leave the installed Windows hard drive alone)
      - Boot on the thumbdrive, one time, as a test.
      - Move the thumbdrive to the destination server (Where the boot order has been changed to allow USB boot.)

      I've done this before with a true headless server. If no exotic hardware is involved, it works.
    • Users Online 4

      4 Guests