Reply
Thread Tools
Posts: 249 | Thanked: 47 times | Joined on Apr 2010
#171
Originally Posted by anthonie View Post
It doesn´t matter how many of these copies you have flying around. What is important is that they can be found. To make it easier on yourself I would suggest to keep only the one you actually plan on using It will prevent you from confusingly editing wrong scripts and / or pointing to the wrong locations.

As I said before, I am not sure, but I think your problem lies not in the chroot file but rather in the ubuntu file. So try that and report whether it worked or not.
Thanks alot you were right,
The problem was i'm not supposed to change the code in ubuntu, only change in chrootubuntu is needed.
 
Posts: 249 | Thanked: 47 times | Joined on Apr 2010
#172
Hmm.. I get "operation not permitted" when trying this code

sudo chmod +x closeubuntu

Then in GNU nano i get permission denied...

Is there another way? Sorry if i keep asking
 
Boemien's Avatar
Posts: 770 | Thanked: 558 times | Joined on Mar 2010 @ Abidjan
#173
Hi jUANDP,
You forgot to add hildon folder in
Code:
rm /home/user/MyDocs/ubuntu*.img.ext2
rm -r ubuntu
sudo rm /usr/bin/ubuntu
sudo rm /usr/bin/ubuntu-lxde
sudo rm /usr/bin/closeubuntu 
sudo rm /usr/share/applications/hildon/ubuntu.desktop
 
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#174
Originally Posted by deny_winarto View Post
Thanks alot you were right,
The problem was i'm not supposed to change the code in ubuntu, only change in chrootubuntu is needed.
Provided everything is located in the default positions so, the qole/juan scripts actually work. Once you start fiddling around, the scripts need updating.
 
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#175
Originally Posted by deny_winarto View Post
Hmm.. I get "operation not permitted" when trying this code

sudo chmod +x closeubuntu
You get "operation not permitted" as a result of trying to chmod the file?

So, the code, in a fresh terminal:

sudo /usr/bin/closeubuntu

Gives you this?

You are 100% positive you put sudo before the command?

Then in GNU nano i get permission denied...
Is there another way? Sorry if i keep asking
Could you be more precise? You get this in the command line? Well. First try and check the command I gave before. Than check back here if it still doesn't work.
 
juandp77's Avatar
Posts: 203 | Thanked: 201 times | Joined on Jun 2010 @ Ecuador
#176
@anthonie
try keep presing shift to get numbers in keyboard, let me know if that works

@deny_winarato
if you run from mmc depending of your class of memory sd, ubuntu its going to run more slowly so at least you have no space at all I sugest you to keep the files on the internal memory of the device and follows the guide otherwise you have to change the scripts

Last edited by juandp77; 2010-12-09 at 12:53.
 

The Following User Says Thank You to juandp77 For This Useful Post:
Boemien's Avatar
Posts: 770 | Thanked: 558 times | Joined on Mar 2010 @ Abidjan
#177
Hi JuanDP. I reinstalled ubuntu but it seems that nothing has changed! All my settings inside ubuntu did not change. And Also, To make ubuntu have it's own folder, when i "sudo nano chroot ubuntu" it opens a blank file. There is no way to change :
Code:
sudo qchroot $UBUNTUIMG $UBUNTUCHROOT "$@"
and when i exit (without saving) I have the ./ubuntu file opened. So where do I change
Code:
sudo qchroot $UBUNTUIMG $UBUNTUCHROOT "$@"
to
Code:
sudo uchroot $UBUNTUIMG $UBUNTUCHROOT "$@"
????

Can you please explain it step by step??

Am I obliged to do it when ubuntu is mounted or unmounted?? thanksssss!!
 
juandp77's Avatar
Posts: 203 | Thanked: 201 times | Joined on Jun 2010 @ Ecuador
#178
Originally Posted by Boemien View Post
Hi JuanDP. I reinstalled ubuntu but it seems that nothing has changed! All my settings inside ubuntu did not change. And Also, To make ubuntu have it's own folder, when i "sudo nano chroot ubuntu" it opens a blank file. There is no way to change :
Code:
sudo qchroot $UBUNTUIMG $UBUNTUCHROOT "$@"
and when i exit (without saving) I have the ./ubuntu file opened. So where do I change
Code:
sudo qchroot $UBUNTUIMG $UBUNTUCHROOT "$@"
to
Code:
sudo uchroot $UBUNTUIMG $UBUNTUCHROOT "$@"
????

Can you please explain it step by step??

Am I obliged to do it when ubuntu is mounted or unmounted?? thanksssss!!
ok you dont have to do this with ubuntu mounted

I think that the problem its that you are typing
Code:
sudo nano chroot ubuntu
when it actually is
Code:
sudo nano chrootubuntu
Once you do this mount ubuntu:

Code:
cd ubuntu
./chrootubuntu
mkdir /home/user/ubuntu
exit
open a new xterminal

Code:
sudo cp ubuntu/startubuntu /.ubuntu/home/user/ubuntu
cd ubuntu
./chrootubuntu
chmod +x /home/user/ubuntu/startubuntu
exit
cd ubuntu
./ubuntu
please comment the result

Last edited by juandp77; 2010-12-09 at 13:43.
 
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#179
Juan,

Holding shift works! Should've thought about that myself of course
 
Posts: 249 | Thanked: 47 times | Joined on Apr 2010
#180
Originally Posted by anthonie View Post
You get "operation not permitted" as a result of trying to chmod the file?

So, the code, in a fresh terminal:

sudo /usr/bin/closeubuntu

Gives you this?

You are 100% positive you put sudo before the command?


Could you be more precise? You get this in the command line? Well. First try and check the command I gave before. Than check back here if it still doesn't work.
Nevermind, got it to work.. Just one small thing..
When i run this script to make the icon appears :

Code:
[Desktop Entry]
Encoding=UTF-8
Name=Ubuntu LXDE
GenericName=Ubuntu LXDE
Exec=/usr/bin/ubuntu-lxde
Icon=/home/user/MyDocs/ubuntu.png
X-Osso-Type=application/x-executable
X-HildonDesk-ShowInToolbar=true
Type=Application
StartupNotify=true
The device freezes and i have to restart.
I already put the ubuntu.png file on /home/user/MyDocs/ubuntu.png...

When i check the app list, the icon won't show up..
only blue square with Ubuntu LXDE on it (but it works though)
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 12:14.