Rebuilding the FreeBSD Operating System

Rebuild the operating system in the event of a disaster.

Before you begin

  • Ensure that the destination client is same as source client while performing a disaster recovery.

  • Make sure to Install the Operating System on the system that you want to restore. Make sure to install the Operating System exactly as it existed prior to a hardware or software corruption problem.

  • The client computer must have a default install partition with the File System iDataAgent installed on it. Make sure to enable the Networking option. The TCP/IP, hostname, and domain name settings of the default install must match those of the system that you are restoring.

  • Create and mount a root file system on the system that you want to restore.

Procedure

  1. Start a standard installation media from the FreeBSD installation media.

  2. Create the original installation disk slice and a secondary emergency full system restore disk slice using the disk slice editor. Create two disk slices when the install reaches the disk slice editor.

    Example:

    ad0s1 and ad0s2
  3. Create the original install disk labels on the original slice and mount them.

    /mnt
  4. Install the FreeBSD operating system to the secondary slice using the default disk labels. The secondary slice will host a minimal FreeBSD install, the File System iDataAgent software and the /usr/src/sys data.

  5. Create the original installation partitions on the first slice (eg: ad0s1) and mount them under /mnt.

    Example:

    /dev/ad0s1a     /mnt
     /dev/ad0s1d     /mnt/var
     /dev/ad0s1e     /mnt/tmp
     /dev/ad0s1f     /mnt/usr
  6. Create default partitions on the second slice where FreeBSD will be installed (eg: ad0s2). The second slice can be partitioned with "auto defaults" in the disk label editor.

  7. Select a minimal distribution with no ports.

  8. Configure the network card with the original installed information (i.e., host, domain, gateway, name server, and IP address).

  9. Restart the computer to this secondary installation of FreeBSD (eg: on ad0s2)

  10. Run the command tostart a standard installation media.

    /stand/sysinstall
  11. Select configure, distribution, src, sys, and click OK.

  12. Install the FreeBSD File System iDataAgent to the secondary slice.

  13. Use the CommCell Console to restore the root file system out of place to /mnt.

Loading...