Didier Stevens

Tuesday 6 January 2009

Quickpost: Running BackTrack 3 on a Eee PC

Filed under: Eee PC,Quickpost — Didier Stevens @ 20:44

I want to run the BackTrack 3 Live CD on my new Eee PC 901. Here is how I configured a SD card to boot the BackTrack 3 USB Version (not the same as installing the BackTrack 3 distro on a SSD or SD card).

  • start Windows XP on Eee PC
  • download the BackTrack 3 USB version
  • use unetbootin to install the BackTrack 3 iso file to the SD card
  • copy 901_net_gfx.lzm to the \BT3\optional directory on the SD card (details and download here)
  • edit file /boot/syslinux/syslinux.cfg on the SD card to add these lines after the LABEL… line:
LABEL EEE
MENU LABEL BT3 EEE Mode
KERNEL /boot/vmlinuz
APPEND vga=785 initrd=/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw load=901_net_gfx autoexec=startx

The following step is only needed if you want to change the keyboard. I use a Belgian keyboard, so I want the default KDE keyboard to be the BE keyboard, not the US keyboard. We will update the kxkbrc file in the root.lzm compressed directory. sda1 is the SD card I booted from, adapt according to your configuration.

  • Boot BackTrack 3 from the SD card and get a root shell
  • cp /mnt/sda1/BT3/base/root.lzm .
  • mv /mnt/sda1/BT3/base/root.lzm /mnt/sda1/BT3/base/root.lzm.original
  • mkdir newroot
  • lzm2dir root.lzm newroot
  • edit file newroot/root/.kde/share/config/kxkbrc
  • edit the LayoutList property and move the be value to the beginning of the comma-separated list, like this:
    • LayoutList=be,us,ch,br,cz,fr,de,it,pl,sk,gb,dk,de
  • save file kxkbrc
  • dir2lzm newroot root.lzm
  • mv root.lzm /mnt/sda1/BT3/base

You can use the same procedure to edit other (config) files, or add files like your favorite utilities.


Quickpost info


7 Comments »

  1. […] Quickpost: Running BackTrack 3 on a Eee PC « Didier Stevens (tags: eepc backtrack) […]

    Pingback by Andrew Hay » Blog Archive » links for 2009-01-07 — Wednesday 7 January 2009 @ 21:04

  2. Thanks for the good post Didier – and welcome to the world of netbooks!

    Comment by Donald — Tuesday 13 January 2009 @ 11:09

  3. Thanks for the welcome Donald!

    Comment by Didier Stevens — Tuesday 13 January 2009 @ 20:03

  4. it’s easier to put the changed kxkbrc into the (new) directory BT3/rootcopy/root/.kde/share/config.

    Comment by foobar — Wednesday 14 January 2009 @ 20:42

  5. Thanks foobar!

    Comment by Didier Stevens — Thursday 15 January 2009 @ 9:35

  6. Thanks compatriote

    @+

    Comment by M*G — Sunday 25 January 2009 @ 15:31

  7. awesome!!!

    Comment by Anonymous — Tuesday 19 May 2009 @ 1:19


RSS feed for comments on this post. TrackBack URI

Leave a Reply (comments are moderated)

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

The Rubric Theme. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

Join 239 other followers

%d bloggers like this: