Hi,
On 19 Jun 2007, at 23:16, K T Ligesh wrote:
> 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
>
> ------------------
What is the output of:
fdisk -ul /dev/mapper/VolGroup00-swindows
Also what is the output of the same command but on the volume that
the partition was cloned from?
Best regards,
Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer, http://www.linux-ntfs.org/
|