Reply
Thread Tools
Posts: 51 | Thanked: 15 times | Joined on Nov 2011
#71
I'll wait until we work out what to do in regards to using a virtual keyboard with Open Office, then I'm in like Flyn
 
Posts: 92 | Thanked: 16 times | Joined on Jun 2011 @ Sacramento, CA USA
#72
Originally Posted by rcolistete View Post
Yes, I have made a step-by-step guide to installing and basic use in post #57.

The additional softwares were installed using :

[root@chroot: ~] apt-get install --no-install-recommends dpkg-dev build-essential

The same for texmaker, gedit, etc.
Your step by step in that post is hard to follow

-Where to I place the image?"check if the content of "/home/user/.chroot" is correct (pointing to the debian image file, etc)"

-How do I set .chroot to that image.
-Where you say to add to PATH - how?"- add "/usr/sbin" to the the PATH by adding the line: export PATH=/sbin:/usr/sbin:$PATH
to /home/user/.profile"
exactly what do I type into terminal?
Thanks

Last edited by vzp916; 2012-03-20 at 21:53.
 
Posts: 92 | Thanked: 16 times | Joined on Jun 2011 @ Sacramento, CA USA
#73
How come nobody's willing to write a detailed step by step on how to install/mount this thing for noobs.

I can follow step-by-step directions easily (as can most people), and with having open-mode kernel (e-yes's dual boot one) I think I should be able to get debian up and running on my 64G N9.

Please someone, write it up.......even better if
qole can do the writeup for open mode and
rcolistete for inception

Or whoever wants to....

I would greatly appreciate it.
 
Posts: 92 | Thanked: 16 times | Joined on Jun 2011 @ Sacramento, CA USA
#74
With devel-su I get
BusyBox v1.20.0.git (MeeGo 3:1.20-0.1+0m7) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ devel-su
Password:


BusyBox v1.20.0.git (MeeGo 3:1.20-0.1+0m7) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ # debian
Chroot dir specified: /.debian
/home/user/MyDocs/debian-m5-v3e.img.ext2 specified in ~/.chroot
Mounting...
using image file: /home/user/MyDocs/debian-m5-v3e.img.ext2
fs type is ext2
Using ext2 file system
/bin/qmount: line 203: modprobe: not found
mounting /home/user/MyDocs/debian-m5-v3e.img.ext2 on loop
Mount failure! /home/user/MyDocs/debian-m5-v3e.img.ext2 failed to mount on loop2 mount: mounting /dev/loop1 on /.debian failed: Device or resource busy
Cancelling chroot...
~ #

with opensh
~ # opensh


BusyBox v1.20.0.git (MeeGo 3:1.20-0.1+0m7) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ # debian
/bin/debian: line 30: can't create /dev/stderr: Permission denied
/bin/debian: line 49: can't create /dev/stderr: Permission denied
mount: permission denied (are you root?)
Mounting...
/bin/qmount: line 203: can't create /dev/stderr: Permission denied
/bin/qmount: line 203: can't create /dev/stderr: Permission denied
Using ext2 file system
/bin/qmount: line 203: modprobe: not found
/bin/qmount: line 203: can't create /dev/stderr: Permission denied
/bin/qmount: line 203: can't create /dev/stderr: Permission denied
Cancelling chroot...
~ #

like you can see...Im lost
 
Posts: 26 | Thanked: 23 times | Joined on Jul 2008 @ Berlin, Germany
#75
Originally Posted by vzp916 View Post
How come nobody's willing to write a detailed step by step on how to install/mount this thing for noobs.
Post 57 is clear as day, if those instructions are not clear enough for you then, trust me, you do not want to mess around that deep in the bowels of your phone.

Now please stop whining on this thread.
 

The Following User Says Thank You to pcfe For This Useful Post:
Posts: 92 | Thanked: 16 times | Joined on Jun 2011 @ Sacramento, CA USA
#76
Yea......whatever
 
Posts: 47 | Thanked: 41 times | Joined on Feb 2012
#77
Originally Posted by vzp916 View Post
like you can see...Im lost
The wrong step is precisely in the first line of your code. devel-su doesn't grant you all of the available privileges, even though you may be running open mode. If so, please install opensh from here and you are good to go, use it instead of devel-su. If you are in normal mode, you need Inception and aegisctl, then install opensh through Inception
Code:
/usr/sbin/incept <insert_path_here>/opensh_1.00_armel.deb
then loosen Aegis security a bit
Code:
/usr/sbin/aegisctl +r
/usr/sbin/aegisctl -s
and try to mount the chroot as you have before.
 
Posts: 92 | Thanked: 16 times | Joined on Jun 2011 @ Sacramento, CA USA
#78
Originally Posted by user/zero View Post
The wrong step is precisely in the first line of your code. devel-su doesn't grant you all of the available privileges, even though you may be running open mode. If so, please install opensh from here and you are good to go, use it instead of devel-su. If you are in normal mode, you need Inception and aegisctl, then install opensh through Inception
Code:
/usr/sbin/incept <insert_path_here>/opensh_1.00_armel.deb
then loosen Aegis security a bit
Code:
/usr/sbin/aegisctl +r
/usr/sbin/aegisctl -s
and try to mount the chroot as you have before.
I'm in open-mode

~ # opensh


BusyBox v1.20.0.git (MeeGo 3:1.20-0.1+0m7) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ # debian
/bin/debian: line 30: can't create /dev/stderr: Permission denied
/bin/debian: line 49: can't create /dev/stderr: Permission denied
mount: permission denied (are you root?)
Mounting...
/bin/qmount: line 203: can't create /dev/stderr: Permission denied
/bin/qmount: line 203: can't create /dev/stderr: Permission denied
Using ext2 file system
/bin/qmount: line 203: modprobe: not found
/bin/qmount: line 203: can't create /dev/stderr: Permission denied
/bin/qmount: line 203: can't create /dev/stderr: Permission denied
Cancelling chroot...
~ #
 
Posts: 47 | Thanked: 41 times | Joined on Feb 2012
#79
OK, so now you are root with opensh. The problem seems to be that the script can't find some executables, in this case modprobe (which is used to insert modules in the kernel - the ext2 file system module, here, since N9 doesn't use that by default).
To start, the error you currently have comes from the qmount script. It says it can't find modprobe. By default, Linux systems store user-and-root-executable programs in the /usr/bin directory and only-root-executables in /sbin. Therefore, it is possible that since these scripts are a direct port from the N900, modprobe was in /usr/src on the N900, but it's in /sbin on the N9.
So, what you have to do is edit at least the closechroot, qchroot, qmount, qumount, synchroot and debian scripts and correct every path of a program that gives you an error when trying to chroot.
Here it clearly says modprobe, so, in the file qmount, replace modprobe with /sbin/modprobe. You could also look in /usr/sbin, some important programs are there instead.
And so on and so forth until you have corrected all the paths, which is when you'll have a fully functional chroot. Sorry for the lenghty post, I hope it helps.
 
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#80
Originally Posted by vzp916 View Post
Your step by step in that post is hard to follow

-Where to I place the image?"check if the content of "/home/user/.chroot" is correct (pointing to the debian image file, etc)"

-How do I set .chroot to that image.
-Where you say to add to PATH - how?"- add "/usr/sbin" to the the PATH by adding the line: export PATH=/sbin:/usr/sbin:$PATH
to /home/user/.profile"
exactly what do I type into terminal?
Thanks
I have update the post #57 with more detailed instructions about your above doubts. Read and follow the instructions.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.
 
Reply

Tags
chroot, debian, harmattan


 
Forum Jump


All times are GMT. The time now is 11:53.