Reply
Thread Tools
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#161
@Juan,

I was just about to install the ubuntu version. Will report back to you as soon as I can.
 
juandp77's Avatar
Posts: 203 | Thanked: 201 times | Joined on Jun 2010 @ Ecuador
#162
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!!
 
Posts: 249 | Thanked: 47 times | Joined on Apr 2010
#163
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 ?

Last edited by deny_winarto; 2010-12-09 at 07:48.
 
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#164
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.
 
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#165
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.

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

The Following User Says Thank You to anthonie For This Useful Post:
Posts: 249 | Thanked: 47 times | Joined on Apr 2010
#166
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..
 
Posts: 249 | Thanked: 47 times | Joined on Apr 2010
#167
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?

Last edited by deny_winarto; 2010-12-09 at 09:08.
 
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#168
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.
 
Posts: 249 | Thanked: 47 times | Joined on Apr 2010
#169
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...
 
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#170
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.
 

The Following User Says Thank You to anthonie For This Useful Post:
Reply

Thread Tools

 
Forum Jump


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