dimanche 3 mai 2009
Backtrack 4 beta on EeePC 701
Par Laurent, dimanche 3 mai 2009 à 11:39 :: Linux
On a previous article, i explain how to add a module to make Backtrack 3 working better on Asus EeePC 701
.
Backtrack 4 beta
is now out from some time now, and it is now based on Ubuntu (Slackware for BT3), and this module has to be adapted.
Once again, you can easily install BackTrack 4 beta on an USB stick or SSD card, and boot on it.
It's simply works !
Installation :
- First, you need to locate your USB device. On my EeePC, it is /dev/sdb. My BT4 files are on /mnt/sdb1 and changes partition on /mnt/sdb2
- Download the following files and install them on /mnt/sdb1/BT4/optional/
- Edit /mnt/sdb1/boot/syslinux/syslinux.cfg and add these lines (just after the PROMPT, TIMEOUT and DEFAULT lines)
LABEL BT4 MENU LABEL BT4 Beta - EeePC + Console with Persistent Changes KERNEL /boot/vmlinuz APPEND vga=0×317 initrd=/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw quiet changes=/dev/sdb2 load=EeePC LABEL BT4 MENU LABEL BT4 Beta - EeePC + Console KERNEL /boot/vmlinuz APPEND vga=0×317 initrd=/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw quiet load=EeePC
- Reboot, and make sure the right choice in BT4 syslinux menu is OK
What's inside EeePC module
Reduce write cycles on flash devices
tmpfs should be mount on some temporary directory. However, /etc/fstab in rebuild at boot stage, using liblinuxlive script (that is part of the linux live framework)
So we can't easily patch this library to add our tmpfs entry.
I found that the best way to add tmpfs in fstab was to add a rc script (S34tmpfs) in rcS.d directory, that have to be run just before S35mountall.sh
/var/log is no longer mount on tmpfs in this lzm for BT4 as there are many already created directory on /var/log that have to be here
kismet.conf
provide madwifi source for onboard EeePC chipset
scripts monitor_start and monitor_stop
to easily start/stop monitor mode on internal wifi device (usefull for aircrack-ng)
on EeePC
.