Install Free Junos From Usb For Mac

Michael Dale

So 12.1X47 just came out and no longer supports SRX devices with less than 2GB of ram.

Install Free Junos From Usb For Mac

Install Free Junos From Usb For Macbook

I have a couple of spare Juniper SRX240Hs (so first gen devices with 1GB of ram) and would like to test 12.1X47 in my lab, unfortunately I don't have any 2GB ram devices in my lab.

When trying to install 12.1X47 on the SRX240H you get the following error:

You can boot Junos OS Evolved from a USB device. Booting from the USB device reformats the disk and reinstalls the software without prompting you. After the installation is done, the device waits for the USB drive to be removed from the USB port and then reboots into the new version. Juniper Network Connect free download - Look@LAN Network Monitor, Network Inventory Advisor, Sony Connect (SonicStage), and many more programs. junos-install-media-net-arm-32-15.1X53-D58.3.tgz (c) Install Media - USB image: used for upgrade from external USB memory junos-install-media-usb-arm-32-15.1X53-D58.3.img; From loader prompt, you can only upgrade from tftp server using NET image. For USB install, you should use the USB boot menu as explained above.

  • Download USB Drivers for All Android Devices (Windows & Mac) October 29, 2020 by Dibyashree Sharma 2020 Updated D ownload USB Drivers for Any Android (Samsung/ Motorola /Sony/ LG/ HTC/ ASUS/ Huawei and others):.Here we are sharing all the latest Android USB Drivers for Windows and Mac.
  • This site contains user submitted content, comments and opinions and is for informational purposes only. Apple may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Apple can therefore provide no guarantee as to the.

Copying package ...
ERROR: Unsupported platform srx240h for 12.1X47 and higher
ERROR: validate-config: junos/+REQUIRE fails

So I decided to see if I could work around this and trick JunOS into installing on my 240H, I was successful :D

I wouldn't recommend ever using this in production, but I am sure it will work fine for the lab. The only difference between the 240H and the 240H2 is that the H2 has 2GB flash and 2GB ram, CPU is the same.

Free

Install Free Junos From Usb For Macbook Pro

Now you can actually upgrade the ram in the SRX240H to 2GB, it just uses standard DDR2 PC ram (you just need to find a 2GB stick, I used 800MHz but 667MHz ram should work too).

First Upgrading SRX ram

Take off the SRX case and swap out the ram, easy!

Old Ram:

New Ram:

As you can see the SRX now boots with 2GB of ram:

Second modifying the installer checks

Unfortunately this isn't enough for 12.1X47 to install, the installer checks the model number not the amount of ram.

Copying package ...
ERROR: Unsupported platform srx240h for 12.1X47 and higher
ERROR: validate-config: junos/+REQUIRE fails
WARNING: Current configuration not compatible with /altroot/cf/packages/install-tmp/junos-12.1X47-D10.4-domestic

Usb for mac and pc

So it is time to modify junos-srxsme-12.1X47-D10.4-domestic.tgz to work on 240H devices.

Usb

I did this on Mac OS but any *nix system will work, it isn't that hard.

  1. Go and download junos-srxsme-12.1X47-D10.4-domestic.tgz from Juniper.
  2. Extract junos-srxsme-12.1X47-D10.4-domestic.tgz
  3. Now all we need to do is edit 2 files.
    1. In the +INSTALL file: Comment out line: 889 -> Error 'Unsupported platform $product_model for 12.1X47 and higher'
    2. In the +REQUIRE file: Comment out line: 889 -> Error 'Unsupported platform $product_model for 12.1X47 and higher'
      To comment out just add a # at the start of the line.
  4. Now we need to tar this back into a tgz file.
    1. So from the command line cd into the unzipped folder
    2. Now tar gz everything: tar czf ../junos-srxsme-12.1X47-D10.4-domestic-fixed.tgz *
    3. Once done I changed junos-srxsme-12.1X47-D10.4-domestic-fixed.tgz back to junos-srxsme-12.1X47-D10.4-domestic.tgz, not sure if that matters.
  5. Now you can install like any normal firmware upgrade: root> request system software add http://xxx/junos/junos-srxsme-12.1X47-D10.4-domestic.tgz reboot

Done!

Now this process still leaves the SRX 240H with only 1GB of flash, but even with a dual root partition there is still 100M+ free space on the primary mount point.

That should be fine for now, you might need to use external logging or a usb flash drive in future though.

Install Mac Os From Usb

Install Free Junos From Usb For Mac

Usb For Mac And Pc

I am interested to know if this process works on 1GB ram devices, as these changes might allow JunOS X47 it install on them. Although I would recommend 2GB ram.

Install Free Junos From Usb For Mac Windows 10