Hi  Richard,,,
I have tried virt-resize by removing the two lines and its resized. But after running virt-resize the partition type shows unknown and the guest image is not booting . Heres the steps I have followed. Where I went wrong?? Is there any thing else to be configured??

[root@kvmcluster images]# truncate -r redhat5_old.img redhat5.img
[root@kvmcluster images]# truncate -s +1G redhat5.img

[root@kvmcluster images]# virt-resize --expand /dev/sda3 redhat5_old.img redhat5.img
Summary of changes:
/dev/sda1: partition will be left alone
/dev/sda2: partition will be left alone
/dev/sda3: partition will be resized from 2.9G to 3.9G
/dev/sda3: content will be expanded using the 'resize2fs' method
Copying /dev/sda1 ... done
Copying /dev/sda2 ... done
Copying /dev/sda3 ... done
Expanding /dev/sda3 using the 'resize2fs' method
 at /usr/bin/virt-resize line 1221.in super-block while trying to open /dev/vda3

[root@kvmcluster images]# virt-list-partitions -lht redhat5.img
/dev/sda1 ext3 101.9M
/dev/sda2 swap 1.0G
/dev/sda3 unknown 3.9G
/dev/sda device 5.0G


On Mon, Aug 16, 2010 at 11:33 PM, Richard W.M. Jones <rjones@redhat.com> wrote:
On Mon, Aug 16, 2010 at 11:13:56PM +0530, Rajiv Rajaian wrote:
> Thank Richard
> Will you please help me to remove the 32 bit test from
> /usr/bin/virt-resize.??
> Whether I have to add any option to this command or how to run this
> command??

Edit /usr/bin/virt-resize with your favorite editor, remove the
following two lines, save it, and run it again.

 die __"virt-resize: sorry this program does not work on a 32 bit host\n"
     if ~1 == 4294967294;

Rich.

--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora