Hi,
On 7 Jun 2007, at 09:16, K T Ligesh wrote:
> Thanks for the reply. That solved it beautifully. First run fdisk -
> lu to find the beginning of the partition, and then use losetup to
> mount it.
(-:
> Can you just confirm these are the steps to use ntfsresize on a
> windows disk image?
>
> a) Increase the actual disk image
>
> b) Use parted to fill the partition to the full hard disk image
>
> c) Losetup the partition to dev/loop
>
> d) Run ntfsresize on /dev/loop
Yes, that should work as long as parted doesn't screw up the
partition table in any way...
I would suggest to either keep a backup of the partition table (just
use "dd" to make a copy of the first 512 bytes of your disk which
will contain it) or to use fdisk to be on the safe side.
> Thanks a lot in advance.
You are welcome.
Best regards,
Anton
>
>
>
> ----------------------------------------------------------------------
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Linux-NTFS-User mailing list
> Lin...@li...
> https://lists.sourceforge.net/lists/listinfo/linux-ntfs-user
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/
|