Description

This article explains the procedure to format install a Juniper Networks EX4300-MP device using USB

Symptoms

If Junos OS on your device is damaged or corrupted in some way, that may cause the software not to load correctly or may cause various types of system inconsistencies. You may need to perform a recovery installation by using an emergency boot USB device if you have determined that the file system is corrupted or if the switch is unable to boot correctly via console.

Solution

Pre-requisite for the Format installation

  1.  Need console access to the devices.
  2.  Need to take configuration backup before the activity. You may use the following commands to display the entire set commands on console if the switch is still accessible and allows CLI to operate normally. Then paste the all the set commands into a text document for backup.
    • show configuration | no-more
    • show configuration | display set | no-more
  3. Advisable to use a USB up to 8 GB.
  4. Format the USB to FAT32.

Below are the steps for the format install:

Download the corresponding " USB " image under the " Install Media " section from Juniper's Support site. 

 

 

You can make a USB drive bootable by using the dd command in shell, or use GUI-based USB flash drive utilities such as Rufus, ISO Burner for Windows, Balena Etcher, among others.

When completed step 1, connect the USB to the switch.

Reboot the device via cli  <request system reboot> or perform a hard power cycle (unplug and re-plug power source).

At some point, you will need to interrupt the boot sequence as illustrated below. Note that the options that you need to choose are in bold letters for illustration purposes.


Press ESC while seeing the below.

Esc is pressed. Go to boot options.
Choose the Boot Manager option to continue the process. 
 
Continue                                             This selection will take
Boot Manager                                         you to Boot Manager.
Device Manager
Setup Utility

Choose the USB option to choose the file in USB  

/------------------------------------------------------------------------------\
|                                Boot Manager                                  |
\------------------------------------------------------------------------------/
 
Boot Option Menu
 
EFI HDD Device (TS32ZBTDE1500)
EFI USB Device (Unigen  PQS4000)
 
^ and v to change option, ENTER to select an option, ESC to exit

Now booting : EFI USB Device (Unigen  PQS4000)

Booting HDD00.1 (SFSA050GM3AA2TO-C-LB-24A-JUN)...

-------------------------------------------------------------------

Secure boot is enforced
Welcome to GRUB! 
Secure Grub2 Diskboot 
HGNU GRUB  version 2.02~juniper/rel_v4~

-------------------------------------------------------------------

Use the ^ and v keys to select which entry is highlighted.           

Press enter to boot the selected OS, `e' to edit the commands before booting or `c' for a command-line. ESC to return previous menu.
 
                     GNU GRUB  version 2.02~juniper/rel_v3~
 
/----------------------------------------------------------------------------\
| Reboot                                                                     |
| Install Juniper Linux Platform                            |
| Boot to host shell                                                         |
|                                                                            |
|                                                                            |
|                                                                            |
|                                                                            |
|                                                                            |
|                                                                            |
|                                                                            |
|                                                                            |
|                                                                            |
\----------------------------------------------------------------------------/
 
      Use the ^ and v keys to select which entry is highlighted.
      Press enter to boot the selected OS, `e' to edit the commands
      before booting or `c' for a command-line. ESC to return previous
      menu.
 

Loading Linux ...

Note: From this point onwards, you just need to wait until the process completes by itself. If the installation fails, contact Support to open a Technical Support case.

Modification History

2023-10-04 : Article Created
2024-01-30: Modified article adding more details to the process and made public.