User guide
186 | Protecting Workstations and Servers
13. Obtain the UUID of mount /etc/mtab and compare it to the UUIDs for the root
(for Ubuntu and CentOS) and boot (for CentOS and RHEL) volumes by typing the
following command and then press Enter:
less /mnt/etc/mtab
14.
If performing a BMR on a brand new disk on the destination machine, comment
out the swap partition in fstab in your root volume.
15. Modifying fstab and mtab paths should occur on the restored volume, not the Live
CD. There is no need to modify paths on the Live CD. Prepare for the installation of
Grand Unified Bootloader (GRUB) by typing the following commands. Following
each command, press Enter:
mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
16. Locate the grub.conf file in your mounted volume, and open it using a text
editor.
The location of grub.conf differs depending on your OS version and the version of
GRUB installed. The most likely locations include
<root path>/boot/grub/
grub.conf
, <root path>/boot/grub/grub.cfg or <root path>/etc/grub.conf.
17. In grub.conf, locate all lines containing “root=<root device uuid>” and replace it
with the correct UUID for the root volume. If not, update each instance so that
root=<root device uuid>. You can also use the root device path. As in the
examples above, if the root device path is /dev/sda2, then change all instances to
root=/dev/sda2.
18. Remove all “rd_LVM_LV=” entries in the grub.conf file, save the file, and exit the
text editor.
19. Change root directory by typing the following command and then press Enter:
chroot /mnt /bin/bash
20.
Install GRUB by typing the following command and then press Enter:
grub-install/dev/sda
NOTE: If installing on SUSE, when installing GRUB, no parameters are required. For
example, the command to install GRUB on SUSE is simply grub-install and then press
Enter.
21. Remove the Live DVD disk from the CD-ROM or DVD drive and restart the Linux
machine.
Viewing Events and Alerts
Complete the steps in this procedure to view events and alerts for a machine.
To view events and alerts for a machine
1. Do one of the following: