So here is my (extreme) dummy¡¦s guide to set up the fantastic chrooted Debian in 14 steps: STEP 1: Download either the ¡§base¡¨ or the ¡§big¡¨ Debian package from [url= http://www.pocketworkstation.org/files/]here[/url]. The latest version is 0.18. STEP 2: Since this is real big stuff so we can¡¦t put it in the main memory but to a memory card instead. Make sure that your card is of 256MB at least. Start a terminal session. Switch to /mnt/card, and create a new directory called ¡§debroot¡¨ by [code] cd /mnt/card mkdir debroot [/code] (Press ENTER once after each line.) STEP 3: Switch to this newly created debroot dir. Put the debian package in this dir, and extract it by: [code] tar -xvzpf zaurus-debian-*.tgz [/code] This will take a few minutes. Just let it do its job. After this you¡¦ll see a whole bunch of files and dir created in /mnt/card/debroot. STEP 4: Now you have to configure Debian and install a few necessary files to the main memory. The files are going to be very small so no need to worry about the space in the main memory. Stay put in /mnt/card/debroot and do this [code] ./INSTALL.d/postinst.sh [/code] STEP 5: Phew! What? A questionnaire? Don¡¦t panic, it¡¦s just a few ¡§Yes/No¡¨ questions. There may be some actions going on between the questions, as the setup will respond and take actions immediately after each of your answers. The ¡§model answers¡¨ are: ¡§Yes¡¨ (press y and ENTER) to all questions, BUT say ¡§No¡¨ (press n and ENTER) to [u]the last two questions[/u] that ask whether you want to start vncserver and fbvnc. After the last question, setup finishes and returns you to the prompt (the ¡¥#¡¦ sign). STEP 6: Now it¡¦s time to go to do something about the files in the main memory. Go to your root directory by [code] cd ~ [/code] STEP 7: Now go check to see whether you¡¦ve got these three files in the main memory (use a file manager to help you find them): /etc/debroot.conf /usr/local/bin/Crd /etc/rc.d/init.d/zdebian If any of them is missing, then something may have gone wrong and you have to repeat steps 3, 4 and 5. STEP 8: Now we are going to make some important changes in the first two files mentioned in STEP 7 by editing them with an editor (am I being too dummy here?) Don¡¦t worry too much. What we mean by ¡§editing¡¨ here simply means adding just a symbol or some words or a line somewhere in the files. As a dummy myself, I prefer using nano (hey guys, c¡¦mon don¡¦t fire at me please). First, open /etc/debroot.conf with nano by [code] nano /etc/debroot.conf [/code] Don¡¦t freak out when you see the mysterious codes and messages. Just do three simple things: 1. Locate the statement ¡§#The chroot directory for the Debian installation¡¨, make sure that it gets the correct path as [code] DEBROOT=/mnt/card/debroot [/code] 2. Comment out (i.e. put a ¡§#¡¨ symbol in front of) all these lines: DEB_RUN_VNCSERVER, DEB_RUN_FBVNC, DEB_RUN_ZAPM_PROXY, DEB_RUN_ZAPMD. (In my case I also have to comment out DEB_RUN_SERVICES=¡¨ssh¡¨, although it¡¦s not mentioned in the CyberWolf¡¦s original guide. Still dunno why coz I¡¦m just a dummy.) 3. Go to the bottom of the file, start a line afresh and type the following: [code] DEB_DISPLAY=127.0.0.1:0 [/code] After these three things are done, press Ctrl and o together to save the file (you¡¦ll be asked for the filename; just ENTER to say confirm), followed by Ctrl and x together to exit nano. STEP 9: Now we head to the second file. Use nano to open it: [code] /usr/local/bin/Crd [/code] Go to the bottom and look for the line which reads ¡§PATH=¡K¡¨. Add the string DISPLAY=$DEB_DISPLAY at the end of the line, Followed by Ctrl-o (save) and Ctrl-x (exit nano) STEP 10: Now we need to edit one more file. Use nano again to open /usr/X11R6/bin/startx [code] nano /usr/X11R6/bin/startx [/code] Locate the line(s) beginning with ¡§defaultserverargs=¡K¡¨. Comment out the line(s) if you see ¡§-nolisten tcp¡¨ [code] #defaultserverargs=¡¨ ¡Vnolisten tcp¡¨ #defaultserverargs=¡¨ ¡Vnolisten tcp -kb¡¨ [/code] Next, add a new line right above or below these lines (use your cursor key to move around, ENTER to add a new line) and type this down: [code] defaultserverargs=¡¨ -kb¡¨ [/code] When it¡¦s done, Ctrl-o and then Ctrl-x. [A NOTE for users of more than one window manager (wm): The default window manager is called Matchbox, and the initial script (i.e. the file that brings it up and tells it to do and display things in the way you want) is called ¡§startx¡¨ and its path is /etc/X11R6/bin/startx. Oh, yes, that¡¦s the one you have just edited. And¡K If you also use other window managers, you¡¦ll have to [u]exactly[/u] do the same change to their initial scripts. For example, the initial script of Xfce4 is called ¡§startxfce4¡¨ and has a different path /usr/local/bin/startxfce4. If you forget to edit this you can only get chrooted Debian to work in Matchbox but not in Xfce4.] STEP 11: Quit the terminal session. Exit the current window manager and restart it. STEP 12: Start a terminal session again. Copy a file called .Xauthority to the root directory of debroot by running this command: [code] cp .Xauthority /mnt/card/debroot/home/root [/code] (In case you don¡¦t have the root dir under /mnt/card/debroot/home, (just like in my case), you must create it first before copying .Xauthority to there. Simply run mkdir ¡Vp /mnt/card/debroot/home/root to fix it.) STEP 13: Start the debian enviroment with [code] /etc/rc.d/init.d/zdebian start [/code] STEP 14: Give your chrooted Debian environment a test run. Try [code] Crd aterm [/code] Then you¡¦ll see a different terminal window pop up, with a slightly different prompt as ¡§/#¡¨. As CyberWolf says, ¡§If it works, congratulations, you've done it... ¡§