beautypg.com

P. 154) – Acronis Backup for Windows Server Essentials - User Guide User Manual

Page 154

background image

154

Copyright © Acronis International GmbH, 2002-2014

Such system cannot boot because its kernel tries to mount the root file system at the LVM
volume.
Solution: Change the loader configuration and /etc/fstab so that the LVM is not used and
reactivate the boot loader.

5.4.1 How to reactivate GRUB and change its configuration

Generally, you should refer to the boot loader manual pages for the appropriate procedure. There is
also the corresponding Knowledge Base article on the Acronis website.

The following is an example of how to reactivate GRUB in case the system disk (volume) is recovered
to identical hardware.

1. Start Linux or boot from the bootable media, and then press CTRL+ALT+F2.
2. Mount the system you are recovering:

mkdir /mnt/system/
mount -t ext3 /dev/sda2 /mnt/system/ # root partition
mount -t ext3 /dev/sda1 /mnt/system/boot/ # boot partition

3. Mount the proc and dev file systems to the system you are recovering:

mount -t proc none /mnt/system/proc/
mount -o bind /dev/ /mnt/system/dev/

4. Save a copy of the GRUB menu file, by running one of the following commands:

cp /mnt/system/boot/grub/menu.lst /mnt/system/boot/grub/menu.lst.backup

or

cp /mnt/system/boot/grub/grub.conf /mnt/system/boot/grub/grub.conf.backup

5. Edit the /mnt/system/boot/grub/menu.lst file (for Debian, Ubuntu, and SUSE Linux

distributions) or the /mnt/system/boot/grub/grub.conf file (for Fedora and Red Hat Enterprise
Linux distributions)—for example, as follows:

vi /mnt/system/boot/grub/menu.lst

6. In the menu.lst file (respectively grub.conf), find the menu item that corresponds to the system

you are recovering. This menu items have the following form:

title Red Hat Enterprise Linux Server (2.6.24.4)
root (hd0,0)
kernel /vmlinuz-2.6.24.4 ro root=/dev/sda2 rhgb quiet
initrd /initrd-2.6.24.4.img

The lines starting with title, root, kernel, and initrd respectively determine:

The title of the menu item.

The device on which the Linux kernel is located—typically, this is the boot partition or the
root partition, such as root (hd0,0) in this example.

The path to the kernel on that device and the root partition—in this example, the path is
/vmlinuz-2.6.24.4 and the root partition is /dev/sda2. You can specify the root partition by
label (such as root=LABEL=/), identifier (in the form root=UUID=some_uuid), or device name
(such as root=/dev/sda2).

The path to the initrd service on that device.

7. Edit the file /mnt/system/etc/fstab to correct the names of any devices that have changed as a

result of the recovery.

8. Start the GRUB shell by running one of the following commands:

chroot /mnt/system/ /sbin/grub

This manual is related to the following products: