search for: temp_expand

Displaying 1 result from an estimated 1 matches for "temp_expand".

2008 Jan 22
1
Resize a VM disk image
...> bs=1M conv=notrunc count=1 seek=2500 * losetup /dev/loop0 <image file> * e2fsck -f /dev/loop0 * resize2fs /dev/loop0 * e2fsck -f /dev/loop0 * losetup -d /dev/loop0 ------------- End 1st method----------------------- -------------2nd method----------------------- dd if=/dev/zero of=/tmp/temp_expand bs=1024k count=1000 cp -a /xen-images/youki.img /xen-images/youki.img.back cat /tmp/temp_expand >> /xen-images/youki.img resize2fs -f /xen-images/youki.img -------------End 2nd method----------------------- None of these are actually working. Is there a simplest way or just another way to...