Wednesday, April 14, 2010

Resize ext3 partition image

http://www.howtoforge.com/linux_resizing_ext3_partitions

Before this, umount the image...

$ fsck -n IMAGE_FILE
$ tune2fs -O ^has_journal IMAGE_FILE
$ e2fsck -f IMAGE_FILE
$ resize2fs IMAGE_FILE 8192M
$ fdisk IMAGE_FILE (create a new partition)
$ fsck -n IMAGE_FILE
$ tune2fs -j IMAGE_FILE

No comments:

Related Posts Plugin for WordPress, Blogger...