Succeed:
1) Window XP(Pentium4 2.6GHz) + VirtualBox 2.0.6 + Jinstall-9.0R1.10-domestic-signed.tgz
2) Ubuntu 8.04(Xeon 2.0GHz) + VirtualBox 2.0.6 + Jinstall-9.0R1.10-domestic-signed.tgz
Junos, the commercial operating system of Juniper router is based on FreeBSD operating system.
It means that Junos can be installed in public FreeBSD box.
The important thing is the version of Junos has different FreeBSD version. Before installation of FreeBSD, we have to find the matching of Junos and FreeBSD versions.
I will install Jinstall-9.0R1.10-domestic-signed.tgz in my FreeBSD 6.1 box.
1. Installation of FreeBSD 6.1
In this phase, the most important part is the partitioning of hard disk.
,because each partion is used in installation phase and the partion layout may be hard-coded.
2. Hacking the jinstall source
(e.x. assume file name is jinstall-9.0R1.10-domestic-signed.tgz)
3. Update environment
4. Install Jinstall
4.1 fix memory disk fail (In Linux Host & VirtualBox 2.0.4)
(error in booting log like
mfs: available = -12334)
VirtualBox 2.0.4 in Linux version has a bug for physical memory.
The bug is that the physical memory of guest OS does not change, even if you change it.
This can be seen by "sysctl -n hw.physmem" commond in FreeBSD.
So Junos has less memory for installation and halt.
The fix is explicitly say the size of physical memory like below:
This value is for 256M physical memory.
5. Setting serial connection
The preinstallation can be seen by Serial port not by terminal, so I have to connect serial port.
6. reboot system
1) Window XP(Pentium4 2.6GHz) + VirtualBox 2.0.6 + Jinstall-9.0R1.10-domestic-signed.tgz
2) Ubuntu 8.04(Xeon 2.0GHz) + VirtualBox 2.0.6 + Jinstall-9.0R1.10-domestic-signed.tgz
Junos, the commercial operating system of Juniper router is based on FreeBSD operating system.
It means that Junos can be installed in public FreeBSD box.
The important thing is the version of Junos has different FreeBSD version. Before installation of FreeBSD, we have to find the matching of Junos and FreeBSD versions.
|
|
|
|
|
|
|
|
|
|
I will install Jinstall-9.0R1.10-domestic-signed.tgz in my FreeBSD 6.1 box.
1. Installation of FreeBSD 6.1
In this phase, the most important part is the partitioning of hard disk.
ad0s1a / 500M
ad0s1b swap 1G
ad0s1e /config 12M
ad0s1f /var large (like, the rest of the disk)
,because each partion is used in installation phase and the partion layout may be hard-coded.
2. Hacking the jinstall source
(e.x. assume file name is jinstall-9.0R1.10-domestic-signed.tgz)
3. Update environment
4. Install Jinstall
4.1 fix memory disk fail (In Linux Host & VirtualBox 2.0.4)
(error in booting log like
mfs: available = -12334)
VirtualBox 2.0.4 in Linux version has a bug for physical memory.
The bug is that the physical memory of guest OS does not change, even if you change it.
This can be seen by "sysctl -n hw.physmem" commond in FreeBSD.
So Junos has less memory for installation and halt.
The fix is explicitly say the size of physical memory like below:
This value is for 256M physical memory.
5. Setting serial connection
The preinstallation can be seen by Serial port not by terminal, so I have to connect serial port.
6. reboot system