New - Hi I am new to and looking to install and run OMV 6 from a 32gb usb flash drive - is there a step by step guide please -any help appreciated ta
New - looking to install and run OMV 6 from a 32gb usb flash drive - is there a step by step guide please -any help appreciated
-
-
KM0201
Approved the thread. -
-
-
This guide should get you there if you select the USB drive as installation target
-
-
New - Hi I am new to and looking to install and run OMV 6 from a 32gb usb flash drive - is there a step by step guide please -any help appreciated
ta
Hi,
Roughly here are the steps I followed:
Part A:
1) Download OMV iso, and BalenaEtcher on Windows11 system.
2) Use BlaenaEtcher to make an OMV Install USB pen drive
3) Plugin the "install usb" and "future OS usb" pen drives in the destination OMV system.
4) Install OMV.
5) Remove "Install usb" pen drive from the new system.
6) After Successful Installation to USB/or SDD reboot and Login using default (UserName: admin / Password: openmediavault)
Part B:
1)Using Putty, login as root into SSH shell, and install OMV-Extras by executing this command as root: wget -O - https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install | bash
2) Install plugin openmediavault-flashmemory
3) Change Admin Password
4) EDIT: Generate SSL and SSH Certificates.
5) Secure workbench by forcing SSL.
6) Increase auto logout time to suit your needs
7) Run this command as root through SSH: apt install lm-sensors
----------------------------------------------------------------------------------
Install Plugin - openmediavault-cputemp 6.1.3
Use the forum to find correct line to enter for your specific CPU and then
Create/Edit a new cpu-temp script by entering: sudo nano /usr/sbin/cpu-temp
For the newer Intel chip that I'm using I entered this in new cpu-temp script: sensors coretemp-isa-0000 | grep '0:' | head -n4 | cut -c 16-23
Press ctrl-o to save, and ctrl-x to exit Nano
Change permission of new file: chmod +x /usr/sbin/cpu-temp
Execute new file cpu-temp to make sure it is working: cpu-temp
Now execute the following commands:
omv-env set "OMV_CPU_TEMP_COMMAND" "/usr/sbin/cpu-temp"
omv-env set "OMV_CPU_TEMP_DIVISOR" "0"
omv-salt stage run prepare
omv-mkworkbench all
monit restart omv-engined
-----------------------------------------------------------------------------------
9) Setup widgets on the Dashboard.
10) Install all updates.
11) Setup and mount the Filesystems.
12) Install Snapraid then (Configure Snapraid Array).
13) Install MergerFS then (Merge all data disks).
14) Setup Shared Folders.
15) Setup Samba shares.
16) Install Kernel Plugin and then (activate clonezilla, Gparted and SystemRescue).
17) Enable S.M.A.R.T. monitoring and then (add each drive to monitor).
18) Enable short self test under scheduled tasks.
19) Setup Notifications.
20) Backup or/and clone the ROOT/OS Drive. (Use BalenaEtcher on another system to clone boot usb pendrive).
21) Install other plugins and customize your server as needed.
22) EDIT: Create users and Learn how to use Sudo command. (IMPORTANT) IMMEDIATELY STOP Using ROOT to login over SSH!!!
and Good luck. There are lots of helpful experts on this forum so don't be afraid to ask questions. I am a Newbie and was able to setup a decent server because of help I received in this forum.
-
Thanks so much Nsingh just what i was after -will start building at the weekend , one other question whats the fastest easy way to clone my usb pendrive set up to keep spare - copies as images or drives
-
I run this on cron nightly. OMV is on a 16GB USB pen drive and the backup images are stored on one of my data disks. Another script also runs daily to purge backup images older than seven days.
Bash
Display More#!/bin/bash # Script to make dd image of system drive /sbin/folder2ram -syncall now=$(date +"%Y.%m.%d.%H.%M.%S") file="omv-6-$now.dd.img" cd /srv/dev-disk-by-label-d1/omv-backup-imgs #By USB socket position dd if=/dev/disk/by-path/pci-0000:00:1d.0-usb-0:1.3:1.0-scsi-0:0:0:0 of=$file bs=1M status=progress
-
-
Thanks so much Nsingh just what i was after -will start building at the weekend , one other question whats the fastest easy way to clone my usb pendrive set up to keep spare - copies as images or drives
After my OMV server was operational, I simply shut the server down, unplugged my Root/OS usb pen drive and then used BalenaEtcher on my Windows11 system to clone this pendrive to another identical pendrive. After successfully cloning the pendrive I kept the original pendrive in safe place and used the cloned pendrive to boot my OMV server. This operation took all but 10 minutes, including the physical act of walking over to my windows11 system!
-
BalenaEtcher
A more light weight alternative is usbimager
bzt / usbimager · GitLabA very minimal GUI app that can write compressed disk images to USB drives.gitlab.com -
Thanks guys -still learning but really helped
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!