This post describes in detail (more or less) what changes you must apply to the JUNOS 12.2R2.4 install package to install it successful on FreeBSD to get the so called JUNOS Olive.
Before going into the details I really advise to read this post which will give some insights about Olive, what it is and why it is (still) available…
There are some things to modify in the installation package to make the installation work.
Most of the information is compiled from the below mentioned other blogs and the user comments:
http://blog.gns3.net/2009/10/olive-juniper/4/ http://www.packetmischief.ca/2011/03/24/installing-olive-10-4r1-under-vmware/ http://pieknywidok.blogspot.de/2012/04/creating-olive-with-junos-121-on.html
Many thanks to all contributors :-)
As said here I modified the jinstall package with the help of 7-Zip and notepad++ due to lack a powerful Linux machine. Of course all the changes can be done on the Linux command line but for my case finally 7-Zip and notepad++ worked faster and more comfortable.
The jinstall package is nested in some way and modifications must be done in different “layers” of the archive. Here are the steps to be done:
1. Open the jinstall-12.2R2.4-domestic-signed.tgz in 7-Zip 2. Double click jinstall-12.2R2.4-domestic-signed.tar to see the content of the tar archive 3. Delete the signature files

4. Modify the outermost +INSTALL file
To do this you can simply drag and drop it to your desktop or any working folder and open it with notepad++.
Search the file for string “re_name”. It will look like this:

Comment and modify the lines:

Now search the file for string “extractInner”. It will look like this:

Comment and modify the lines:

That’s it for the outermost +INSTALL file.
Be sure to save the file and then drag and drop it back to your 7-Zip archive window!
This is true for all changes that you apply to any of the files at any of the steps!
5. We want to dig deeper into the archive, so double-click “jinstall-12.2R2.4-domestic.tgz” and “jinstall-12.2R2.4-domestic.tar” to show its content. The full archive path is now “C:tmpjinstall-12.2R2.4-domestic-signed.tgzjinstall-12.2R2.4-domestic-signed.tarjinstall-12.2R2.4-domestic.tgzjinstall-12.2R2.4-domestic.tar”.
6. At this level we have a +INSTALL file and a file named +REQUIRE. Apply the changes for “re_name” to both files as described above.
7. There is another archive named pkgtools.tgz. Show its content with a double clicks and enter into the “bin” folder where you will see a file named “checkpic”. Delete this file from the folder. From your already installed FreeBSD virtual machine copy the file “/bin/true” to your working folder using sftp as described here. Rename the file to “checkpic” and copy it back to your archive at the place where you deleted the original checkpic a minute earlier.
Before:

After replacing the file navigate up in the archive and 7-Zip will ask if you want to update the archive. Answer “yes” so that your changed file will be kept like you want it. And a second time to re-create the “tgz” archive.

8. Now back at the below view we have an innermost jbundle-12.2R2.4-domestic.tgz file. I’m not 100% sure if it is really needed to apply the changes to it but since we have a lot of practice know it should be easy ;-)
So simply repeat step 6 for the +INSTALL and +REQUIRE file within the innermost archive.

9. Now that all changes are done navigate upwards through all archives until you reach the beginning again. Remember to select “yes” when you are asked if you want to update the archive!
You should be back to see your final archive then:

Now you can proceed and transfer the changed jinstall-12.2R2.4-domestic-signed.tgz to your virtual machine for installation as described here.