maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Competitors (https://talk.maemo.org/forumdisplay.php?f=4)
-   -   BackTrack 5 (arm) released (https://talk.maemo.org/showthread.php?t=72933)

Gi0 2011-05-14 22:48

Re: BackTrack 5 (arm) released
 
@SuperDumb
Thank you for your guide, works like a charm (a tiny typo on "Export USER=root" command, since it seems its case sensitive and 'export' does the trick)!
Have you tried typing anything in BT? N900 keyboard doesnt seem to work as its supposed to, i m guessing it has something to do with keymappings.

windows7 2011-05-15 00:37

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by SuperDumb (Post 1006083)
Here is how i did it :

(Be sure you have rootsh & easy-chroot)
Everything typed in terminal is blue
- Put the bt5.img anywhere (i did it in /home/user/Mydocs/bt5, so rest of the howto is based on that but can be changed)
- open Terminal
- sudo gainroot
- mkdir /mnt/bt5 (needs to be done only first time to create the folder)
- qchroot /home/user/Mydocs/bt/bt5.img /mnt/bt5/ (when you see root@chroot you are good to go)
- Export USER=root
- vncpasswd (Needs to be done once for setting up a password)
- vncserver -geometry 800x480
- startvnc
Now go back to open VNC and leave terminal open in background
In VNC use this settings :
The adress is 127.0.0.1:590x
x Is the number you see when you typed "startvnc" inside BT5. You will see something like this :
"Log file is /home/user/.vnc/Nokia-N900:x.log"
Mine was "Log file is /home/user/.vnc/Nokia-N900:1.log", so i have 127.0.0.1:5901
Enter password you choosed before, log in have fun.
When done and VNC is closed, do this to shutdown BT5:
Go back to opend terminal
- stopvnc
- exit
- qumount /mnt/bt5
- exit
- exit

Hope i did not miss something, will put the link with the img as soon as it is up (bout 1h30 left)
Will be away until tonight, hope it works.

i'm experiencing a problem.
Unzipped archive with 7zip and copy bt5.img to recommended folder.
But now seeing following error, what is happening & how can i fix it?

/mnt/bt5 # qchroot /home/user/MyDocs/bt5/bt5.img /mnt/bt5/
..stripping trailing slash...
Mounting...
using image file: /home/user/MyDocs/bt5/bt5.img
fs type is img
Don't know img: Using ext2 file system
Using ext2 file system
mounting /home/user/MyDocs/bt5/bt5.img on loop
.../home/user/MyDocs/bt5/bt5.img mounted on loop0
.
..
...
....
mount: mounting /var/run/pulse on /mnt/bt5/var/run/pulse failed: No such file or directory
Everything set up, running chroot...
chroot: cannot execute /bin/sh: Exec format error
/mnt/bt5 # cd
/home/user # qchroot /home/user/MyDocs/bt5/bt5.img /mnt/bt5/
..stripping trailing slash...
/mnt/bt5 has a qmount already!
/home/user/MyDocs/bt5/bt5.img already mounted on /mnt/bt5...
Everything set up, running chroot...
chroot: cannot execute /bin/sh: Exec format error
/home/user #

windows7 2011-05-15 00:50

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by windows7 (Post 1006496)
i'm experiencing a problem.
Unzipped archive with 7zip and copy bt5.img to recommended folder.
But now seeing following error, what is happening & how can i fix it?

/mnt/bt5 # qchroot /home/user/MyDocs/bt5/bt5.img /mnt/bt5/
..stripping trailing slash...
Mounting...
using image file: /home/user/MyDocs/bt5/bt5.img
fs type is img
Don't know img: Using ext2 file system
Using ext2 file system
mounting /home/user/MyDocs/bt5/bt5.img on loop
.../home/user/MyDocs/bt5/bt5.img mounted on loop0
.
..
...
....
mount: mounting /var/run/pulse on /mnt/bt5/var/run/pulse failed: No such file or directory
Everything set up, running chroot...
chroot: cannot execute /bin/sh: Exec format error
/mnt/bt5 # cd
/home/user # qchroot /home/user/MyDocs/bt5/bt5.img /mnt/bt5/
..stripping trailing slash...
/mnt/bt5 has a qmount already!
/home/user/MyDocs/bt5/bt5.img already mounted on /mnt/bt5...
Everything set up, running chroot...
chroot: cannot execute /bin/sh: Exec format error
/home/user #

well found an unrelated post that may explain why this is happening:
http://talk.maemo.org/showpost.php?p...3&postcount=22

this was in response to this:
http://talk.maemo.org/showpost.php?p...2&postcount=19

resuming = bad img because of missing files

Gi0 2011-05-15 01:03

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by windows7 (Post 1006508)
resuming = bad img because of missing files

The img, if downloaded correcty from the link SuperDump gave, works like a charm. Try downloading again in case something went wrong.

windows7 2011-05-15 01:06

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by Gi0 (Post 1006513)
The img, if downloaded correcty from the link SuperDump gave, works like a charm. Try downloading again in case something went wrong.

how did you extracted it?

Gi0 2011-05-15 01:19

Re: BackTrack 5 (arm) released
 
On windows, winrar did the job

windows7 2011-05-15 01:28

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by Gi0 (Post 1006519)
On windows, winrar did the job

just re-downloaded (deleted old files) and using 7zip unziped it in windows 7 and copied it accross via mas storage but same problem.

gone try again with winrar

Gi0 2011-05-15 01:43

Re: BackTrack 5 (arm) released
 
Cant think of anything that might causing this. Maybe try with a downloader, jdownloader is a good choice.
MD5 of the img currently in my N900
0e1211c5ba7ba3debe1c472e5a0e5b96

windows7 2011-05-15 03:47

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by Gi0 (Post 1006519)
On windows, winrar did the job

no joy with winrar twice either.

something is broken in the img

hawaii 2011-05-15 04:59

Re: BackTrack 5 (arm) released
 
Nothing is wrong with the image archive. You're not extracting it properly or you didn't fetch the entire archive.

I'm not able to get to a desktop, however. The VNC daemon fires up just fine, but X server seems to be stuck at the checkerboard, indicating no WM has started.


All times are GMT. The time now is 03:54.

vBulletin® Version 3.8.8