User:CFeyecare/sandbox/4

From Wikibooks, open books for an open world
Jump to: navigation, search

[edit]

Sandbox 1   Sandbox 2   Sandbox 3   Sandbox 4   Sandbox 5  



 

Customize Installation[edit]

You may want to customize your installation if:

  • you want to install a new set of packages during the OpenBSD installation.
  • if you want to report an installation problem.
  • If you want to change the default configuration files.

Inside the iso[edit]

Mount the iso and cd into it. See the Guide to Unix Explanation section on how to mount an iso file. Then the <your OpenBSD release>, and then <your processor> directory.

cd /<where the mounted iso is located>/<your OpenBSD release>/<your processor>

For me it is:

cd /Volumes/OpenBSD:i386_4.4_Install_CD/4.4/i386

(My auto-mount system gives the files that it mounts long names).

Layout[edit]

For OpenBSD 4.4 i386 it is:

4.4
   i386
      Template:Fn+
      boot.catalog
      Template:Fn+
      Template:Fn+
      Template:Fn+
      cdboot
      cdbr
      Template:Fn+
      Template:Fn+
      Template:Fn+
      Template:Fn+
      Template:Fn+
      Template:Fn+
      Template:Fn+
      Template:Fn+
      Template:Fn+
      Template:Fn+
      Template:Fn+
   TRANS.TBL
etc
TRANS.TBL
   boot.conf
   TRANS.TBL

Explantion[edit]

File or Exec Description
Template:Fnb+ "RAM Disk" kernel.
Template:Fnb+ The OpenBSD kernel.
Template:Fnb+ Multi-processor (SMP) kernel.
Template:Fnb+ Contains the base OpenBSD system.
Template:Fnb+ Contains all the files in /etc.
Template:Fnb+ Contains the compiler and its tools, headers and libraries.
Template:Fnb+ Contains the man pages.
Template:Fnb+ Contains misc info, setup documentation.
Template:Fnb+ Contains games for OpenBSD.
Template:Fnb+ Contains the base files for X11.
Template:Fnb+ Contains the /etc/X11 and /etc/fonts configuration files.
Template:Fnb+ Contains X11's font server and fonts.
Template:Fnb+ Contains X11's X servers.
Template:Fnb+ Contains manpages, locale settings, includes, and others for X.

Customize[edit]

Cd into the iso as directed before. Now change the file permissions. If you want another package installed as an option. Take the package and rename it (do not put a period):

site<your version>-<the package name>.tgz

For abiword on OpenBSD 4.4, it is:

site44-abiword.tgz

You will also have to find its dependencies and include them as well.

install.site scripts[edit]