Installing Photon OS on Dell Gateways
You can isntall Photon OS on Dell Edge Gateways 500X and 300X.
Dell Edge Gateways are devices that aggregate, secure, analyze, and relay data from diverse sensors and equipment at the edge of the IOT network.
For more information about Dell Gateways, see Dell Edge Gateways for IOT
1 - Installing Photon OS on Dell Edge Gateway 300X
You can install Photon OS 3.0 on Dell Gateway 300X. You can download Photon OS as an ISO file and install it.
Prerequisites
- Verify that you have the following resources:
- Dell Edge Gateway 300x.
- USB pen drive. Format the pen drive with FAT32 with at least 8 GB of space.
- Download the Photon OS ISO image from Bintray.
Installing the ISO Image for Photon OS
Mount the ISO image.
For example, run the following command on macOS:
hdiutil mount photon-3.0-ec12f2c.iso
Use a similar command in other operating systems.
Copy the contents of the ISO image to a writable directory so that you can edit files.
For example, run the following commands on macOS.
mkdir -p /tmp/photonUsb
cp /Volumes/PHOTON_<timestamp>/* /tmp/photonUsb/
```
where, `/Volumes/PHOTON_<timestamp>` is the directory where the ISO is mounted with the command in the step above.
Edit the grub.cfg
file to use the kickstart config file:
cd /tmp/photonUsb
Add the below parameters to the linux cmd line in boot/grub2/grub.cfg
linux /isolinux/vmlinuz root=/dev/ram0 loglevel=3 photon.media=UUID=$photondisk ks=cdrom:/isolinux/sample_ks.cfg console=ttyS0,115200n8
Edit the isolinux/sample_ks.cfg
as follows:
- Change
"disk": "/dev/sda”,
to "disk": "/dev/mmcblk0",
- Change
"echo \"Hello World\" > /etc/postinstall"
to "sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config"
Format the pen drive with FAT-32 and copy all the contents of /tmp/photonUsb
to the pen drive.
Create a UsbInvocationScript.txt
file in the root of the pen drive with below content:
usb_disable_secure_boot noreset;
usb_one_time_boot usb nolog;
1. Insert the pen drive in the Dell Gateway 300X and power on the gateway.
Photon OS installs automatically.
1. After the installation is complete, insert a network cable into the ethernet port and find the IP address corresponding to the MAC address of the Dell Gateway 3000X ethernet port through the DHCP Server or a network analyzer. The MAC address is available on the Dell Gateway 3000X.
1. You can then use `ssh` to access the gateway with the above IP address.
2 - Installing Photon OS on Dell Edge Gateway 500X
You can install Photon OS 3.0 on Dell Gateway 500X. You can download Photon OS as an ISO file and install it.
Prerequisites
- Verify that you have the following resources:
- Dell Edge Gateway 500x.
- USB pen drive. Format the pen drive with FAT32 with at least 8 GB of space.
- Download the Photon OS ISO image from https://github.com/vmware/photon/wiki/Downloading-Photon-OS.
Installing the ISO Image for Photon OS
- Format the pen drive with FAT-32 and copy the ISO image to it.
- Insert the pen drive in the Dell Gateway 500X and power it on.
- From the boot options, select the pen drive option.
Result: Photon OS is installed on the Dell Gateway 500X.