LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Install CloneZilla image to smaller disk (https://www.linuxquestions.org/questions/linux-software-2/install-clonezilla-image-to-smaller-disk-826913/)

EricTRA 08-18-2010 01:18 AM

Install CloneZilla image to smaller disk
 
Hi all,

I'm looking for some help on this issue. I have an image (Windows XP) made with CloneZilla of a 160Gb disk (used space = 11Gb) and I 'need' to restore that image to a smaller disk (120Gb). In order to try everything out I created a virtual machine in VMWare. I've tried about every option available in CloneZilla without succes. The latest thing I tried was using dd to just copy over the partition to a created partition on the smaller disk but when booting I got:
Code:

Booting...
Error loading operating system

Then I thought installing the image to a disk with the same size, resize the partition with GParted and make a new CloneZilla image, but for some odd reason (typical to Windows) when booting I get a BSOD, impossible to read. The BSOD happens when booting from the disk with the same size, before resizing the partition. This also is a virtual machine.

Can anyone point out what I'm missing? Or, if anyone has succesfully done this, how did you go about it?

All help and pointers are as always greatly appreciated.

Kind regards,

Eric

jefro 08-18-2010 04:36 PM

Clonezilla only uses dd if it doesn't support the filesystem.

Clonezilla uses other files to make a backup but the main program is uses may be used to do what you want.

Otherwise, you can make a VM with the correct size to return it then use ntbackup or ghost or dd or some other way to copy it to a smaller partition.

As you changed hardware you will have to repair it.


You may be better off using VMware's converter if you want to go physical to virtual.


All times are GMT -5. The time now is 07:08 PM.