Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

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

    Reply
    Page 17 of 53 | Prev | 7   15     16   17   18     19   27 | Next | Last
    anthonie | # 161 | 2010-12-09, 06:58 | Report

    @Juan,

    I was just about to install the ubuntu version. Will report back to you as soon as I can.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    juandp77 | # 162 | 2010-12-09, 07:01 | Report

    Originally Posted by anthonie View Post
    @Juan,

    I was just about to install the ubuntu version. Will report back to you as soon as I can.
    I can confirm you that keyboard works fine on ubuntu. So give it a shoot!!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    deny_winarto | # 163 | 2010-12-09, 07:16 | Report

    Originally Posted by juandp77 View Post
    hi if you want to install on the mmc I recomend to just put the *.img.ext2 on it, leve the ubuntu folder on /home/user, the scripts are made to recognice th image on the mmc or MyDocs so follow all the steps as it is
    Here's what i did :

    I changed the permission for both scripts in /home/user
    and in /media/mmc1

    using both +x and 777

    Then i ran

    cd /home/user/ubuntu
    ./chrootubuntu

    I got ls: /home/user/MyDocs/ubuntu*.img*:no such file or directory
    /sbin/qchroot:shift: line 22: can't shift that many

    and

    cd /media/mmc1/ubuntu
    ./chrootubuntu

    This gave me permission denied error...

    Am i not supposed to extract the images from the computer first and leave it as .img ?

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by deny_winarto; 2010-12-09 at 07:48.

     
    anthonie | # 164 | 2010-12-09, 07:35 | Report

    Originally Posted by juandp77 View Post
    hi anthonie please help me with this I want to experiment with something. Please open a chroot ubuntu xterminal and type xephwm5 tell me if something hapen
    Hey Juan,

    They keybinding settings for Xephyr showed up, along with an OK button. Clicking it launched Ubuntu but no further settings manager or anything.

    Keyboard, as expected, behaved the same as before. That is, letter keys work but interpunction, shift and other function keys, and with that, the number keys, donīt work.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    anthonie | # 165 | 2010-12-09, 07:50 | Report

    Originally Posted by deny_winarto View Post
    I tried

    cd /home/user/ubuntu
    ./chrootubuntu *.img.ext2

    But it gives EZ-CHROOT ERROR

    The image is specified (/,ubuntu) does not exist or is neither a regular nor a block special file
    First parameter must be an image file or partition
    Hmm. Out of curiosity I tried

    cd /home/user/ubuntu
    ./chrootubuntu /home/user/MyDocs/specific-image-name-because-i-have-more-than-one.

    As expected I get the message chroot is not supposed to handle that file.

    Code:
     Everything set up, running chroot...
    chroot: cannot execute /home/user/MyDocs/ubuntu-m5-v1.img.ext2: Permission denied
    ~/ubuntu $
    Why donīt you simply edit the ubuntu file and change the image location there?

    Edit: confirmed

    I just moved the ubuntu image with the standard file manager to my sd card, changed the location in /ubuntu/chrootubuntu and it works without problems at first sight.

    Edit | Forward | Quote | Quick Reply | Thanks

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

     
    deny_winarto | # 166 | 2010-12-09, 08:34 | Report

    Originally Posted by anthonie View Post
    Hmm. Out of curiosity I tried

    cd /home/user/ubuntu
    ./chrootubuntu /home/user/MyDocs/specific-image-name-because-i-have-more-than-one.

    As expected I get the message chroot is not supposed to handle that file.

    Code:
     Everything set up, running chroot...
    chroot: cannot execute /home/user/MyDocs/ubuntu-m5-v1.img.ext2: Permission denied
    ~/ubuntu $
    Why donīt you simply edit the ubuntu file and change the image location there?
    Yep, thanks alot, i modificated the files and now it works.
    Now i'm trying the 6th step..

    Edit | Forward | Quote | Quick Reply | Thanks

     
    deny_winarto | # 167 | 2010-12-09, 09:05 | Report

    Originally Posted by anthonie View Post
    Hmm. Out of curiosity I tried

    cd /home/user/ubuntu
    ./chrootubuntu /home/user/MyDocs/specific-image-name-because-i-have-more-than-one.

    As expected I get the message chroot is not supposed to handle that file.

    Code:
     Everything set up, running chroot...
    chroot: cannot execute /home/user/MyDocs/ubuntu-m5-v1.img.ext2: Permission denied
    ~/ubuntu $
    Why donīt you simply edit the ubuntu file and change the image location there?

    Edit: confirmed

    I just moved the ubuntu image with the standard file manager to my sd card, changed the location in /ubuntu/chrootubuntu and it works without problems at first sight.
    I followed everything in page 1 until :

    ./ubuntu

    then i got this error

    Code:
    ./ubuntu: line 9: /media/mmc1/ubuntu/chrootubuntu: Permission denied
    ./ubuntu: line 12: /media/mmc1/ubuntu/chrootubuntu: Permission denied
    I tried to
    chmod +x /media/mmc1/ubuntu/chrootubuntu and
    chmod 777 /media/mmc1/ubuntu/chrootubuntu

    But i still got the same error, i suspect this has something to do with the modificated "chrootubuntu" file

    So here's mine :

    Code:
    if [ "x$UBUNTUIMG" = "x" ] ; then
      UBUNTUIMG="`ls -1 /media/mmc1/ubuntu*.img* | head -1`"
    fi
    
    if [ "x$UBUNTUCHROOT" = "x" ] ; then
      UBUNTUCHROOT="/.ubuntu"
    fi
    
    if [ ! -d "$UBUNTUCHROOT" ] ; then
      sudo mkdir $UBUNTUCHROOT
    fi
    
    sudo qchroot $UBUNTUIMG $UBUNTUCHROOT "$@"
    Did i make a mistake somewhere?

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by deny_winarto; 2010-12-09 at 09:08.

     
    anthonie | # 168 | 2010-12-09, 09:20 | Report

    I suspect that error has to do with a moved ubuntu homefolder. Where have you put it? And if you put it somewhere else, make sure to

    code in a new terminal

    cd /ubuntu
    nano ubuntu
    and make sure that the line that says "scriptdir=" is pointing to the right location.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    deny_winarto | # 169 | 2010-12-09, 09:33 | Report

    Originally Posted by anthonie View Post
    I suspect that error has to do with a moved ubuntu homefolder. Where have you put it? And if you put it somewhere else, make sure to

    code in a new terminal

    cd /ubuntu
    nano ubuntu
    and make sure that the line that says "scriptdir=" is pointing to the right location.
    Hm.. I put the 3 folders into both

    /home/user and
    /media/mmc1

    and the files are the modificated ones.

    the scriptdir is "/media/mmc1/ubuntu"
    Is that correct if the images are in mmc?

    and even after i tried to sudo chmod +x the files in that folder, i'm still getting the same error...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    anthonie | # 170 | 2010-12-09, 09:40 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to anthonie For This Useful Post:
    deny_winarto

     
    Page 17 of 53 | Prev | 7   15     16   17   18     19   27 | Next | Last
vBulletin® Version 3.8.8
Normal Logout