This is an old revision of the document!
Installing OMV5 on i386 (32-bit) PC's & Alt 64 bit install
Introduction
- In consideration of Debian's continued support of i386 - 32-bit platforms, support for the installation of Openmediavault on 32-bit Debian is available as a two part process. After Debian is installed, Openmediavault (hereafter referred to as OMV) is installed by script.
- This process may also be used as an alternate install method, for 64 bit platforms, in the event that the standard OMV ISO installation fails. Note the 64-bit down instructions in the i386 Download section.
About this Guide
The purpose and intent of this guide is to provide a walk-through for the i386 build process, to get i386 - 32-bit users up and running as quickly and as easily as possible. On fairly rare occasions, the integrated OMV ISO installer will not work with some 64 bit motherboards and hardware. The OMV installation method described in this guide will work with 64 bit motherboards as well, if the single change under Alternate 64-bit installation is noted and observed.
*Considerations for i386 (32-bit) builds are very similar to amd64 (64-bit) builds. As an addendum to the Getting Started with Openmediavault User Guide Getting Started with Openmediavault user guide, geared toward 64-bit platforms, users may benefit by reviewing preliminary information and notes in the larger guide, prior to the actual installation process.*
This guide assumes that users have a working Windows Client for installing and executing utilities. It is also assumed that Mac and Linux desktop users will be able to find, install, and use utilities equivalent to those called out in Prerequisites.
- This guide contains links to external sources of information and software. It's best used on an Internet connected PC.
- This is a community document and a work in progress. Input and feedback are welcome and can be sent to: omvguide@gmail.com
Hardware Suggestions
OMV/Debian will run on i386 32-bit platforms, with 1GB of ram or even less. Hardware in this category will work well as a basic NAS server for home use, but performance expectations should be adjusted accordingly.
More than 1GB of ram would be helpful. For file caching, in support of normal file system operations, performance is better with more RAM.
A gigabit Ethernet adapter would be preferred, to better support concurrent LAN users and streaming video content. 100Mbs will work, but a gigabit Ethernet adapter may produce better overall results.
Prerequisites
This installation process requires a wired Ethernet connection and Internet access. To get started, a few utilities are needed.
PuTTY is an SSH client that will allow users to connect to their SBC, from a Windows client, and get on the command line. PuTTY is Windows installable.
When Installing to a USB Thumbdrive
- h2testw_1.4 is a flash media test program. With a freshly formatted USB thumbdrive, h2testw_1.4 writes files with known content and verifies that content in a read operation, detecting errors in the process.
h2testw_1.4 downloads as a zip file. By right clicking on the zip file, and using “Extract All”, 7-Zip will expand the zip file to a folder named h2testw_1.4 The executable inside this folder is a portable application. Simply run the executable. (If needed 7-Zip is available → here.)
- SD Formatter is a utility for formatting flash media, that does a “TRIM” operation which cleans up remnants of deleted or previously existing files. While designed for SD-cards, it works with USB Thumbdrives as well.
i386 Download
Go to the Debian download page Debian download page, find and download the 32-bit PC net install version of Debian 10, Buster. (While Debian's site changes often; look under Download an installation image, a small installation image, and select the 32-bit PC net install.
*Alternate 64-bit installation*
*If doing an alternate 64-bit installation, download and use the 64-bit PC net install version of Debian 10, Buster. Other than this one change, the following installation process will apply.*))
Installation Media
This guide assumes that the downloaded ISO will be burned to a CD or DVD. If using a USB thumbdrive as a software source, help with creating a bootable USB thumbdrive ISO can be found here: Burn an ISO file to a USB drive.
Choosing a Boot Drive
This subject is covered in the OMV5 guide, in the section titled; Selecting a Boot Drive. *If the decision is made to boot from a USB thumbdrive; pre-test the drive as shown, in the following, before use. Otherwise skip down to Installation.*
Format and Test Flash Media
Using SDFormatter, do a clean format on the new USB Thumbdrive: (Note that SDFormatter does a trim operation on the drive which cleans up remnants of deleted or previously existing files.) In most cases, SDFormatter will detect the thumb-drive. A volume label is not necessary, at this point, and the default options are fine.
Select Write+Verify. (DO NOT check the endless verify box)
After H2testw verifies the USB thumbdrive; do one more clean format, using SDFormatter, before using thumbdrive.
Installation
Boot up using the installation ISO.
The first screen offers a choice of installers. While both are roughly the same, for illustration, the standard (text) install is much clearer.
The default hostname, for this 32-bit install, is debian. In this example, it was changed to openmediavault which is the default hostname for an openmediavault install. Users might chose something like OMV1 which is shorter and easier to type, for later use.
If applicable, enter your domain name suffix. Otherwise, this entry can be left blank.
(local is the default for an openmediavault install.)
Follow the on screen guidance for setting the root password. While not recommended, it would be better to write down the root password, then to forget it.
Follow the on screen guidance for setting up a new user and password.
(This username and password are necessary for an SSH log in, later.)
First Boot
Allow the installation to boot.
Log into the console as root
and type ip addr
on the command line.
Note the address in this case - 192.168.1.57
First Time SSH Logon
- Log into the SSH connection with the Admin user account and password, set during the Debian install.
- To get root access to the installation, type the command
su – root
<enter>. Type in the root password when prompted.
Preliminary Prep for OMV
(*Note: “Paste” is supported by PuTTY, with a right mouse click.*)
Copy (highlight and Ctrl+C) and paste (right mouse click) the following into the SSH window. Hit Enter.
apt-get install wget sudo -y
Install OMV
Installing OMV on i386 platforms is very easy, thanks to Arron Murray (ryecoaaron on the OMV Forum) for providing a comprehensive installation script that's executed from a single line.
Copy the following line complete (Ctrl+C) and paste it into PuTTY's SSH window, with a right mouse click. Then hit Enter.
wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash
Once the script is running, click out of the SSH window so the script will not be interrupted.
* Note: Do Not close PuTTY – that will terminate the root session. Minimizing PuTTY is OK, but it must be running. *
Depending on several factors, running this script may take up to 30 minutes.
When the script is complete, the PC will automatically reboot.
*32-bit Limitations*
Users should be aware that packages, plugins and other options that are available for 64-bit platforms may not be available or work on 32-bit platforms.
Further, certain types of dockers and other types of virtualization may not install or work on 32-bit platforms. (As a practical example, the Portainer Docker will not install on i386 platforms.)
First Time GUI Logon
After 3 to 5 minutes, OMV can be logged into using the same IP address that was used for the SSH client, entered in a web browser address bar.
The web GUI user is admin and the default password is openmediavault
With OMV installed and logged in, new users can continue to configure their servers, using the OMV5 guide found → here. With the installation complete, users should begin with the section titled; OMV - Initial Configuration .
Donate
Openmediavault on 32bit PC's is the project of OMVextras.org In addition to enabling the installation of OMV on 32bit PC's and Single Board Computers, OMV-extras.org develops plugin's for OMV that make Portainer (Dockers) and other extensions available for your R-PI possible.
Please consider a modest donation to offset some of the Developer's costs and to support continuing development and to help. OMV-extras.org OMV-extras.org