Installing iStoreOS Routing System and Manually Installing Software through Virtual Machines in PVE

Publish: 2023-08-22 | Modify: 2023-08-22

iStoreOS is a router system based on OpenWrt, which provides a simple and user-friendly interface and a built-in app market for easy installation of various software. I plan to install iStoreOS on a PVE virtual machine and use this article as a share. If you happen to need it, you can use it as a reference.

e54654d0e1affe43.png

Download Firmware

iStoreOS firmware download link: https://fw.koolcenter.com/iStoreOS/x86_64_efi/

I downloaded the X86 EFI version, named istoreos-22.03.5-2023081110-x86-64-squashfs-combined-efi.img.gz

Install iStoreOS on PVE

Go to the PVE system management interface, click on "Create VM" in the upper right corner;

fa77d4d4323b10d3.png

Only fill in the name, the VM ID is the virtual machine ID, automatically sorted, can also be customized, ignore the rest, click next:

ca0c42adcf698f14.png

Check "Do not use any media", ignore the rest, click next;

ca49a764c5f10bc7.png

If you downloaded the EFI firmware, select "OVMF(UEFI)" for BIOS and select PVE's virtual disk for EFI storage, ignore the rest, click next:

789f2c673b3deec7.png

If you downloaded the non-EFI firmware, ignore this page and go to the next step directly;

27154f1233ff203e.png

For the disk, no need to create, just delete it, click next;

960adb4837abfa79.png

For the CPU cores, set it according to the number of cores on your physical machine CPU (for example, if your physical machine has 6 cores and 12 threads, any number between 1 and 12 will work), and choose the category "host" if possible;

8dd5b43b14c49e30.png

Set the memory according to your actual needs;

af19c9e503bea9dd.png

For the network, the default settings should be fine, as PVE's virtual LAN is already selected;

5c7426571432add2.png

Finish and wait for the virtual machine to be created.

15fc0f31d8b1b3a1.png

Use tools like WinSCP to copy the downloaded firmware (EFI firmware in this tutorial) and the img2kvm tool to the directory of the PVE host.

Then use the img2kvm tool to write the firmware to the virtual machine. The command to execute is as follows:

# Download img2kvm
wget https://soft.xiaoz.org/router/iStoreOS/img2kvm
# Add executable permissions
chmod +x img2kvm
# Write to the virtual machine, 104 is the virtual machine ID, please modify it accordingly
./img2kvm istoreos-22.03.5-2023081110-x86-64-squashfs-combined-efi.img.gz 104

Then check the hardware interface of the PVE virtual machine with ID 104, there will be an unadded disk, double click to add:

3a471855154a8168.png

No need to make any settings, just add it:

545dc5cbe1b03614.png

After adding, there will be a disk:

b6554502646c7ad3.png

In the options - boot order, double click to edit:

ca3344391a715a12.png

Set the newly added disk as the first boot option:

46eeca1a49d8be61.png

ab11aaf93fda4fc7.png

Delete the EFI disk, if BIOS is not UEFI, this setting is not available;

388e803548953d3d.png

Start iStoreOS:

aea0ecd793d6adb6.png

If the previous steps were correct, it should start up normally:

93bfdab64f91620e.png

Wait for the system to start for one or two minutes, then click on this virtual machine - Console (or the Console button in the upper right corner):

6ed8e4dc5eb550a7.png

Click on the screen with the mouse, and press Enter on the keyboard: a terminal interface will appear:

6ed8e4dc5eb550a7.png

0aa97484470313f7.png

Enter the command quickstart and use the "up" and "down" keys on the keyboard to select option 2, then press Enter:

Enter the IP address to assign to the LAN port of iStoreOS (it must be in the same IP range as the PVE virtual LAN, for example, if the management IP of PVE is 192.168.2.88, then the IP here must be 192.168.2.XXX), then press Enter to take effect;

af5cb367fefdde4d.png

Enter the subnet mask (mask) as instructed: 255.255.255.0, then press Enter to take effect:

1898db925d27f50a.png

Then select QUIT to exit this interface:

cb52fb69422476c4.png

Enter reboot to restart iStoreOS, so that you can access the iStoreOS interface by entering the IP address we set in the browser.

f46d6d67df942815.png

The default username/password for iStoreOS is: root/password

80df3f55baec49a7.png

You can enter the router settings according to your needs.

e54654d0e1affe43.png

Install Software

iStoreOS has a built-in iStore app market, where most commonly used software can be installed. As shown in the figure below.

d2fd7c091d472b22.png

If you cannot find the magic tool in the iStore app market and you need to use it, you need to install it manually. Manual installation supports .ipk packages and .run self-extracting formats.

7ffa41ee9e7979b8.png

You can download the commonly used magic tools from: https://github.com/AUK9527/Are-u-ok, and then install them manually.

Additional note: If the dependency installation fails when manually installing software, you can try modifying the software source of iStoreOS and then try again!!!

Conclusion

iStoreOS integrates most of the commonly used router software and achieves plug-and-play functionality. In addition, users can expand functionality through the iStore app market. Some magic software can also be installed manually. Whether it is used as a main router or a side router, iStoreOS is very suitable. If you are interested, you can give it a try.

iStoreOS official website: https://www.istoreos.com/

Some of the content in this article is referenced from: https://doc.linkease.com/zh/guide/istoreos/install_pve.html


Comments