Active Topics

 


Poll: would you like to have BackTrack 5 on your n900?
Poll Options
would you like to have BackTrack 5 on your n900?

Reply
Thread Tools
Gi0's Avatar
Posts: 50 | Thanked: 12 times | Joined on Aug 2010 @ Greece
#91
@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.
__________________
There's no patch for stupidity
 

The Following 2 Users Say Thank You to Gi0 For This Useful Post:
windows7's Avatar
Posts: 435 | Thanked: 160 times | Joined on Dec 2009
#92
Originally Posted by SuperDumb View Post
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's Avatar
Posts: 435 | Thanked: 160 times | Joined on Dec 2009
#93
Originally Posted by windows7 View Post
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's Avatar
Posts: 50 | Thanked: 12 times | Joined on Aug 2010 @ Greece
#94
Originally Posted by windows7 View Post
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.
__________________
There's no patch for stupidity
 
windows7's Avatar
Posts: 435 | Thanked: 160 times | Joined on Dec 2009
#95
Originally Posted by Gi0 View Post
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's Avatar
Posts: 50 | Thanked: 12 times | Joined on Aug 2010 @ Greece
#96
On windows, winrar did the job
__________________
There's no patch for stupidity
 
windows7's Avatar
Posts: 435 | Thanked: 160 times | Joined on Dec 2009
#97
Originally Posted by Gi0 View Post
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's Avatar
Posts: 50 | Thanked: 12 times | Joined on Aug 2010 @ Greece
#98
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
__________________
There's no patch for stupidity
 
windows7's Avatar
Posts: 435 | Thanked: 160 times | Joined on Dec 2009
#99
 
hawaii's Avatar
Posts: 1,030 | Thanked: 792 times | Joined on Jun 2009
#100
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.
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:50.