# Full System Recovery of Image Level Client: Rebuilding the Operating System

Deprecated

- This product is deprecated in this release. This functionality is now available using block-level backup.

- New installations for this product are not supported in this release. Upgrade is supported to perform restores only. For instructions on transitioning from Image Level on UNIX to block-level backups, see Transitioning from Image Level on UNIX Agent to Block-Level Backups.
  See Deprecated Features, Products, and Platforms for information on deprecated products.

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 Linux 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.

For Image Level on Unix Agent:

- 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.

Image Level Agent cannot be used for disaster recovery of operating system volumes.

#### Procedure

1. Type the command to create partitions/slices on the disk.

       fdisk [-l] [-b $[SSZ]] [-u] $[device]

2. Type the command to create the root file system.

        mkfs [-V] [-t $[fstype]] [$[fs-options]] /dev/$[hda1] [$[size]]

   where <hda1> is the Drive Identifier of the partition where you want to create the root file system.

   For example:

        mkfs [-V] [-t $[linux]] [$[devfs]] /dev/$[hda1] [$[100]]

3. Type the command to mount the new root file system at /mnt.

        mount /dev/$[hda1] /mnt

   Where <hda1> is the Drive Identifier of the partition containing the root file system.

   For example:

        mount /dev/$[hda1] /mnt

4. If any other file systems existed on the root disk before the crash, type the command to recreate them as well.

        mkfs [-V] [-t $[fstype]] [$[fs-options]] /dev/$[hda2] [$[size]]

5. Create an empty directory called "proc" on /mnt .

       mkdir $[/mnt/proc]

6. If you have recreated any file systems other than root, type the command to mount these as well.

        mkdir /mnt/$[file_system_name]
       mount /dev/$[hda2]  /mnt/$[file_system_name]

   where <file_system_name> is the name of the file system and <hda2> is the Drive Identifier of the partition containing the file system.

7. If required, install either the lilo or grub bootloader (per the bootloader that was used in your environment) to the restored disk.

   For example:

        chroot /mnt
        grub-install /dev/$[had]

8. Exit and restart the computer.

×

Loading...