Hosting Iventoy at Home or in Your Homelab for PXE Boot Options
HOMELAB TIPS
11/19/20232 min read
When it comes to setting up a versatile and efficient boot environment, hosting Iventoy at home or in your homelab can be a game-changer. By offering PXE boot options, you can streamline the process of booting multiple devices and operating systems, making it easier to manage and maintain your systems. In this article, we will explore the benefits of hosting Iventoy at home and how it can enhance your booting experience.
What is Iventoy?
Iventoy is an open-source tool that allows you to create a bootable PXE Environment multiple ISO images. It simplifies the process of booting different operating systems without the need for multiple physical USB drives. With Iventoy, you can store all your bootable ISOs in a single location and select the desired operating system during the boot process.
Why Host Iventoy at Home or in Your Homelab?
Hosting Iventoy at home or in your homelab brings several advantages:
Centralized Boot Environment:
By hosting Iventoy, you can create a centralized boot environment for all your devices. Instead of relying on individual USB drives for each operating system. This simplifies the process of managing and updating bootable ISOs, saving you time and effort.
PXE Boot Support:
One of the key benefits of hosting Iventoy is the ability to offer PXE boot options. PXE (Preboot Execution Environment) allows you to boot devices over the network, eliminating the need for physical media. By configuring your home network or homelab to support PXE boot, you can easily boot devices such as laptops, desktops, or even virtual machines directly from Iventoy.
Flexibility and Versatility:
With Iventoy, you have the flexibility to choose from a wide range of operating systems and tools. Whether you need to boot into different Linux distributions, Windows installations, or diagnostic tools, Iventoy can handle it all. This versatility makes it ideal for developers, system administrators, or anyone who frequently works with multiple operating systems.
Setting Up Iventoy for PXE Boot
To host Iventoy for PXE boot, you will need a server or a dedicated machine in your homelab. Here are the general steps to follow:
Setup a Server environment to run it on, in my example I used Ubuntu Server hosted on proxmox
Update the server using the following commands
sudo apt-get update
sudo apt-get upgrade
Installing CIFS-UTILS for SMB Access (Optional)
sudo apt-get -y install cifs-utils
Mounting the relevant drive and creating a SMB Credentials file (Optional)
sudo nano ~/.smbcredentials
username=<YOURUSERNAME>
password=<YOURPASSWORD>
Save and Exit Nano
Make SMB Credentials secure to all but root
sudo chmod 600 ~/.smbcredentials
Edit FSTAB
sudo nano /etc/fstab
Insert line below
//<YOUR IP THAT HOSTS>/<Folder> /home/<YOUR USER>/iventoy-1.0.19/iso/ cifs credentials=/home/.smbcredentials 0 0
Replacing above <> with your own instance information
Installing Iventoy
wget https://github.com/ventoy/PXE/releases/download/v1.0.19/iventoy-1.0.19-linux-free.tar.gz
Remember to change the version number to latest
unzip again adapt version to suit
tar -xzf iventoy-1.0.19-linux-free.tar.gz
cd into directory and run
sudo ./iventoy.sh -R start
Navigate to the url of your IP and the port 26000 dont forget to start Iventoy with the play button
Conclusion
Hosting Iventoy at home or in your homelab can significantly enhance your booting experience by providing a centralized and versatile boot environment. With support for PXE boot options, you can easily boot multiple devices and operating systems without the need for physical media. Whether you're a developer, system administrator, or simply a tech enthusiast, Iventoy is a valuable tool that simplifies the management of bootable ISOs and offers greater flexibility in your computing environment.