|
Page 8 of 34 |
|
Prev |
6 7 8
9 10 18
|
Next
| Last
Re: Running Debian in a chroot
Nice... finally enough bits and pieces of info that i was able to generate an ext2 file image of debian b3 in ubuntu, copy it to (fat fs) mmc card and mount it as ext2. Now to try ext3 since i guess thats compressed. I might try to merge mounting support with isomount so that i can use it as option for chmod images like this. I'd probably add ext2mount/ext2drop/ext2run(?) and ext3mount/ext3drop/ext3run commands for interfacing with them... adding appropriate sudoers lines on initial install. I guess i'll stick with file extension .ext2 and .ext3.
At that point I could fine tune custom images like your debian images that can be dropped on any mmc type or network share. Edit : Ok it seems compression is not available for ext3? Can ext3 images be resized dynamically? If not i see no advantages. Here's how i generated the ext2 image on the (ubuntu) desktop : Code:
dd if=/dev/zero of=/home/maemo/debian-b3.ext2 bs=1k count=998400Code:
insmod /mnt/initfs/lib/modules/2.6.21-omap1/mbcache.ko |
Good News!
Some good news. :D :cool:
|
Re: Running Debian in a chroot
I can host/mirror it at least for awhile. Look forward to trying it out... what type of filesystem is it?
|
Re: Running Debian in a chroot
Hi qole, I've downloaded the large tarball and the mini too, but when I try to extract it, it just do nothing. I use the same command (tar xjvf .......) but it doesn't work with both. Could it be the tar version ? I'm using the same tar used to extract the kde's tarballs. :(
I don't know what I'm doing wrong :s I wanted to try this one because I'm having the mpd problem... |
Re: Running Debian in a chroot
Quote:
Quote:
|
Re: Running Debian in a chroot
Ah, yes i just found your old post... can you name it with .ext2 extension so i can associate it (and so its obvious what file system it contains) ?
|
Re: Running Debian in a chroot
Quote:
Quote:
So, you become root, then you do the following? Code:
tar -xjvf /media/mmc1/debian-sid-armel-chroot.tgz /debian |
Re: Running Debian in a chroot
qole:
I've tried this way too but it's not working :( I don't understand why I can't extract it, it's weird...:/ I'll be checking this thread :) Thanks! |
Re: Running Debian in a chroot
Hey! It worked --> tar -xvjf /media/mmc1/debian-sid-armel-chroot.tgz
inside the directory where the partition is mounted. |
Re: Running Debian in a chroot
Quote:
Most importantly, i am integrating support for ext2 filesystems into my isomount package which basically is just simple package which establishes mountpoints, updates sudoers, and adds support scripts. It's not so much a technical marvel as it is an attempt to provide standard framework which people can use. So if you have inputs on refining this interface I would be willing to adapt. I currently establish /mnt/iso for iso's and i have begun using /mnt/ext2 for these ext2 images. I already use isomount in emelfm2 and dbus-switchboard for iso's. In keeping extension as ext2 i can maintain fine grained permissions when run as user. This would provide command like ext2chootrun which would (mount filesystem, run command, unmount filesystem)... or i could just mount and leave open. Base commands for mounting, chroot setup, and unmounting would be sudo-able. For dbus-switchboard this would let you associate file extensions like debernardis did for open office documents in a very generic, reusable way. But i will also associate with emelfm2 so that it can mount and drop ext2 file systems like it already can with iso's. This will be very useful for tweaking .ext2 images since i can edit text files in emelfm2 or copy files in and out. |
| All times are GMT. The time now is 22:53. |
Page 8 of 34 |
|
Prev |
6 7 8
9 10 18
|
Next
| Last
vBulletin® Version 3.8.8