{{indexmenu_n>4}}
Installing OMV6 on i386 32-bit PC's
( & Alt 64 bit install )
{{ :omv6ug_-top.jpg?700 |}} \\ ====== Installing OMV6 on i386 (32-bit) PC's & Alt 64 bit install====== \\
  Note
OMV6 is an "End of Life" legacy release. The use of legacy releases is not supported and is at the user's risk. The installation of the latest stable release is recommended. Raspberry PI's and Armbian SBC's are supported only is the latest release.
\\ ===== 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. Please take 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. This guide is a supplement to the [[https://wiki.omv-extras.org/doku.php?id=omv6:new_user_guide|Getting Started with Openmediavault 6 New User Guide]] which is 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 ->[[https://wiki.omv-extras.org/doku.php?id=omv6:i386_32-bit_install#prerequisites|Prerequisites]]. \\ * This is a community document and a work in progress. Input and feedback are welcome and can be sent to: omvguide@gmail.com {{ :divider2.png?800 |}} \\ ===== Foreword: Regarding UEFI ===== [[https://en.wikipedia.org/wiki/UEFI|UEFI]] (Unified Extensible Firmware Interface) is the proposed successor to traditional BIOS. While some of the intentions behind the development of UEFI were to increase security and add flexibility for hardware implementations, the real world results are as variable as the number of hardware manufacturers implementing the UEFI standard.\\ \\ While the Debian project has worked diligently to address the installation and booting problems that may result when installing their OS on UEFI hardware, issues may still come into play during the installation procedure. Most of these issues can be resolved by taking one or both of the following actions in UEFI / BIOS. * **Disable Secure Boot**. Secure boot is designed to prevent changes to the currently installed OS. Obviously, this has the potential to interfere with a new OS installation. * **Enable legacy BIOS**. This may be represented as **Enable Legacy BOOT**, **Enable Legacy BIOS** and similar labels. **__Disable__ UEFI Boot** may be an option as well. For users who are unsure of how to enter into BIOS and set variables, the guidance found -> [[https://www.lifewire.com/how-to-enter-bios-2624481|here]] may be useful. ===== 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. While not absolutely essential, 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. [[https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html|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. [[https://www.7-zip.org/|7-Zip]] is a free file compression utility that will expand *.zip file archives. 7-Zip is Windows installable. \\ ===== When Installing to a USB Thumbdrive ===== * [[http://www.heise.de/ct/Redaktion/bo/downloads/h2testw_1.4.zip|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.) * [[https://www.sdcard.org/downloads/formatter/index.html|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. {{ :divider2.png?800 |}} ===== i386 Download ===== Go to the [[https://www.debian.org/releases/bullseye/debian-installer/index|Debian download page]], find and download the **netinst CD image** - **I386** version of Debian 11, Bullseye. ==== *Alternate 64-bit installation* ==== If doing an alternate 64-bit installation, download and use the **amd64** version of OMV6-Bullseye. Other than this __**one**__ change, the following installation process will apply. {{ :divider2.png?800 |}} ===== 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: [[https://www.lifewire.com/how-to-burn-an-iso-file-to-a-usb-drive-2619270|Burn an ISO file to a USB drive]]. {{ :divider2.png?800 |}} \\ ===== Choosing a Boot Drive ===== This subject is covered in the [[https://wiki.omv-extras.org/doku.php?id=omv6:new_user_guide|OMV6 User Guide]], in the section titled; [[https://wiki.omv-extras.org/doku.php?id=omv6:new_user_guide#selecting_a_boot_drive|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. \\ For hard drive or SSD boot drives, skip down to → [[https://wiki.omv-extras.org/doku.php?id=omv6:i386_32-bit_install#installation|Installation]]. {{ :divider2.png?800 |}} ==== 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. {{ :32bit_sdformatter.jpg?400 |}} ---- \\
After the Thumdrive format is completed, open **h2testw** and select your language.
Then, click on **Select target**
{{ :32bit2_h2testw.jpg?400 |}} ---- \\
Under Computer, select the flash media previously formatted.
{{ :32bit3_file_exp.jpg?400 |}} ---- \\
Select **Write+Verify**. (DO NOT check the **endless verify** box)
{{ :32bit4_h2testw.jpg?400 |}} ---- \\
A dialog similar to the following may pop up, showing a 1MB difference. Ignore it and click on OK.
{{ :32bit5_warning.jpg?400 |}} ---- \\
**“Without errors”** is the desired outcome. If the media tests with errors or is much smaller than is indicated by the Thumbdrive's labeled size, don't use it.
{{ :32bit6_h2testw_no_errors.jpg?400 |}}
After H2testw verifies the USB thumbdrive; do one more clean format, using SDFormatter, before using thumbdrive.
{{ :divider2.png?800 |}} ===== 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.
Select Install
{{ :32bit7_debian_install1.jpg?600 |}} ---- \\
Select a Language: (As needed)
{{ :32bit8_debian_install2.jpg?600 |}} ---- \\
Select your Location: (As appropriate.)
{{ :32bit9_debian_install3.jpg?600 |}} ---- \\
Configure the Keyboard: (Select as appropriate)
{{ :32bit10_debian_install4.jpg?600 |}} ---- \\
Configure the Network:
Hostname
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.
{{ :32bit11_debian_install5.jpg?600 |}} ---- \\
Configure the Network:
Domain Name
**If applicable**, enter your domain name suffix. Otherwise, this entry can be left blank.
(**local** is the default for an openmediavault install.)
{{ :32bit12_debian_install6.jpg?600 |}} ---- \\
Set up users and passwords:
root password
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.
{{ :32bit13_debian_install7.jpg?600 |}} ---- \\
Set up users and passwords:
Admin User
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.)
{{ :32bit14_debian_install8.jpg?600 |}} ---- \\
Configure the Clock:
Select your time zone
(NO PIC)
---- \\
Partition Disks 1:
If two storage devices are available for installation, this screen may be displayed.
{{ :32bit15_debian_install9.jpg?600 |}} ---- \\
Partition Disks 2:
Partitioning:
Make the selection shown; Guided – use entire disk.
{{ :32bit16_debian_install10.jpg?600 |}} ---- \\
Partition Disks 3:
Partition Disks
If installing to a single internal drive, there will be only one selection available. USB Thumb drives are obvious because many bear their OEM names and their capacity is usually small.
{{ :32bit17_debian_install11.jpg?600 |}} ---- \\
Partition Disk 4:
Partitioning Scheme
Select as shown.
{{ ::32bit18_debian_install12.jpg?600 |}} ---- \\
Partition Disk 4:
Finish Partitioning
Select as shown.
{{ :32bit19_debian_install13.jpg?600 |}} ---- \\
Partition Disk 4:
Write Changes
This screen forces the user to manually select Yes.
{{ :32bit20_debian_install14.jpg?600 |}} ---- \\
Configure the Package Manager:
Installation CD or DVD
(NO PIC)
User will be prompted to Scan extra installation media? Continue with the default NO.
----
Configure the Package Manager:
Debian Archive Mirror Country
(NO PIC)
The default choice is usually best.
---- \\
Configure the Package Manager:
Please select a Debian Archive Mirror
(NO PIC)
The default choice is usually best.
---- \\
Configure the Package Manager:
HTTP proxy
In most cases this entry will be blank.
(If a proxy is required, note the form of entry required in the dialog box.)
Select Continue.
{{ ::32bit21_debian_install15.jpg?600 |}} ---- \\
Configure popularity-contest
Participate in the package usage survey?
In most cases this entry will be blank
(NO PIC)
The user's choice.
---- \\
Software selection
Only the SSH server should be selected. Make changes to reflect the following and Continue.
DO NOT select additional packages. Desktops are not supported.
{{ :32bit22_debian_install16.jpg?600 |}} ---- \\
Install the GRUB Boot Loader on a Hard Disk:
Accept the default – Yes.
{{ ::omv6-32bit-02.jpg?600 |}} ---- \\
Install the GRUB Boot Loader on a Hard Disk:
Generally the boot drive will be /dev/sda which is, in most cases, the first sata port.
If multiple drives are connected and if there's any doubt, shutdown and disconnect all drives except the boot drive.
(Otherwise, a USB Thumb-drive will be obvious.)
{{ :32bit24_debian_install18.jpg?600 |}} ---- \\
Finish the Installation:
Installation Complete
Remove the CD or USB installation source, then hit ENTER.
(Otherwise, the installation process may re-start.)
{{ :32bit25_debian_install19.jpg?600 |}} ---- \\ ===== First Boot ===== Allow the installation to boot. Log into the console as ''root'' and type ''ip addr'' on the command line. {{ :32bit26_first_boot.jpg?600 |}} Note the address in this case - 192.168.1.57 {{ :divider2.png?800 |}} ==== First Time SSH Logon ====
Open PuTTY and type in the IP address as previously noted.
{{ :32bit27_putty.jpg?400 |}} \\
A PuTTY Security Alert will pop up in a first time connection.
Open PuTTY and type in the IP address as previously noted.
{{ :32bit28_putty_warning.jpg?400 |}} {{ :divider2.png?800 |}} * 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'' . Type in the root password when prompted. {{ :32bit29_root_login.jpg?600 |}} \\ ==== 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'' {{ :divider2.png?800 |}} ===== Install OMV ===== Installing OMV on i386 platforms is very easy, thanks to Arron Murray (ryecoaaron on the [[https://forum.openmediavault.org/|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.\\ If the reboot is not automatic (which should close the SSH window) type ''reboot'' on the command line. {{ :divider2.png?800 |}} ===== *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.) {{ :divider2.png?800 |}} ===== 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 the installation process complete, users should configure their server, with the OMV6 New User Guide starting with the section titled → [[https://wiki.omv-extras.org/doku.php?id=omv6:new_user_guide#initial_configuration|Initial Configuration]].\\ \\ \\
This concludes the i386, 32-bit, OMV installation.
{{ :divider2.png?800 |}} ===== A Closing Note ===== We, who support the openmediavault project, hope that you’ll find your openmediavault server to be enjoyable, efficient, and easy to use.\\ \\ If you found this guide to be helpful, please consider a modest donation to support the hosting costs of this server (OMV-Extras).\\ \\ **OMV-Extras.org** \\
\\ \\ **Venmo: ryecoaaron**