Acronis Backup & Recovery 10 Advanced Workstation TIDLBPDES5 Manuale Utente

Codici prodotto
TIDLBPDES5
Pagina di 360
 
6.3.11.1.  How to reactivate GRUB or LILO and change its configuration 
Generally, you should refer to the boot loader manual pages for the appropriate procedure. In case 
the system disk (volume) is recovered to identical hardware, the following steps would usually help. 
GRUB 
1.  Boot the machine from the Linux rescue CD or Linux installation CD. 
The installed system and the system on the CD must have the same kernel version. The Linux 
distribution does not have to be the same. Opt for boot without RAM disk (without the installer): 
linux noinitrd root=/dev/ROOTDEV 
Where 
"linux" is the kernel name (the installation CD may contain multiple kernels with different 
names; LILO and GRUB enable you to select the kernel) 
"ROOTDEV" is the device corresponding to the root partition. This is usually hda1 on an IDE 
device and sda1 on an SCSI device. 
The kernel loads and the operating system starts from the specified root partition. Log in as root; 
or log in as a user and switch user: $ sudo su. 
2.  Edit the GRUB configuration file if the number of the partition where the operating system 
resides has changed. Otherwise skip this step. 
a.  Open the GRUB configuration file (usually /boot/grub/grub.conf or /etc/grub.conf): 
# vim /boot/grub/grub.conf 
b.  Find the record "root(hdX,Y)" in the section corresponding to the current kernel.  
In this record, 
X – number of the disk 
Y – number of partition on this disk 
Change X and Y according to the new location of the root. 
c.  Save the configuration file. In VIM, this is done by simultaneously pressing <esc> : w q 
<enter> 
3.  Execute the command for activating GRUB: 
# grub 
4.  Eject the CD and reboot.  
LILO 
1.  Perform step 1 described above. 
2.  Edit the LILO configuration file if the number of the partition where the operating system resides 
has changed. Otherwise skip this step. 
a.  Open the LILO configuration file (/etc/lilo.conf): 
# vim /etc/lilo.conf 
228
 
Copyright © Acronis, Inc., 2000-2009