Nodegrid Boot from USB media

Nodegrid Boot from USB media

Nodegrid Boot from USB media  




Overview  

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.



Create USB boot media  

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:

  1. Current firmware version file (i.e.: NodeGrid_Platform_v3.2.45_20180710.iso) 
  2. USB mass storage device with a minimum of 1GB storage for firmware up to 4.x and 2GB for firmware 5.x

WARNING: The USB mass media device will be completely wiped, and all data overwritten in the process of creating a USB bootable media.




Create USB Boot media on Mac OS  

  1. Convert the Nodegrid .iso file to .img format 


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



  1. Insert the USB drive to the Mac
  2. Identify the entered USB device 


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



  1. Unmount the USB device, so that it can be flashed with the .img file 


MacBook-Pro:~ user$ diskutil unmount disk2

Volume UNTITLED on disk2s1 unmounted



  1. Flash the USB device with the .img file. This will overwrite all existing data on the device. 

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)



  1. Eject the USB device after it was successfully flashed 


MacBook-Pro:~ user$ diskutil eject disk2

Disk disk2 ejected





Create USB Boot media with 3rd party applications 

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 create a bootable USB device using Etcher application, follow the instructions on the developer's web pages:



Create USB Boot media with Etcher

Step 1

A) Flash from File:


B) Select Image:


Step 2 

A) Select Drive:


B) Choose the USB device:

Step 3 

A) Flash!:


B) Flashing: 


C) Validating: 


D) Flash Completed:


Boot from USB boot media 

To boot from a USB device, the following items are required: 

  1. USB boot media with a current firmware version
  2. Console connection through either a console port connection or the KVM interface on the Nodegrid 


Boot from USB

  1. Nodegrid appliance needs to be turned off.
  2. Insert the USB flash in NodeGrid (any USB port).
  3. Power the unit on.
  4. During the boot process press ESC or DEL to enter BIOS (if using a keyboard directly connected to a Nodegrid appliance you may have to use the F2 key) Navigate to the last tab (Save & Exit) then scroll down to the USB flash option under 'Boot Override'.
    1. Note: Bold systems require connecting through VGA + USB keyboard to enter BIOS using F2.
NOTE: The BIOS on the Hive SR is not accessible. To boot from USB media just insert the USB media and restart the Hive SR. It will automatically boot from the USB media.
















  1. Press Enter.
  2. Nodegrid will boot from USB device.

NOTE: If Nodegrid doesn’t boot from the USB device but still from the HDD, then follow the steps in Appendix A

  1. The Nodegrid platform will Ask to Accept the EULA type accept to continue to install the software in the internal SSD.
  2. After the installation is complete it will ask to remove the USB device. Remove the USB device at this point and press ENTER to reboot.
  3. The Nodegrid will be in a factory default state at this point. Follow the normal configuration process to finalise the installation of the unit. 



APPENDIX A


The USB boot device may need to be added to the list of bootable devices.

  1. In the BIOS go to the Boot menu and choose the “Boot Option #2”


  1. Add the USB device.



  1. Save Changes and Reset.


  1. Nodegrid will reboot and follow the steps in “Boot from USB” again from where you press ESC to enter the BIOS.

NOTE: Once you have completed the “Boot from USB media”, you may want to remove the USB media from the “Boot Option #2”



    • Related Articles

    • USB Passthrouh Feature - Nodegrid

      USB Passthrouh This feature requires the latest USB controller, currently available on new NSR USB modules "year 2021 and later. It is also available on newer models of BSR and GSR. New models for BSR and GSR that support 5G with 5 Antenna holes will ...
    • Formating to use the USB thumb drive

      Introduction: This article show how to enable and use the USB drive in the ZPE Nodegrid. The Nodegrid recognizes EXT4 file system. Other file system may not be recognizable in the Nodegrid. Having the USB thumb drive in the Nodegrid allows extended ...
    • HowTo: Install Nodegrid via PXE Boot

      PXE Boot Setup for ZPE Nodegrid Console Servers Overview This guide describes how to set up PXE (Pre-boot eXecution Environment) network booting for ZPE Nodegrid Console Servers. Both Legacy BIOS and UEFI boot modes are supported. PXE boot allows ...
    • Deleting extra USB port for quad Uart

      Introduction: When using the USB connections for serial access, with a quad UART only a few ports are used. It is a good idea to remove extra ports defined so that extra licenses can be freed. For the quad UART 4 licenses are used when it is ...
    • How to Connect and Configure a USB Serial device on the NodeGrid ?

      Overview: The Nodegrid OS supports the serial connections via USB as well. In particular, it supports the connections USB - USB Micro, very used on some vendor switches (e.g. Cisco), as alternatives to the RJ45 console ports. For the testing, we used ...