DL4300 Appliance
Verifying the bare metal restore from the command line
366
blkid [volume]
NOTE:
You can also use the
ls -l /dev/disk/by-uuid
command.
4. If performing a BMR on a brand new disk on the destination machine, comment out the swap partition in
fstab in your root volume.
5. Modifying fstab and mtab paths should occur on the restored volume, not the Live DVD. There is no need
to modify paths on the Live DVD. 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
mount --bind /sys /mnt/sys
6. Change root directory by typing the following command and then press Enter:
chroot /mnt /bin/bash
7. Obtain the old UUID of the partition or partitions from the mounted recovery points
/etc/fstab
file
and compare it to the UUIDs for the root (for Ubuntu and CentOS), boot (for CentOS and RHEL), or data
partitions by typing the following command and then press Enter:
less /mnt/etc/fstab
8. Obtain the old UUID of the partition or partitions from the mounted recovery points
/etc/mtab
file and
compare it to the UUIDs for the root (for Ubuntu and CentOS), boot (for CentOS and RHEL), and data
partitions by typing the following command and then press Enter:
less /mnt/etc/mtab
9. If using SLES 11, install GRUB by typing the following commands, pressing Enter after each:
grub-install --recheck /dev/sda
grub-install /dev/sda
10. If using Ubuntu, CentOS 6.x, RHEL 6.x, or Oracle Linux 6.x, install GRUB by typing the following command,
and then press Enter:
grub-install /dev/sda
11. If using SLES 12, CentOS 7, RHEL 7, or Oracle 7, install GRUB2 by typing the following command, and
then press Enter:
grub2-install /dev/sda
12. After you complete installation, run one of the following updates:
•
For SLES:
grub-install.unsupported --recheck /dev/sda
grub-install.unsupported /dev/sda
update-grub
NOTE:
If the
update-grub
command does not exist on your Linux distribution, omit this option.
•
For other distributions:
grub-install /dev/sda
update-grub
NOTE:
If the
update-grub
command does not exist on your Linux distribution, omit this option.
13. Remove the Live DVD disk from the CD-ROM or DVD drive and restart the Linux machine.
Parent topic
Содержание DL4300
Страница 1: ...DL4300 Appliance User Guide...