All times are UTC-06:00




Post new topic  Reply to topic  [ 50 posts ] 
Author Message
PostPosted: Wed Mar 07, 2012 2:53 pm 
Offline

Joined: Wed Feb 01, 2012 9:55 am
Posts: 24
Location: Ontario
Using a similar method outlined in http://www.powerdeveloper.org/forums/vi ... php?t=2176 we were able to get BackTrack 5 for arm running on the Efika MX Smarttop units.

BackTrack is an Ubuntu GNU/Linux based distribution aimed at digital forensics and penetration testing use.

You can get the arm version of BackTrack 5 here

http://www.backtrack-linux.org/downloads/

Make sure you select Backtrack 5


loonix
arX corp.


Top
   
 Post subject:
PostPosted: Thu Mar 08, 2012 7:34 am 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1066
It sounds like a very interesting project, but I always get The connection has timed out message when I try to reach the webserver :-(

_________________
CzP
http://czanik.blogs.balabit.com/


Top
   
 Post subject:
PostPosted: Thu Mar 08, 2012 8:29 am 
Offline

Joined: Wed Feb 01, 2012 9:55 am
Posts: 24
Location: Ontario
Quote:
It sounds like a very interesting project, but I always get The connection has timed out message when I try to reach the webserver :-(
Which link are you trying that is timing out?

loonix
arX corp.


Top
   
 Post subject:
PostPosted: Thu Mar 08, 2012 8:53 am 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1066
It was http://www.backtrack-linux.org/downloads/ and it's OK now, but was unavailable until now today...

_________________
CzP
http://czanik.blogs.balabit.com/


Top
   
 Post subject:
PostPosted: Thu Mar 08, 2012 3:55 pm 
Offline

Joined: Thu Nov 10, 2011 10:24 am
Posts: 30
I'm attempting to install on SD Media using a Linux OS. Any hints or instructions for the Smartbook? Will the image only function in a chroot?


Top
   
 Post subject:
PostPosted: Thu Mar 08, 2012 6:02 pm 
Offline

Joined: Wed Feb 01, 2012 9:55 am
Posts: 24
Location: Ontario
You actually won't even have to go the chroot way.

1. On the SD card create a boot partition and a filesystem partition
2. extract the backtrack image onto the filesystem partition
3. copy the kernel modules in the right place
4. With SD card in smartbook reboot from SD

you will booted into the Backtrack environment - no chroot env ;-)

loonix
arX corp.


Top
   
 Post subject:
PostPosted: Fri Mar 09, 2012 6:26 am 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1066
I'll stick to chroot on the smartbook for now (no more free SD cards at home...) Once my smartbook is free, it's the best tool ever to generate large amount of logs for my syslog-ng experiments :-)
--
Peter Czanik (CzP) <czanik@balabit.hu>
BalaBit IT Security / syslog-ng upstream
http://czanik.blogs.balabit.com/


Top
   
 Post subject:
PostPosted: Fri Mar 09, 2012 1:17 pm 
Offline

Joined: Thu Nov 10, 2011 10:24 am
Posts: 30
I created two partitions on SD media:
128 MiB [sdboot]
~15 GiB [sdroot]

Mounted the bt5.img with the loopback option.

rsync -av /mnt/bt5-loop/boot/ /mnt/sdboot/
rsync -av /mnt/bt5-loop/ /mnt/sdroot/

No joy.

What am I missing? May I please ask for more details?

Thanks!


Top
   
 Post subject:
PostPosted: Sat Mar 10, 2012 7:36 am 
Offline

Joined: Fri Oct 28, 2011 6:47 am
Posts: 55
Location: Terre
I have started a howto for BT5 on Efika :
https://doukki.net/doku.php?id=wiki:notes:efika-bt5

What is missing from this howto (for now) is the FIXME part :
I have to prepare the uInitrd and uImage from the efika itself (in chroot).

A ready to use image can then be generate, after some cleannings, for a 4Go SD card...

Stay tuned

_________________
[:-]


Top
   
 Post subject:
PostPosted: Sun Mar 11, 2012 3:12 am 
Offline
Genesi

Joined: Tue Feb 07, 2006 4:49 pm
Posts: 145
Location: San Antonio, TX
Definitely awesome! I actually had this back when it was released, but unfortunately, a recent apt-get update completely blew everything up that I had, so I gave up on it. I'll definitely be keeping an eye on this!

_________________
Steev Klimaszewski, Genesi USA Inc.
Senior Software Engineer


Top
   
 Post subject:
PostPosted: Tue Mar 13, 2012 10:16 am 
Offline

Joined: Thu Nov 10, 2011 10:24 am
Posts: 30
Quote:
I have started a howto for BT5 on Efika :
https://doukki.net/doku.php?id=wiki:notes:efika-bt5

What is missing from this howto (for now) is the FIXME part :
I have to prepare the uInitrd and uImage from the efika itself (in chroot).

A ready to use image can then be generate, after some cleannings, for a 4Go SD card...

Stay tuned
The wiki looks great! I'm having difficulty locating the kernel mentioned: linux-image-2.6.31.14.27dreagle-efikamx_2012.03_armel.deb

Where do we find it?

Thanks!


Top
   
 Post subject:
PostPosted: Tue Mar 13, 2012 10:43 am 
Offline
Genesi

Joined: Mon Jan 30, 2006 2:28 am
Posts: 409
Location: Finland
Hi.

'linux-image-2.6.31.14.27dreagle-efikamx_2012.03_armel.deb' can be obtained by compiling the kernel sources. You can find these here:

https://github.com/genesi/linux-legacy

To cross compile them, make sure you have these:
Code:
apt-get install debhelper kernel-package fakeroot binutils-multiarch
And compile with:

Code:
cp arch/arm/configs/mx51_efikamx_defconfig .config

make-kpkg --revision 2012.03 --arch armel --cross-compile arm-linux-gnueabi- --subarch efikamx --us --uc --rootcmd=fakeroot --jobs=2 --initrd binary-arch

Johan.

_________________
Johan Dams, Genesi USA Inc.
Director, Software Engineering

Yep, I have a blog... PurpleAlienPlanet


Top
   
 Post subject:
PostPosted: Tue Mar 13, 2012 10:54 am 
Offline

Joined: Thu Nov 10, 2011 10:24 am
Posts: 30
Can I do the kernel compile in the BT5 chroot?- Or from my instance of armhf?

Also, I'm getting the following when I chroot in to the BT5 root:
root@mp3:/media/rootfs/boot# chroot /media/rootfs/
bash: /dev/null: Permission denied

Do I need to mount /proc or /dev?

Thanks!


Top
   
 Post subject:
PostPosted: Tue Mar 13, 2012 9:14 pm 
Offline

Joined: Wed Feb 01, 2012 9:55 am
Posts: 24
Location: Ontario
Quote:
I have started a howto for BT5 on Efika :
https://doukki.net/doku.php?id=wiki:notes:efika-bt5

What is missing from this howto (for now) is the FIXME part :
I have to prepare the uInitrd and uImage from the efika itself (in chroot).

A ready to use image can then be generate, after some cleannings, for a 4Go SD card...

Stay tuned
Great job - I see in your todo's you need prep-kernel

Assuming you have all the build tools installed and the debhelper tools (as mentioned in the kernel compile how to post above) you can do the following:

1.
Code:
git clone git://github.com/genesi/prep-kernel.git
2.
Code:
cd prep-kernel
3.
Code:
debuild
It will fail at the signature but it should build a prep-kernel deb package in the parent directory.

_________________
loonix
arX corp.


Top
   
 Post subject:
PostPosted: Wed Mar 14, 2012 1:11 am 
Offline

Joined: Fri Oct 28, 2011 6:47 am
Posts: 55
Location: Terre
thanks for the feedback,
If anyone is interested, I can upload the ready to use image.

Any interest/possibility in hosting it with the other available linux images ?

_________________
[:-]


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 50 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group