Nodegrid Boot from USB media
In some cases, it might be required to recover a Nodegrid unit. The Nodegrid platform offers different methods for this one is to create a USB boot media. This can be used to recover a unit if no or limited network connectivity and infrastructure is available.
This process will erase all settings and data on the Nodegrid unit.
Most Operating Systems offer built-in methods to create bootable USB devices or applications exist which assist in the process. To create a Nodegrid USB bootable device the following items are required:
WARNING: The USB mass media device will be completely wiped, and all data overwritten in the process of creating a USB bootable media.
MacBook-Pro:~ user$ hdiutil convert -format UDRW -o nodegrid-iso-file.img nodegrid-iso-file.iso
Reading boot
(Apple_ISO:0).......................................................................................................................................
Reading (Apple_Free : 1)...
Elapsed Time: 862.112ms
Speed: 430.3Mbytes/sec
Savings: 0.0%
created: /Users/user/nodegrid-iso-file.img.dmg
MacBook-Pro:~ user$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme. *500.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage Macintosh HD. 499.4 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Macintosh HD +499.1 GB disk1
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *8.0 GB disk2
1: DOS_FAT_32 UNTITLED 8.0 GB disk2s1
MacBook-Pro:~ user$ diskutil unmount disk2
Volume UNTITLED on disk2s1 unmounted
WARNING: Selecting the wrong disk may overwrite your MacOS or other system disks. Make sure to select an external disk
MacBook-Pro:~ user$ sudo dd if=./nodegrid-iso-file.img.dmg of=/dev/rdisk2 bs=1m
Password:
371+0 records in
371+0 records out
389021696 bytes transferred in 57.403191 secs (6777005 bytes/sec)
MacBook-Pro:~ user$ diskutil eject disk2
Disk disk2 ejected
For Windows, MacOS and Linux exist 3rd party applications which allow users to create bootable USB media. There are two options, ZPE recommends Etcher (Select Image, Select Drive and Flash! - Instructions below), or Rufus.
To boot from a USB device, the following items are required:
Boot from USB
NOTE: If Nodegrid doesn’t boot from the USB device but still from the HDD, then follow the steps in Appendix A
The USB boot device may need to be added to the list of bootable devices.
NOTE: Once you have completed the “Boot from USB media”, you may want to remove the USB media from the “Boot Option #2”