View Single Post
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#48
I've been thinking; Our best bet for people who want a specific application would be for one of us to install everything into a clean chroot, and then put it in an .img file and then tar it up so that people can simply download it, untar it, and mount it as a loop device. Penguinbait does this with his KDE debs. That way you wouldn't be required to have a specific file system. You could just un-tar this .img file on any large memory card and then run the mount script. It's a bit tricky to set up, but it is much more straightforward for the end-user.

I just wish I was more than an enthusiastic self-taught wannabe. I just don't have the mad skillz necessary to do this. We need Benson or penguinbait to take an interest in developing this.

Something like this?

Code:
dd if=/dev/zero of=debian.img count=2097152
What's that 2097152? That should give us a gigabyte. Seems that you calculate size like this: <bytes> / 512 = <dd-count>

Code:
mkfs.ext2 debian.img -m 1 -L debian
mkdir /debian
mount -t ext2 debian.img /debian -o loop,noatime
Now the debian.img file is mounted as /debian! Cool, huh?
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2008-06-24 at 04:22.