View Single Post
Posts: 838 | Thanked: 292 times | Joined on Apr 2010
#1553
Ok so I put easy debian on and love the fact that I have real linux (sorry maemo but busy box?) now to learn from. I have even done an apt-get update && apt-get upgrade and nothing broke. I do have 2 questions...

1) I have learned from tinkering that I can get logged in as root and directly into /root by typing debsu from maemo, and that I can bring the chroot closed by typing closechroot from maemo. But if I fire up debian through the desktop icon, it plops me into / not /root and if I cd ~ I am in /home/user, not in /root like the debsu command put me. Is there a way to have easy-deb-chroot plop me in as root in the /root directory when I use the desktop icon as opposed to having to do debsu from within the maemo terminal?

2) I tried from within debian to run the update-rc.d command to have some services I installed (such as mysql server and sendmail) start when I activate the chroot. but the command
"update-rc.d mysql enable" does not do the trick. It reports that it is creating links to /etc/init.d but still if I log out and bring debian down (either from the desktop app or by running closechroot) and then go back into debian, the service is not started. I am going to make a guess that since this in chroot that the scripts are not even getting read?

anyway it would be great to have both of these issues worked out as I am trying to make the debian chroot mimic a true linux environment (being in /root and having certain services started) as much as I can. after all the entire reason I bought this phone was to learn linux....

thanks for listening.