Installing JUNOS 10.1 on GNS3.
Softwares and images used :
1. GNS3 0.8.3.1
2. Qemu (VM)
3. FreeBSD 4.11
4. CD ISO image burner - Deep Burner
5. JunOS 10.1
The above softwares and images must be downloaded and kept ready before the installation of JUNOS on GNS3.
The video attached at the end can prove to be extremely beneficial to understand the following steps.
Step 1
Download all the above files.
Step 2
Extract Qemu in a folder.
Step 3
Open cmd and navigate to extracted folder.
Step 4
Create a HDD image to install JunOS of 4GB
qemu-img.exe create j.img -f qcow2 4GStep 5(NOTE : Before executing the above command in CMD PROMPT you must be in the directory where the QEMU folder is placed. NOT INSIDE THE QEMU FOLDER ITSELF)
Step 5
Start the Qemu with Free BSD CD and Created HDD
qemu.exe -L . -m 256 -hda j.img -boot d -localtime -cdrom ..\4.11.4.11-RELEASE-i386-miniinst.iso(NOTE : Before executing the above command in CMD PROMPT you must be in the directory where the QEMU folder is placed. NOT INSIDE THE QEMU FOLDER ITSELF.)
Step 6
Install Free BSD in Qemu
Steps
Skip Kernel configuration
Choose standard installation
With fdisk, press A to allocate entire disk for bsd
Select: install a standard MBR
Create partition (with C)
512M for /
1024M for swap partition
128M for /config
and the rest for /var
Choose installation type: user, and select No for FreeBSD ports
X to Exit the menu and install from CD/DVD
Wait until it's done
Yes for chance to set any last options
Type root password
Select 'X' to Exit the installation, it will reboot
while it's rebooting, exit from Qemu by pressing Ctrl-Alt-2,
then type: q
Step 7
Make JunOS ready to transfer in guest OS
Create a CD Image (ISO) of junOS (using deepburner or any of it kind) and save in Qemu Folder with name like j8.iso
Step 8
Make JunOS Ready for Installation
qemu -L . -m 512 -boot c -hda j.img -cdrom j8.iso(NOTE : Before executing the above command in CMD PROMPT you must be in the directory where the QEMU folder is placed. NOT INSIDE THE QEMU FOLDER ITSELF.)
We need to untar the signed jinstall file first:
#mount /cdrom
#cd /var/tmp
#mkdir junos
#cd junos
#tar zxvf /cdrom/jinstall-10.1R1.8-domestic-olive.tgz
Then untar the unsigned image:
#mkdir jinst
#cd jinst
#tar zxvf ../jinstall10.1R1.8-domestic.tgz
Extract the pkgtools.tgz file and replace the checkpic binary inside with /usr/bin/true :
#mkdir pkgtools
#cd pkgtools
#tar zxvf ../pkgtools.tgz
#cd bin
#cp /usr/bin/true ./checkpic
#cd ..
Create tar for pkgtools then remove the directory:
#tar zcvf ../pkgtools.tgz *
#cd ..
#rm -rf pkgtools
Create tar for the new jinstall package with modified checkpic
#tar zcfv /var/tmp/j.tgz *
Then install the new jinstall with bsd pkg_add tool:
#pkg_add -f /var/tmp/j.tgz
It will ask to reboot to continue the installation.
One installation is finished and prompt is returned press Crtl+Alt+2 then type “q” press enter
Step 9
Install JunOS in Guest VM
“qemu -L . -m 512 -hda j.img -serial telnet:127.0.0.1:1001,server,nowait,nodelay –localtime”
Open new cmd and do telnet to 127.0.0.1 to enjoy the watching installtion process of JunOS(NOTE : Before executing the above command in CMD PROMPT you must be in the directory where the QEMU folder is placed. NOT INSIDE THE QEMU FOLDER ITSELF.)
Once Prompt appear type cli to start junOS configuration
This Is All About Networking ...: Juniper Installation >>>>> Download Now
ReplyDelete>>>>> Download Full
This Is All About Networking ...: Juniper Installation >>>>> Download LINK
>>>>> Download Now
This Is All About Networking ...: Juniper Installation >>>>> Download Full
>>>>> Download LINK