If you are using a third-party ISO software product, follow kb
Dell VxRail: How to Access an ISO File That is Attached to an iDRAC or BMC Console Via ESXi CLI to access an ISO file using the iDRAC.
ESXi CLI Steps:
1. Create an image with the iDRAC.
a. Start the Virtual Console.
b. Open the virtual image.
c. Click Create Image
d. Browse the Source Folder (The folder that includes the Drivers [.zip or VIB files]) and open it. Upload the file to this site then save the image file.
2. Mount an image/external device with iDRAC.
There are two ways to open the page for connecting Virtual Media.
A. Connect Virtual Media directly using iDRAC UI.
a. Map image files when we choose Map Removable Disk or map a USB device that is plugged into the iDRAC host server.
b. Connect Virtual Media directly using iDRAC UI.
d. Connect Virtual Media from the Virtual Console.
B. Connect Virtual Media using Virtual Console.
a. Map External device
b. After mapping the image file or external device, validate it from ESXi CLI.
c. The device should be mpx.vmhba33:C0:T0:L1.
d. The capacity of the device will be 0 kb before copying the file to the ESXi.
ls -lh |grep mpx or ls -lh |grep mpx.vmhba33:C0:T0:L1
e. External Device.
f. Image File.
3. Copy the file in the image to the ESXi.
a. Ensure that the correct source file path is used.
/bin/mcopy -i "/dev/disks/mpx.vmhba33:C0:T0:L1" ::/Driver/Intel-i40en_2.4.2.0-1OEM.700.1.0.15843807_20796817-package.zip /tmp/1.zip
[root@ESXi01:~] ls -lh /dev/disks |grep mpx.vmhba33:C0:T0:L1
-rw------- 1 root root 0 Mar 8 02:20 mpx.vmhba33:C0:T0:L1
lrwxrwxrwx 1 root root 20 Mar 8 02:20 vml.0000010000766d68626133333a303a31 -> mpx.vmhba33:C0:T0:L1
[root@ESXi01:~] /bin/mcopy -i "/dev/disks/mpx.vmhba33:C0:T0:L1" ::/1/test.txt /tmp/test.txt
[root@ESXi01:~] cat /tmp/test.txt
[root@ESXi01:~] ls -lh /dev/disks |grep mpx.vmhba33:C0:T0:L1
-rw------- 1 root root 113.0K Mar 8 02:21 mpx.vmhba33:C0:T0:L1
lrwxrwxrwx 1 root root 20 Mar 8 02:21 vml.0000010000766d68626133333a303a31 -> mpx.vmhba33:C0:T0:L1
b. After copying the file, you can install the driver with the command.
esxcli software vib install -d/-v <file>
1. Beginning with iDRAC9 firmware 6.00.00, eHTML5 will be the single option to access the virtual console and virtual media.
2. Read-only option is grayed out in ehtml5-based JAVA removable media. That means we cannot copy files from the guest operating system to the iDRAC host server if you mount the image file. You can mount an external device if you want to copy files from the guest operating system to the iDRAC host server.
3. If you mount the external device to ESXi, select a USB stick with a small capacity. It must be recognized as a mobile device in your laptop and format the USB stick as FAT32.
4. If you encounter the following error when creating an image using chrome: "To use this feature. A secure HTTPS connection is required. Ensure you have a secure HTTPS connection." Switch to Firefox or disable some security features of Chrome.
Reference:
https://williamlam.com/2017/01/copying-files-from-a-usb-fat32-or-ntfs-device-to-esxi.html
https://woshub.com/mount-usb-flash-drive-vmware-esxi/
