| title | Installing Photon OS on Dell Edge Gateway 300X |
|---|---|
| weight | 1 |
You can install Photon OS 3.0 on Dell Gateway 300X. You can download Photon OS as an ISO file and install it.
- 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 Download web page.
-
Mount the ISO image.
For example, run the following command on macOS:
hdiutil mount photon-3.0-ec12f2c.isoUse 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.cfgfile to use the kickstart config file:cd /tmp/photonUsbAdd the below parameters to the linux cmd line in
boot/grub2/grub.cfglinux /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.cfgas 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"
- Change
-
Format the pen drive with FAT-32 and copy all the contents of
/tmp/photonUsbto the pen drive. -
Create a
UsbInvocationScript.txtfile 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.