Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm still having issues when restoring Windows partitions using CloneZilla (XP enters an endless loop with "Autochk - File not found", and Vista doesn't boot ("Err 17 - File not found"; It looks like this is an error reported by Grub, though).
For those of you used to cloning partitions so you can easily restore an OS to perform tests... are there tricks that must be done to save/restore/boot partitions using CloneZilla?
For instance, CloneZilla provides four options that deal with MBR (-g, -t, -j1, -j2). Grub can also perform some kung-fu (such as geometry(), parttype(), etc.). And with XP/Vista/7 being particular with making any change to the configuration due to activation, I wouldn't be surprised if something had to be done prior/after cloning Windows partitions.
Ideally, I'd like to just boot with a CD, restore the image, remove the CD, and expect the OS to start without having to mingle with Grub every time.
While imaging partitions with Clonezilla (or any other application) works well when the image is restored to the partition it was imaged from, problems arise when restoring the image to a different partition. The reason is that two files contain configuration data necessary for booting:
1) if the OS is GNU/Linux, those files are /etc/fstab and /boot/grub/menu.lst (grub.conf on some distros).
2) if the OS is windows, only one file is necessary: /boot/grub/menu.lst
The reasons:
In Linux, the grub uses the config file to find the bootable kernel image and initrd. Fstab tells the system which devices to mount, and their mount points. If you clone partitions with one set of device numbers, and restore the cloned image to different partitions, things get messed up until you edit fstab to correct the device/mount point errors. Grub's menu.lst also has to be edited to corrected the menu entries to show the location of the vmlinuz kernel image, and the location of the root of the filesystem.
For windows, menu.lst has to be edited to show the location of the windows partition if it has changed from the original partition.
So, to help you, we need to see:
1) the output of 'fdisk -l'
2) the devices and mount points of /etc/fstab.
3) the menu list from /boot/grub/menu.lst
That "Err 17 - file not found" is commonly encountered when the menu.lst points to one partition as the location of the bootable kernel image, and it isn't there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.