User manual

Table Of Contents
121 Copyright © Acronis International GmbH, 2002-2016
The device on which the Linux kernel is locatedtypically, 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 partitionin 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
or
chroot /mnt/system/ /usr/sbin/grub
9. Specify the disk on which GRUB is locatedtypically, the boot or root partition:
root (hd0,0)
10. Install GRUB. For example, to install GRUB in the master boot record (MBR) of the first disk, run
the following command:
setup (hd0)
11. Exit the GRUB shell:
quit
12. Unmount the mounted file systems and then reboot:
umount /mnt/system/dev/
umount /mnt/system/proc/
umount /mnt/system/boot/
umount /mnt/system/
reboot
13. Reconfigure the bootloader by using tools and documentation from the Linux distribution that
you use. For example, in Debian and Ubuntu, you may need to edit some commented lines in the
/boot/grub/menu.lst file and then run the update-grub script; otherwise, the changes might not
take effect.
5.4.2 About Windows loaders
Windows XP/2003
A part of the loader resides in the partition boot sector, the rest is in the files ntldr, boot.ini,
ntdetect.com, ntbootdd.sys. boot.ini is a text file that contains the loader configuration. Example:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional"
/noexecute=optin /fastdetect
Windows Vista and later
A part of the loader resides in the partition boot sector, the rest is in the files bootmgr, boot\bcd. At
starting Windows, boot\bcd is mounted to the registry key HKLM \BCD00000000.