Certain distributions rely on the existence of the directory /dev/ while booting, or certain static devices which have to exist BEFORE the udev Daemon creates them.
In this case
If the restore cannot restore /dev/
If the system is not able to find a bootable OS instance after the restore, there may have been problems during the installation of the GRUB boot loader.
The restore protocol includes a statement whether or not the installation of the boot loader was successful:
It is, of course, always possible to boot the system again from the Live-CD, mount the target partitions and use grub-install in order to install the boot loader correctly.
During the restore the following error occurs:
Please check the file /boot/grub/device.map on the target system. If there are entries, referring to the disk through /dev/by-disk/..., as shown in this example:
This entry is most likely the reference to the hard disk partition of the broken system. GRUB will not find the proper device. The problem can be solved by:
Output:
You can ignore the error line 374: [: =: unary operator expected. More important is the result Installation finished. No error reported.
In case you see the message /dev/cciss/c0d0p2 does not have any corresponding BIOS drive in restore log.
During a restore of a system with kernel version 2.4 the system may not boot because the Live-CD creates a file system with features which are not supported by kernel 2.4.
Most likely the file system options resize_inode,dir_index,large_file,ext_attr are causing the problems and thus make the system unbootable.
This can be solved by booting again from the Live-CD image, which includes the tool debugfs.
Show the file system features with debugfs:
/dev/sda2 has to be replaced with the right partition names on your system!
Removing file system features:
After removing the options the system should boot correctly.
After a successful restore the boot process stops with incorrect inode size (256)
Older kernel versions (2.4) may use a different inode size than the one the file system's created through the Live-CD (which includes kernel 2.6). For example, this happens during the restore of SLES8 based systems which use an inode size of 128k.
This can only be solved by formatting the devices manually from the Live-CD, using the proper mkfs options:
After this step, mount the partition again to /mnt/disk and repeat the restore operations.
Changing the inode size is only possible by reformatting the devices.
If the /etc/fstab file was configured with the root file system as UUID. You will have to specify the root file system device name in conventional device names if you are using a different physical disk. After booting, use YAST to reconfigure your boot loader or edit your /boot/grub/menu.lst manually.
If the restore was done to dissimilar hardware, SLES based distributions may not configure the network devices correctly. Unfortunately SLES based systems save their network configuration by using the systems MAC address.
Most likely the system will not use eht0 as device name, but eth1, as it has another MAC address.
In order to solve this problem, please use Yast and reconfigure your network interfaces.
Our sales team would be happy to assist you!
Browse and discover videos by SEP.