Junos OS

Expand all | Collapse all

[QFX] create bootable USB

Jump to Best Answer
  • 1.  [QFX] create bootable USB

     
    Posted 07-01-2020 03:49

    Hello,

    I am trying to create four Emergency boot USBs, each with one image. 

    jinstall-qfx-5-14.1X53-D46.7-domestic-signed.tgz
    jinstall-host-qfx-5-18.1R3-S6.1-signed.tgz
    jinstall-ex-4300-14.1X53-D46.7-domestic-signed.tgz
    jinstall-ex-4300-18.1R3-S6.1-signed.tgz

     

    These USBs will be used as recovery options in case of failures during our planned upgrades. so copying the images to them is not enough, they need to be bootable. 

     

    Eventhough I fould below articles and read many post still can't get it 😞 

    The steps are simple but what is missing that in both below threads they are talking about copying .img file to the USB stick but in my case they are .tgz and even when I tried to uzip them using gunzip command, still I didn't get any .img files

    I believe it should be simple but my weak linux knowledge is not helping here, can you advice please. 

     

     

    --------- Articles I refered to 

    [QFX] How to perform format installation on QFX5K via USB
    https://kb.juniper.net/InfoCenter/index?page=content&id=KB34749&actp=METADATA

     

    Creating an Emergency Boot Device for QFX Series Switches
    https://www.juniper.net/documentation/en_US/junos/topics/task/operational/junos-software-emergency-boot-disk-qfx-series-creating.html



  • 2.  RE: [QFX] create bootable USB
    Best Answer

     
    Posted 07-01-2020 04:00

    Hi Alex,

     

    As the KB links you provided already mention, youi need to download ther Install Media files which are of .img format from the Support site. I see you are downloading Install Package files.

     

    Hope this helps.

     

    Thanks and Regards,

    Pradeep Kumar M



  • 3.  RE: [QFX] create bootable USB

     
    Posted 07-01-2020 04:45

    Yeah I noticed that, but couldn't find these media files any where, I only found the .tgz ones. 

     

    update. I checked again and found them in the section below "Install Media" .
    Thanks for the remark. 



  • 4.  RE: [QFX] create bootable USB

     
    Posted 07-01-2020 04:55

    QFX5k images are at https://support.juniper.net/support/downloads/?p=qfx5100 in the "install media" section (further down on the page)

    I also can't find the EX4300 images, so I guess you need to ask support / JTAC formally for these.



  • 5.  RE: [QFX] create bootable USB

     
    Posted 07-01-2020 05:14

    Yes you are right, there are none for EX4300. 

    I noticed that if in windows I unzipped the .tgz files few times, I get the .img file. 
    do you think is it ok to use these .img file which I extracted from .tgz file I have?



  • 6.  RE: [QFX] create bootable USB

     
    Posted 07-01-2020 05:21

    @Alex_Sk wrote:

    Yes you are right, there are none for EX4300. 

    I noticed that if in windows I unzipped the .tgz files few times, I get the .img file. 
    do you think is it ok to use these .img file which I extracted from .tgz file I have?


    Seems this methos is working only on QFX ones, extracting unzipping 4300 .tgz files didn't help, wired.
    I will refer to Jtac for that.



  • 7.  RE: [QFX] create bootable USB

     
    Posted 07-01-2020 07:21

    Got an answer from Juniper: 

    "

    On the EX4300 side, you shouldn’t need a media file. It’s just a matter of downloading the correct file and copying it to the USB and then -

     

    https://www.juniper.net/documentation/en_US/junos/topics/topic-map/install-software-on-ex.html#id-booting-an-ex-series-switch-using-a-software-package-stored-on-a-usb-flash-drive

     

    The 14.1X53 is to old, but you can create a USB image from an existing EX4300 running that image. It’s the snapshot method –

     

    https://www.juniper.net/documentation/en_US/junos/topics/topic-map/backing-up-install-using-snapshot.html#id-creating-a-snapshot-and-using-it-to-boot-an-ex-series-switch

     

    Because the process is slightly different on the QFX, you get a media file. But again, as the code is quite old, you would need to use the same method as above.