maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Chroot Scripts for Harmattan Open Mode (https://talk.maemo.org/showthread.php?t=82114)

rcolistete 2012-08-02 14:59

Re: Chroot Scripts for Harmattan Open Mode
 
Quote:

Originally Posted by Kabouik (Post 1245538)
Rcolistete, do you still plan to release some debs to help the HarmChom instalaltion? I admit I still hope this would help me to solve my "mount on loop0" issue. :X

Yes, "easy-chroot.deb" is ready (need more tests) and "easy-deb-chroot" is being cooked today. I hope to release them today or tomorrow. They will need inception, aegisctl, open-sh and xmimd as dependencies, so will work with or without open mode kernel. And xmimd (i.e., Meego virtual keybord) is not working on PR1.3 (javispedro is trying to fix it). The debian image downloading remains manual.

rcolistete 2012-08-02 15:12

Re: Chroot Scripts for Harmattan Open Mode
 
Quote:

Originally Posted by kamilstone (Post 1246454)
Could anybody re-upload opensh_1.00_armel.deb and aegisctl_1.2_armel.deb because Inception web page break down and on google there are no mirrors.
Thanks a lot.

You can find inception 0.2.5, aegisctl 1.3 and opensh 1.0 zipped here.

Kabouik 2012-08-02 19:09

Re: Chroot Scripts for Harmattan Open Mode
 
Quote:

Originally Posted by rcolistete (Post 1246510)
Yes, "easy-chroot.deb" is ready (need more tests) and "easy-deb-chroot" is being cooked today. I hope to release them today or tomorrow. They will need inception, aegisctl, open-sh and xmimd as dependencies, so will work with or without open mode kernel. And xmimd (i.e., Meego virtual keybord) is not working on PR1.3 (javispedro is trying to fix it). The debian image downloading remains manual.

I will be happy to try it if you need more tests. I am in PR 1.3 but I have a hardware keyboard that I could use (although I'm not a QWERTY user, so there are some problems) until Javispredo finds how to fix xmimd.

rcolistete 2012-08-03 06:43

Re: Chroot Scripts for Harmattan Open Mode
 
To beta-testers : here is the 1st release of the package "Easy Chroot" for MeeGo Harmattan : easy-chroot_0.1.0-1harmattan1_armel.deb

Transfer it to your Nokia N9/N950 and install by tapping it with a file manager or using "# dpkg -i" as root in X-Terminal.

I will create a specific topic for "Easy Chroot" with better explanation.

thedead1440 2012-08-03 08:32

Re: Chroot Scripts for Harmattan Open Mode
 
Quote:

Originally Posted by rcolistete (Post 1246791)
To beta-testers : here is the 1st release of the package "Easy Chroot" for MeeGo Harmattan : easy-chroot_0.1.0-1harmattan1_armel.deb

Transfer it to your Nokia N9/N950 and install by tapping it with a file manager or using "# dpkg -i" as root in X-Terminal.

I will create a specific topic for "Easy Chroot" with better explanation.

Hi rcolistete, i've downloaded and installed your package as well as the debian v3.e.img file which is extracted to /home/user/MyDocs/.chroot

in terminal as root,
i typed: /opt/easy-chroot/qmount /home/user/MyDocs/.chroot/

It returned an error Image specified does not exist or is neither a regular or block special file


Could you advice on the next step.

Thanks...

HolgerN 2012-08-03 12:43

Re: Chroot Scripts for Harmattan Open Mode
 
Hi Kabouik,
i had the same error as you. I could solve the problem. Before i used FingerTerm, and it doesnt work. Then i tried Terminal and now i am able to mount.

I installed only inception and aegisctl. Then i was doing the following:
Quote:

ariadne sh
aegisctl -s
./debian
I was using easy-chroot_0.1.0-1harmattan1_armel.deb. But i had to copy the debian script from HarmChom.tgz and i had to create /.debian and the /home/user/.chroot file.

But my device reboots after few minutes, if i am using debian. I dont have any idea why. What can cause this?

My second question:
The home directory in debian chroot is /home/user. This is the same home directory as the normal user in harmattan. Isnt this dangerous? How can i change this?

rcolistete 2012-08-03 15:10

Re: Chroot Scripts for Harmattan Open Mode
 
Quote:

Originally Posted by thedead1440 (Post 1246831)
Hi rcolistete, i've downloaded and installed your package as well as the debian v3.e.img file which is extracted to /home/user/MyDocs/.chroot

in terminal as root,
i typed: /opt/easy-chroot/qmount /home/user/MyDocs/.chroot/

It returned an error Image specified does not exist or is neither a regular or block special file

The debian image should be placed in "/home/user/MyDocs/", for example "/home/user/MyDocs/debian-m5-v3e.img.ext2".

"easy-chroot" installs in the directory "/opt/easy-chroot" but links to "/bin/" (which is in user $PATH).

To mount an image, it is simple, for example :
# qchroot /home/user/MyDocs/debian-m5-v3e.img.ext2 /.debian/

About Easy Debian installation & running : please wait for my "Easy Debian" package, to be release in the following hours. I'm testing it.

rcolistete 2012-08-03 15:14

Re: Chroot Scripts for Harmattan Open Mode
 
Quote:

Originally Posted by HolgerN (Post 1246932)
I was using easy-chroot_0.1.0-1harmattan1_armel.deb. But i had to copy the debian script from HarmChom.tgz and i had to create /.debian and the /home/user/.chroot file.

But my device reboots after few minutes, if i am using debian. I dont have any idea why. What can cause this?

My second question:
The home directory in debian chroot is /home/user. This is the same home directory as the normal user in harmattan. Isnt this dangerous? How can i change this?

Repeating about Easy Debian installation & running : please wait for my "Easy Debian" package, to be release in the following hours. I'm testing it.

Reboot ? Are you using overclocking ? I've never experienced reboots using HarmChom.

About "/home/user" mounted in debian : see the Easy Debian topics for Maemo.

HolgerN 2012-08-03 15:43

Re: Chroot Scripts for Harmattan Open Mode
 
Ok i saw, that the mount option can be changed in qchroot.

It is save to have the same home directory? Can debian chroot overwrite something from haramattan configuration?

The user in debian chroot is root
Quote:

whoami
root
/etc/passwd says that the home diretory for root is /root.

but:
Quote:

cd ~
pwd
/home/user
This is strange.

rcolistete 2012-08-03 15:55

Re: Chroot Scripts for Harmattan Open Mode
 
Quote:

Originally Posted by HolgerN (Post 1247001)
It is save to have the same home directory? Can debian chroot overwrite something from haramattan configuration?

Yes, it is possible. But it, in my case, it never happened with Easy Debian for Maemo 4 (N810), Maemo 5 (N900) and MeeGo Harmattan (N9).

If you don't feel safe, just make regular backups of "/home/user/".

Quote:

Originally Posted by HolgerN (Post 1247001)
The user in debian chroot is root

/etc/passwd says that the home diretory for root is /root.

but:

This is strange.

No, it isn't strange :
[root@m5v3e: /]env
gives
HOME=/home/user
so Debian sets $HOME for root to share "/home/user/".

Please read Easy Debian Fremantle topic and Easy Debian wiki as all the questions above are common to Maemo and MeeGo Harmattan and already answered.


All times are GMT. The time now is 17:35.

vBulletin® Version 3.8.8