View Single Post
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#11
Maybe space inside the image is a problem?
Here is a little Howto for resizing the image to have 1 GB of free space:
- Unmount and close the EasyDebian-chroot
- Install coreutils-gnu as dd does not append to a file while the version of dd in the gnu package does:
Code:
apt-get install coreutils-gnu
- Lets append some space to the debian image (Make sure your image name is correct!!!):
Code:
gdd if=/dev/zero of=/home/user/MyDocs/debian-m5-v3e.img.ext2 bs=1M count=1000 oflag=append conv=notrunc
- Make a filesystem check here:
Code:
e2fsck -f /home/user/MyDocs/debian-m5-v3e.img.ext2
- Now resize the the filesystem:
Code:
resize2fs -f /home/user/MyDocs/debian-m5-v3e.img.ext2
Takes all in all 5 minutes!

Last edited by michaaa62; 2010-12-19 at 18:06.
 

The Following User Says Thank You to michaaa62 For This Useful Post: