When I use clonezilla to clone MS windows, there is no any problem when saving an image from template machine. However, after the image is restored to another machine, it fails to boot, the error message is "Missing Operating System" or just a blinking underscore. What's going on ? |
Usually this is because GNU/Linux and M$ windows interpret the CHS (cylinder, head, sector) value of harddrive differently. Some possible solutions:
- Maybe you can change the IDE harddrive setting in BIOS, try to use LBA instead of auto mode.
- Try to choose both
[*] -j0 Use dd to create partition table instead of sfdisk
and
[*] -t1 Client restores the prebuilt MBR from syslinux (For Windows only)
when you restore the image.
- Try to choose
[ ] -g auto Reinstall grub on target hard disk boot sector
and
[*] -j1 Write MBR (512 B) again after image is restored. Not OK for partition table differs from that of the image
when you restore the image.
- Try to choose
[*] -t1 Client restores the prebuilt MBR from syslinux (For Windows only)
and *uncheck*
[ ] -g auto Reinstall grub in client disk MBR (only if grub config exists)
[ ] -r Try to resize the filesystem to fit partition size
when you restore the image. You can refer to this discussion. Thanks to Alex Mckenzie for posting this on the forum.
- You can try to boot the machine with MS Windows 9x bootable floppy, and in the DOS command prompt, run: "fdisk /mbr".
- You can try to boot the machine with MS Windows XP/Vista/7 installation CD, enter recovery mode (by pressing F10 key in MS XP, for example), then in the console, run "fixmbr" to fix it. Maybe another command "fixboot" will help, too. For more info, refer to this doc
- Use ntfsfixboot to fix it. This program is included in Clonezila live and its name is partclone.ntfsfixboot, and you can use it to adjust FS geometry on NTFS partitions. By default this should be done by Clonezilla with the option -e1 and -e2 checked. If not, you can force to do that again. For more info, please run "partclone.ntfsfixboot --help" or refer to http://sourceforge.net/projects/ntfsfixboot/.
- Use ntfsreloc to adjust FS geometry on NTFS partitions. For more info, refer to http://www.linux-ntfs.org/doku.php?id=contrib:ntfsreloc. //NOTE// ntfsreloc is an older version of partclone.ntfsfixboot.
- If you get error messages like "0xc0000225, 0xc00000e", and something about Winload.exe, refer to this.
- Some more discussions are available here.
|
|