Hi,
Actually, ntfsclone is working very fine. I created an image out of a working windows partition, and then wrote it back, and it booted fine. So the problem is obviously with the disk image I created with parted.
So can anyone tellme how to create a working windows image from an LV? The LV should act act like a full harddisk. I have tried with parted. The commands I ran on parted.
----------------
parted /dev/VolGroup00/swindows mklabel msdos
parted /dev/VolGroup00/swindows unit s mkpart primary ntfs 0 6666666 set 1 boot on
---------------
This created a proper msdos partition on the main LV, and made it bootable.
This is the output of parted print. But after I ntfsclone the image into the first partition, I am not able to boot. Any help would be appreciated. Thanks a lot in advance.
-------------------
Model: Linux device-mapper (dm)
Disk /dev/mapper/VolGroup00-swindows: 4295MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 3413MB 3413MB primary ntfs boot
------------------
|