Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [TUTORIAL-WIP] N900-LINUX: Ubuntu, Fedora and Archlinux

    Reply
    Page 18 of 53 | Prev | 8   16     17   18   19     20   28 | Next | Last
    deny_winarto | # 171 | 2010-12-09, 09:59 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    deny_winarto | # 172 | 2010-12-09, 10:11 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Boemien | # 173 | 2010-12-09, 11:34 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    anthonie | # 174 | 2010-12-09, 12:10 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    anthonie | # 175 | 2010-12-09, 12:15 | Report

    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?

    Originally Posted by
    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    juandp77 | # 176 | 2010-12-09, 12:49 | Report

    @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

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by juandp77; 2010-12-09 at 12:53.
    The Following User Says Thank You to juandp77 For This Useful Post:
    deny_winarto

     
    Boemien | # 177 | 2010-12-09, 13:17 | Report

    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!!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    juandp77 | # 178 | 2010-12-09, 13:25 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

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

     
    anthonie | # 179 | 2010-12-09, 15:02 | Report

    Juan,

    Holding shift works! Should've thought about that myself of course

    Edit | Forward | Quote | Quick Reply | Thanks

     
    deny_winarto | # 180 | 2010-12-09, 15:20 | Report

    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)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 18 of 53 | Prev | 8   16     17   18   19     20   28 | Next | Last
vBulletin® Version 3.8.8
Normal Logout