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
Posts: 135 | Thanked: 75 times | Joined on Apr 2011 @ Buenos Aires, Argentina
#231
Originally Posted by misiak View Post
Well, maybe not very creative, but what if you try to rename bt5.img to bt5.ext3 for example? I haven't checked if bt5.img is ext2 or ext3, I just mounted it on my PC and copied all files to my custom ext3 formatted sd card and forgot about .img file :P


You should be able to rename bt5.img to bt5.ext3 via file manager, then just replace in the command bt5.img to bt5.ext3

If it doesn't work, just rename bt5.ext3 back to bt5.img (to avoid future confusion).
.
Thanks for the quick answer misiak.
I did an "mv bt5.img bt5.ext3" but it shows the same output, only with "fs type is ext3", but then the same than before error shows up :-/. Thanks anyways.

If someone more knows whats happening, just tell me.


EDIT:
BTW trying to qchroot in MyDocs's VFAT partition, it is ok?
 
Posts: 804 | Thanked: 1,598 times | Joined on Feb 2010 @ Gdynia, Poland
#232
Originally Posted by sr00t View Post
Thanks for the quick answer misiak.
I did an "mv bt5.img bt5.ext3" but it shows the same output, only with "fs type is ext3", but then the same than before error shows up :-/. Thanks anyways.

If someone more knows whats happening, just tell me.


EDIT:
BTW trying to qchroot in MyDocs's VFAT partition, it is ok?
Yes, Easy Debian also stores Debian image on MyDocs partition (or SD card) and it works, so it's not the case...

And I want to add to my previous post that after a reboot now "apt-get install lxde xserver-xephyr wmctrl" worked. After copying of /usr/bin/xeph* and /usr/bin/startlxde* and /usr/bin/set-focus (and maybe other scripts, just see if it complains) command "xephwm5" opened a BackTrack desktop, just in lxde, not default Gnome (and apps in the menu are not showing correctly), but hey, it's some progress :P Anyway, if I understand correctly and this is just modified arm Ubuntu, we could just add the backtrack arm repositories to some clean Easy Debian image (or maybe better - Ubuntu which works on N900- NITUbuntu?), apt-get all packages, customize lxde menus and have "Easy Backtrack" far easier... I will try to do this now (if I succeed, I will upload the image), for me now better news than "BackTrack 5 (arm) released" is
Code:
deb http://all.repository.backtrack-linux.org revolution main microverse non-free testing
deb http://source.repository.backtrack.linux.org revolution main microverse non-free testing
deb http://armel.repository.backtrack-linux.org revolution main microverse non-free testing
in /etc/apt/sources.list, because it basically means there is now existing official Debian repository with BackTrack tools running in armel Debian

Last edited by misiak; 2011-05-17 at 16:18.
 
Posts: 1,163 | Thanked: 1,873 times | Joined on Feb 2011 @ The Netherlands
#233
Everybody having keyboard issues, use sequels script. https://seventhoctober.net/2011/05/b...on-nokia-n900/,

It worked for me now I need to try the other vnc client as presence crashes alot

Misiak that would be nice too, I already was thinking of making a Backtrack version from Easy Debian. Didn't do anything yet, just some thinking

Last edited by mr_pingu; 2011-05-17 at 17:11. Reason: Link to sequels blog added give him thanks
 

The Following 5 Users Say Thank You to mr_pingu For This Useful Post:
Posts: 804 | Thanked: 1,598 times | Joined on Feb 2010 @ Gdynia, Poland
#234
Originally Posted by mr_pingu View Post
Misiak that would be nice too, I already was thinking of making a Backtrack version from Easy Debian. Didn't do anything yet, just some thinking
I'm actually thinking of customizing Ubuntu from http://talk.maemo.org/showthread.php?t=66531 or http://talk.maemo.org/showthread.php?t=58083 as it would be closer to this original BackTrack image (it looks Ubuntu-based anyway)
 

The Following 2 Users Say Thank You to misiak For This Useful Post:
Posts: 1,163 | Thanked: 1,873 times | Joined on Feb 2011 @ The Netherlands
#235
It not only looks but BackTrack is based on Ubuntu From version 5 of backtrack they use 10.04, Backtrack 4 used 9.04 if I recall correctly when I was using backtrack on my laptop some time ago Then I got a N900 and stopped playing with backtrack but still dreaming to run it on the N900. Now its possible

Well we have actually 2 choices: 1 Make Backtrack from Easy Debian
2 Make backtrack from Ubuntu ARM (10.04 would be best I think)
 
SuperDumb's Avatar
Posts: 18 | Thanked: 50 times | Joined on Jan 2011
#236
Big thx to sequel for modifying the script. Runs sweet.
 

The Following User Says Thank You to SuperDumb For This Useful Post:
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#237
@sr00t

Here are some repositories to add to /etc/apt/sources.list:

Code:
deb http://repository.maemo.org/ fremantle/sdk free non-free
deb http://repository.maemo.org/ fremantle/tools free non-free
Then try:

Code:
sudo apt-get update
sudo apt-get install file
file <file path>
This should be the signature:

Code:
Linux rev 1.0 ext2 filesystem data (large files)
__________________
N9: Go white or go home
 

The Following User Says Thank You to daperl For This Useful Post:
Posts: 804 | Thanked: 1,598 times | Joined on Feb 2010 @ Gdynia, Poland
#238
In my attempts to get rid of VNC, I got it to show gnome-desktop in Xephyr window while in chroot (like Easy Debian), but it rebooted after few seconds (although it showed desktop for a moment - progress! )... Probably due to N900 out of RAM (it was reaching 100% at the moment of reboot), but I need to investigate further. What I did (if you want to follow, first download the backtrackscripts.tar file attached to this post, these are modified Easy Debian scripts):
WARNING! Only for "professionals" at the moment, just need some feedback and maybe help ;P
Code:
# n900 Maemo part
sudo gainroot
mount /path/to/img/file/or/partition /mnt/bt5
cd /mnt/bt5
tar -xf /path/to/downloaded/backtrackscripts.tar
mount -o bind /dev /mnt/bt5/dev
mount -o bind /proc /mnt/bt5/proc
mount -t devpts none  /mnt/bt5/dev/pts
mount -o bind /tmp  /mnt/bt5/tmp
mount -o bind /var/tmp  /mnt/bt5/var/tmp
mount -o bind /dev/shm /mnt/bt5/dev/shm
mount -o bind /sys /mnt/bt5/sys
leafpad /mnt/bt5/etc/apt/sources.list
# now uncomment (remove "#" from the beggining of) all lines beginning with "deb"
# save the file, exit
# so now into chroot
chroot /mnt/bt5
apt-get update
apt-get install xserver-xephyr wmctrl
useradd -m misiak
su -c xephwm5 misiak
Now a new window should open (disregard any Easy-Debian or LXDE captions, now these are just scripts from Easy Debian with few modifications) and you should see BackTrack loading. If someone really followed my steps, please report if it rebooted after loading the desktop or it worked

Edit: it seems adding user and running xephwm5 as user ("misiak" in my case) makes it load fully and run for a little longer, but still reboot :/ Investigating further (creating swap partition on microsd now and will try to use "swapon /dev/mmcblk1p4" right after chrooting)
Attached Files
File Type: tar backtrackscripts.tar (20.0 KB, 168 views)

Last edited by misiak; 2011-05-18 at 00:59. Reason: modified two commands, now it runs a little bit longer
 

The Following User Says Thank You to misiak For This Useful Post:
Gi0's Avatar
Posts: 50 | Thanked: 12 times | Joined on Aug 2010 @ Greece
#239
@Sequel7
Post a reply with your script attached or the pastie link.Just to get my thanx and the credits you deserve
__________________
There's no patch for stupidity
 
Posts: 40 | Thanked: 15 times | Joined on May 2011
#240
Originally Posted by Gi0 View Post
@Sequel7
Post a reply with your script attached or the pastie link.Just to get my thanx and the credits you deserve
Originally Posted by sequel7 View Post
I've actually not been using the qchroot method, I've been using the bootbt script, modified as detailed on my blog - https://seventhoctober.net/2011/05/b...on-nokia-n900/

You might trying doing it that way. It shouldn't make any difference, but maybe it does.
Glad it helps :-)

I'd rather not post the pastie link directly, as the steps leading up to it are a little different than the ones listed here.
 

The Following 2 Users Say Thank You to sequel7 For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 09:35.