Mounting an ISO on a bare metal server
Although most IBM Cloud® users use one of the standard operating systems that come with our servers, you can mount custom ISOs (disk images) on servers. You have two options for mounting custom ISOs.
Overview
For the two mounting methods to work, you need to connect to the private network through the SL VPN service, such as IBM Cloud SSL VPN - AMS01
, or through another server that is connected to the network.
Lenovo hardware disk images larger than 50 MB must be mounted by using the IMM console and click Interface > Media tab.
Option 1 (preferred): using IPMI (ISO on a CIFS share)
If your infrastructure is already deployed on IBM Cloud, you can configure an existing server to offer a CIFS share to the internal network. You can then mount any ISO on the internal network to a bare metal server.
This option is the preferred method for installing a custom OS on a bare metal server. IPMI installs over the local network, which is fast and can keep an ISO mounted even if you log out or get disconnected from the management interface.
Follow these steps to install a custom OS from a CIFS Share:
-
Make sure that the ISO is on the CIFS Share.
Only version 1.0 of the SMB and CIFS protocols are supported. The SMB and CIFS protocols are disabled by default in most operating systems.
-
Log in to the IPMI management console by pointing your web browser to the appropriate IP.
-
From the IBM Cloud console, go to Devices > Your server (device details) > Remote Mgmt. The username and password are also specified in the details.
-
Hover over Virtual media and click CD-ROM image
-
Complete the appropriate details and click Save and mount.
Not all users have permission to change the BIOS of the server. If necessary, you can open a support case and request to change the boot sequence to ‘IPMI Virtual Disk’ as the first boot option.
What next
After you make these changes, go back to the IPMI management console and go to Configuration > Remote session. Change attach mode to Attach. Then, restart the server and boot from the virtual media.
In some older IPMI consoles, you can skip this option.
Option 2: Mounting an ISO from your local computer
You can mount an ISO from your local computer by using the Java iKVM viewer (console). By using the Java iKVM viewer, you can mount an ISO while it is connected to the console. The speed of the installation progresses can vary depending on the upload speed and latency of your internet connection and the performance of Java.
If you don't have permission to change the server BIOS, open a support case to request a change to the boot sequence to ‘IPMI Virtual Disk’ as the first boot option.
Because ISO isn't mounted, support can change only the boot device priority.
-
Log in to the IPMI management console by pointing your web browser to the appropriate IP address.
-
Go to Devices > your server (device details) > Remote Mgmt. Specify the username and password.
-
Click Configuration > Remote session and change attach mode to attach. In some older IPMI consoles this option is not available so you can skip this step.
-
To return to the system information page, go to System > System information and click the console window icon. Accept all security warnings.
-
When the console connects, you see a login prompt.
-
Click Virtual media > Virtual storage.
-
Go to the CDROM&ISO tab and select the ISO File under Logical Drive Type
-
Click Open the image and select the ISO on your local computer.
-
Click Plug-in to insert the ISO into the virtual CD-ROM drive and click OK.
-
Restart the server and use the boot from the virtual CD-ROM drive option. You might need to use the virtual keyboard in the iKVM viewer to select a boot device.
Troubleshooting
- Not all users have default access to mount Virtual Media or open the KVM console. If a permission error occurs, try updating the firmware of only the IPMI (even if it says no update available). If issues persist, contact support.
- If an ISO is already mounted, an error message appears with the text A disk is mounted. You must unmount the existing disk and replace it with the new ISO. Two ISOs cannot be mounted at the same time.
- You might need to contact support to change the boot order in the BIOS.