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
- Start a standard installation media from the FreeBSD installation media.
- 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
- Create the original install disk labels on the original slice and mount them.
/mnt
- 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.
- 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 - 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.
- Select a minimal distribution with no ports.
- Configure the network card with the original installed information (i.e., host, domain, gateway, name server, and IP address).
- Restart the computer to this secondary installation of FreeBSD (eg: on ad0s2)
- Run the command tostart a standard installation media.
/stand/sysinstall
- Select configure, distribution, src, sys, and click OK.
- Install the FreeBSD File System iDataAgent to the secondary slice.
- Use the CommCell Console to restore the root file system out of place to /mnt.
Last modified: 1/9/2018 7:18:16 PM