Feb 152018
 

Sometimes you just need that old version. So I installed it. FreeBSD 9.3

Sorry, but this article is light. I stopped taking notes after a bit….

We created a VM via VMware, put FreeBSD 11.1 on it, over ZFS. Then install iocage.

This is what it looked like:

$ sudo iocage fetch
Setting up zpool [zroot] for iocage usage
 If you wish to change please use "iocage activate"
********************************************************************************
fdescfs(5) is not mounted, performance may suffer. Please run:
mount -t fdescfs null /dev/fd
You can also permanently mount it in /etc/fstab with the following entry:
fdescfs /dev/fd  fdescfs  rw  0  0
********************************************************************************

Creating zroot/iocage
Creating zroot/iocage/download
Creating zroot/iocage/images
Creating zroot/iocage/jails
Creating zroot/iocage/log
Creating zroot/iocage/releases
Creating zroot/iocage/templates
[0] 9.3-RELEASE (EOL)
[1] 10.1-RELEASE (EOL)
[2] 10.2-RELEASE (EOL)
[3] 10.3-RELEASE
[4] 10.4-RELEASE
[5] 11.0-RELEASE (EOL)
[6] 11.1-RELEASE

Type the number of the desired RELEASE
Press [Enter] to fetch the default selection: (11.1-RELEASE)
Type EXIT to quit: 9.3-RELEASE
Fetching: 9.3-RELEASE

Downloading : MANIFEST [####################] 100% 
Downloading : base.txz [####################] 100%  5.32Mbit/s
Downloading : lib32.txz [####################] 100%  5.01Mbit/s
Downloading : doc.txz [####################] 100%  4.86Mbit/s
Downloading : src.txz [####################] 100%  7.03Mbit/s
 7.03Mbit/sExtracting: base.txz... 
Extracting: lib32.txz... 
Extracting: doc.txz... 
Extracting: src.txz... 

* Updating 9.3-RELEASE to the latest patch level... 
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching public key from update4.freebsd.org... done.
Fetching metadata signature for 9.3-RELEASE from update4.freebsd.org... done.
Fetching metadata index... done.
Fetching 2 metadata files... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 790 patches.....10....20....30....40....50....60....70....80....90....100....110....120....130....140....150....160....170....180....190....200....210....220....230....240....250....260....270....280....290....300....310....320....330....340....350....360....370....380....390....400....410....420....430....440....450....460....470....480....490....500....510....520....530....540....550....560....570....580....590....600....610....620....630....640....650....660....670....680....690....700....710....720....730....740....750....760....770....780....790 done.
Applying patches... done.
Fetching 136 files... done.

The following files will be removed as part of updating to 9.3-RELEASE-p53:
/usr/share/doc/ntp/driver1.html
/usr/share/doc/ntp/driver10.html
/usr/share/doc/ntp/driver11.html
....
/usr/share/zoneinfo/Asia/Kashgar
/usr/share/zoneinfo/Asia/Rangoon

The following files will be added as part of updating to 9.3-RELEASE-p53:
/usr/include/stdalign.h
/usr/include/stdatomic.h
/usr/include/stdnoreturn.h
/usr/share/doc/ntp/access.html
/usr/share/doc/ntp/authentic.html
....
/usr/share/zoneinfo/Europe/Kirov
/usr/share/zoneinfo/Europe/Ulyanovsk
/usr/share/zoneinfo/Pacific/Bougainville

The following files will be updated as part of updating to 9.3-RELEASE-p53:
/etc/mtree/BSD.usr.dist
/etc/ntp.conf
/lib/libbsdxml.so.4
/lib/libc.so.7
/lib/libcrypt.so.5
....
/var/db/etcupdate/current/etc/ntp.conf
/var/db/etcupdate/log
/var/db/mergemaster.mtree

WARNING: FreeBSD 9.3-RELEASE HAS PASSED ITS END-OF-LIFE DATE.
Any security issues discovered after Sun Jan  1 00:00:00 UTC 2017
will not have been corrected.
src component not installed, skipped
Installing updates... done.
$ 

What did it just install? This:

$ zfs list -r zroot/iocage
NAME                                     USED  AVAIL  REFER  MOUNTPOINT
zroot/iocage                             825M  30.2G    25K  /iocage
zroot/iocage/download                    180M  30.2G    23K  /iocage/download
zroot/iocage/download/9.3-RELEASE        180M  30.2G   180M  /iocage/download/9.3-RELEASE
zroot/iocage/images                       23K  30.2G    23K  /iocage/images
zroot/iocage/jails                        23K  30.2G    23K  /iocage/jails
zroot/iocage/log                          23K  30.2G    23K  /iocage/log
zroot/iocage/releases                    645M  30.2G    23K  /iocage/releases
zroot/iocage/releases/9.3-RELEASE        645M  30.2G    23K  /iocage/releases/9.3-RELEASE
zroot/iocage/releases/9.3-RELEASE/root   645M  30.2G   645M  /iocage/releases/9.3-RELEASE/root
zroot/iocage/templates                    23K  30.2G    23K  /iocage/templates

Creating the jail

In this case, I wanted the jail to have the same IP address as the host:

$ sudo iocage create -u foo ip4_addr="10.11.204.133" --release=9.3-RELEASE
********************************************************************************
fdescfs(5) is not mounted, performance may suffer. Please run:
mount -t fdescfs null /dev/fd
You can also permanently mount it in /etc/fstab with the following entry:
fdescfs /dev/fd  fdescfs  rw  0  0
********************************************************************************

foo successfully created!

And that’s where I stopped taking notes, but it’s up and running now.

Website Pin Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google StumbleUpon Premium Responsive