Junos OS

 View Only

IMPORTANT MODERATION NOTICE

This community is currently under full moderation, meaning  all posts will be reviewed before appearing in the community. Please expect a brief delay—there is no need to post multiple times. If your post is rejected, you'll receive an email outlining the reason(s). We've implemented full moderation to control spam. Thank you for your patience and participation.



  • 1.  Creating bootable USB drive of Junos Install Media with Linux?

    Posted 08-09-2022 06:11
    Hi. I would like to ask. I experienced to install JUNOS using USB install media. Then I use tool by using Win32DiskImager.exe and PHYSDISKWRITE.EXE on Windows. It's worked well. And some of my colleagues are using Rufus to do. They are described just like as following link. 

    https://supportportal.juniper.net/s/article/Junos-How-to-copy-Junos-from-a-computer-to-bootable-media?language=en_US

    Then now I'm using Fedora Linux. Do yo have any article to how to create the same way?


  • 2.  RE: Creating bootable USB drive of Junos Install Media with Linux?

    Posted 08-09-2022 06:14

    Hi,

    It's easy on Linux. Just format USB partition to FAT32 with mkfs command and copy image to it.




  • 3.  RE: Creating bootable USB drive of Junos Install Media with Linux?

    Posted 08-09-2022 20:30
    Hi Gabriel. Can you tell me more on you said "copy image on it"? Did you mean to extract the .img file and copy to USB?


  • 4.  RE: Creating bootable USB drive of Junos Install Media with Linux?

    Posted 08-10-2022 06:20
    If you download a file like this one for MX960:

    junos-install-media-usb-mx-x86-64-22.2R1.9.img.gz

    You have to decompress it with:

    gzip -d junos-install-media-usb-mx-x86-64-22.2R1.9.img.gz

    Now you should have the file:

    junos-install-media-usb-mx-x86-64-22.2R1.9.img

    (without .gz in the filename)

    Then you can prep your USB drive:

    dd if=junos-install-media-usb-mx-x86-64-22.2R1.9.img of=/dev/usbdev1 bs=10M

    And wait for it to complete





  • 5.  RE: Creating bootable USB drive of Junos Install Media with Linux?

    Posted 08-22-2022 23:55
    Thanks. I think I am getting familiar with the dd command.

    dd if=junos-install-media-usb-mx-x86-64-22.2R1.9.img of=/dev/usbdev1 bs=10M​

    But can you tell me why it should use parameter of "bs=10M"? What is up with the default value?


  • 6.  RE: Creating bootable USB drive of Junos Install Media with Linux?

    Posted 27 days ago
    "bs=10M" makes the write action faster. I believe it limits the amount of acknowledgements required between kernel and hardware device and saves you from waiting.


  • 7.  RE: Creating bootable USB drive of Junos Install Media with Linux?

    Posted 24 days ago
    You can also use Popsicle. Thats what i use all the time. 

    https://appimage.github.io/Popsicle/



    ------------------------------
    Jimmy Walker
    ------------------------------