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)

sr00t 2011-05-17 15:56

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by misiak (Post 1008276)
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?

misiak 2011-05-17 16:12

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by sr00t (Post 1008287)
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 :)

mr_pingu 2011-05-17 17:03

Re: BackTrack 5 (arm) released
 
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 ;)

misiak 2011-05-17 17:18

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by mr_pingu (Post 1008371)
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) ;)

mr_pingu 2011-05-17 17:34

Re: BackTrack 5 (arm) released
 
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 :D

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 2011-05-17 23:14

Re: BackTrack 5 (arm) released
 
Big thx to sequel for modifying the script. Runs sweet.

daperl 2011-05-17 23:51

Re: BackTrack 5 (arm) released
 
@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)

misiak 2011-05-17 23:57

Re: BackTrack 5 (arm) released
 
1 Attachment(s)
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)

Gi0 2011-05-18 01:01

Re: BackTrack 5 (arm) released
 
@Sequel7
Post a reply with your script attached or the pastie link.Just to get my thanx and the credits you deserve:)

sequel7 2011-05-18 01:55

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by Gi0 (Post 1008748)
@Sequel7
Post a reply with your script attached or the pastie link.Just to get my thanx and the credits you deserve:)

Quote:

Originally Posted by sequel7 (Post 1007805)
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.


All times are GMT. The time now is 07:07.

vBulletin® Version 3.8.8