View Single Post
kingoddball's Avatar
Posts: 1,187 | Thanked: 816 times | Joined on Apr 2010 @ Australia
#20
Ok.. Maybe I am now up for this idea... Ignore my first post!
LETS DO IT!
Has anyone created a 2GB ext3 loop back?

(Taken and adapted from Meego)

Creating a loopback image from a tarball
Code:
Create 2GB image file 
dd if=/dev/zero of=/home/user/MyDocs/fedora-image bs=1024 count=2097152

Create filesystem on image file 
mkfs.ext3 /home/user/MyDocs/fedora-image

Create mount point and loopback mount the image 
export FEDORA_ROOT="/mnt/fedora_root"
mkdir $FEDORA_ROOT
mount -o loop /home/user/MyDocs/fedora-image $FEDORA_ROOT
Code:
apt-get install tar-gnu

gtar -tzf <fedora-image>

gtar -xzf <fedora-image> -C $FEDORA_ROOT

umount $FEDORA_ROOT
None of the above may actually work. It's just an idea, Qole would be the best for this....

But!! I want to help! FEDORA!
__________________
The thanks button? Sure! You can press it! I would!

Last edited by kingoddball; 2010-08-13 at 07:06.
 

The Following 2 Users Say Thank You to kingoddball For This Useful Post: