Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Debian] Running Debian in a chroot

    Reply
    Page 14 of 34 | Prev | 4   12     13   14   15     16   24 | Next | Last
    maxzar100 | # 131 | 2008-06-26, 22:34 | Report

    Originally Posted by debernardis View Post
    @maxzar100: I don't think this will give the boost you expect. When I didn't know yet that pdf were not functioning in ooo because the tempfs was too small, I tried to increase virtual memory to 256Megs the way you did. This was ineffective and ooo started as slow as with 128 Megs swapfile.

    @thp:

    I'd like to play with your scripts - really because I liked so much your smooth starting of chroot and the way you went to and fro from the xephyr window to the hildon one. Please post. Nobody is less literate than me in python here but at least maybe I'll be able to learn something from them. Thanks :-)
    yeah i would like to play with them too, mainly because of the moveable keyboard. Dont worry, ive never touched a linux device in my life untill a few days ago, theres no way you could be less literate then me.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    qole | # 132 | 2008-06-27, 04:21 | Report

    Some good news. OpenOffice.org has been bumped to version 1:2.4.1-3, and it no longer has packaging errors. Iceweasel (Firefox) 3 has been put in the main Debian repositories too, at version 3.0~rc2-2, which is only one revision away from Firefox 3.0 final (they just released rc3 as final).

    I'll also be posting a clean Debian image in the next 24 hours with all the right pieces in place to make the chroot script work, but with a very minimal installed application list. This will allow hackers and such to install whatever they want without worrying about running out of space.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to qole For This Useful Post:
    BruceL, pipeline, Underscore

     
    maxzar100 | # 133 | 2008-06-27, 20:24 | Report

    That would be great. Also, is there anyway to make the keyboard move around.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Matan | # 134 | 2008-06-27, 21:19 | Report

    About unmounting: I found that killing all chrooted programs like this:


    for i in [0-9]* ; do if ls -dl $i/root | grep -q /opt ; then kill $i ; fi ; done


    And then unmounting in the correct order (basically reversed order of mounting), works everytime.

    Now if there was only a way to prevent apt-get in the chroot from killing external daemons (ssh, hal, etc.), it would be great.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Matan For This Useful Post:
    qole

     
    qole | # 135 | 2008-06-27, 21:32 | Report

    Originally Posted by maxzar100 View Post
    That would be great. Also, is there anyway to make the keyboard move around.
    Yes, the Matchbox-Keyboard doesn't move around. I included it because it iis the only Debian virtual keyboard that that I've found that is usable with OS2008.

    Your best bet for a little keyboard that you can make disappear when you want it to is the xkbd port. You want the OS2008 version. If you install it, you maybe should use debernardis' method given here.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    qole | # 136 | 2008-06-27, 21:33 | Report

    Ok, here is a minimal Debian image, with locales installed and no hacks ("dpkg-reconfigure locales" still required for non-English locales). I've also installed ssh server so you can use this trick to ssh into your chroot and work on it remotely (even using x forwarding!)

    You'll need to untar it and put it in the same place as the app-filled image. Use my instructions here.

    Minimal-Install 1GB Debian Image

    If you want the apps from the original package, and you are tight on space on your SD card, and you don't want to install anything else, here's a smaller image (730MB instead of 1GB) with all of the applications. It has no spare room for any more apps, however. It is purely an appliance for OpenOffice, AbiWord, and Iceweasel.

    730MB Debian Application Image

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by qole; 2008-06-28 at 05:51.
    The Following User Says Thank You to qole For This Useful Post:
    psykosis

     
    qole | # 137 | 2008-06-28, 06:07 | Report

    By the way, for anyone interested in trying out thp's setup (but, sadly, without the polish of his python-script-enhanced version), you'll need the following three packages:
    • xserver-xephyr (to put the secondary window manager over OS2008)
    • wmaker (the Window Maker desktop)
    • xvkbd (the "movable" virtual keyboard shown in the demo)

    Write a script similar to the one under "Xephyr Method" in this post, and then have fun.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to qole For This Useful Post:
    psykosis

     
    thp | # 138 | 2008-06-30, 15:34 | Report

    Will be posting my scripts sometime this week. Currenly busy with maths exam preparation, but then in the course of the week I'll take some time to do it. Please PM me at the end of this week in case I forget

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to thp For This Useful Post:
    qole

     
    debernardis | # 139 | 2008-07-01, 04:55 | Report

    For those who use Johnx's beta3 debian rootfs (like me), please be aware that the last update tries to reinstall the (infamous) mtd - resulting in a malfunctioning apt-get with the practical impossibility to get rid of mtd from your chroot.

    So, before updating-upgrading, better put mtd on hold:
    Code:
    echo "mtd hold"|dpkg --set-selections

    Edit | Forward | Quote | Quick Reply | Thanks

     
    psykosis | # 140 | 2008-07-01, 14:23 | Report

    Just thought I'd drop into this thread and report that I had complete success with the image files and deb installer and it is working flawlessly on my n800.

    Next question - is there a nice way to expand the ext2 file to be larger for more playroom? I suppose ideally, I should just make a ext2 part. on my SD, but I kind of like the ability to store various image states easily on the HD.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to psykosis For This Useful Post:
    qole

     
    Page 14 of 34 | Prev | 4   12     13   14   15     16   24 | Next | Last
vBulletin® Version 3.8.8
Normal Logout