PDA

View Full Version : Install BT3 to EEE PC Solid State Disk


eovnu87435ds
06-24-2008, 11:58 AM
This is a tutorial I put together specifically for the EEE PC. It is derived from pureh@te's guide for a shell install and another guide for the beta from an external site. After following these 20 steps you will have Backtrack 3 running off the solid state disk in no time!
Note: if this hasn't worked for you before, I fixed a few typos, so try again!

You will need...
- An eee pc (4gb or larger SSD)
- A flashdrive (1gb or more) or a blank DVD, and an external USB DVD burner
- USB version of Back|track 3

1. Start by downloading backtrack 3, open the ISO with daemon tools or power ISO, or any other program that will give you access to the folders inside. If you have a DVD instead, just burn the ISO to the dvd using any popular burning program and skip step 2.

2. Copy the BT3 and BOOT folders to your flashdrive. Run the bootinst.bat if you are on windows or bootinst.sh if you are on linux, and make your flashdrive bootable. If you are using windows Vista, please follow the procedure stated below...
Copy BT3 and BOOT folders to your flashdrive. Click Start and search cmd. when cmd.exe appears, right click it and click "Run as Administrator." When it comes up, make sure you navigate to the flashdrive first, and then run the program. If you just type the entire path with the program, it will make your windows hard drive slax bootable only. Then you have no more running Vista. On, the bright side, no more Vista, so its not a total loss!!
***Thanks to governor for the Vista only options***


3. plug your flashdrive into your eee pc, and turn it on. At the grey boot screen, press the ESC key so you come to the boot menu. Highlight your flashdrive and press enter. Choose the 1st selection, Compiz. If an undefined video error comes up, just press SPACE to continue.

4. Once the GUI starts up, open the K menu, and open up xmms(in multimedia.) if they have a white outline around them, continue on. if not, skip to step 9.

5. go back to a working computer, and download the most recent beta of backtrack 3 USB version. It is archived on the remote exploit website.

6. once downloaded, navigate to it, and go to BT3 --> optional --> and copy the cubez.lzm file.

7. plug your flashdrive in, and replace the cubez.lzm file that is on your flashdrive with the one you just copied.

8. repeat steps 3 and 4.

9. format your harddrive, as that is where it will be stored. to do so, foll these commands. My SSD is usally /dev/sdc, so wherever you see that, replace C with whatever letter your SSD is. Also, I will not be creating a swap partition since the SSD does not have much space to begin with, and I have 2GB of ram anyway!!
fdisk /dev/hdc1
o
w
fdisk /dev/hdc1
n
p
1
[enter key]
[enter key]
w
10. restart, for good measures. boot back into your flashdrive using step 3.

11. format your disk in EXT3. yes, its journaled, but its less problematic than EXT2, and later in this tutorial you will cut down on some write cycles.
umount /dev/hdc1
mkfs.ext3 /dev/hdc1
mount /dev/hdc1 12. Now it is time to copy the files from the flashdrive to the SSD
mkdir /mnt/backtrack
mount /dev/hdc1 /mnt/backtrack/
mkdir /mnt/backtrack/boot
cp --preserve -R /{bin,dev,home,pentest,root,usr,etc,lib,opt,sbin,va r} /mnt/backtrack (the underlined is all one command line, dont hit enter inbetween. Also, When I posted, the last folder is all one word, but for some reason it shows with a space between the a and the r. This will take quite a while, just let it go, and grab a cup of coffee or something... it will be done when "bt~#" is back)
mkdir /mnt/backtrack/{mnt,proc,sys,tmp}
mount --bind /dev/ /mnt/backtrack/dev/
mount -t proc proc /mnt/backtrack/proc/
cp /boot/vmlinuz /mnt/backtrack/boot/13. Set up LILO
chroot /mnt/backtrack /bin/bashnow, edit the lilo config file. I will use nano, you can use whatever.
nano /etc/lilo.confdelete everything in it, EXCEPT THE LINE THAT IS vga = 773 the number may be different, but it is the only line that begins with vga that does not have # in front of it. make your lilo.conf look like this.
lba32
boot = /dev/hdc
prompt
timeout = 60
change-rules
reset
vga = 773
image = /boot/vmlinuz
root = /dev/hdc1
label = Back|track3
14. excecute these commands
lilo -v
exit15. Check what letter your flashdrive is assigned, and make sure it is mounted. then copy the xorg config file to fix compiz in the real version. mine is sda1, so change accordingly
cp /etc/X11/xorg.conf /mnt/sda1/16. Shutdown and restart
shutdown -r nowThere is a bug that affects some eee pc users where it will hang in the shutdown process. If it comes to a point where nothing is happening for a while, just force it off with the power button.

17. remove the flashdrive. when you turn on, you will boot from your harddrive. log in with root, password toor. then type startx to start the GUI. If you have gotten this far, congrats, you have Backtrack on your eee pc! all you need to do is fix a few flaws and you can be "auditing" networks in no time.

18. Fix compiz. plug in your flashdrive, click OK, and navigate to BT3 --> Optional. press F4 and a Konsole window will open. Quit the Compiz fusion icon in your panel by right clicking it, and clicking quit
lzm2dir cubez.lzm /
cp /mnt/sdX1/xorg.conf /etc/X11/The next time the GUI runs, compiz should be fully working

19. Reduce write cycles to your SSD. To do this, we will put all log files in your RAM instead of on your SSD, so if you ever need to daignose a problem, comment these lines out or delete them.
nano /etc/fstabAdd these 3 lines to the bottom of that file, and save.
tmpfs /tmp tmpfs defaults,noatime,mode=0777 0 0
tmpfs /var/tmp tmpfs defaults,noatime,mode=0777 0 0
tmpfs /var/log tmpfs defaults,noatime,mode=0777 0 020. Fix Shutdown bug. Some people have a problem where the shutdown process hangs, and they have to force off their eee pc. to fix this, edit the following file.
nano /etc/rc.d/rc.6find the line echo "Unmounting local file systems."
add this line just before it
modprobe -r snd_hda_intelSave and exit

20.Fix Kismet. to do this you must edit Kismet's config file.
nano /usr/local/etc/kismet.conffind this line...source=none,none,addonereplace it with this...
source=madwifi_g,wifi0,madwifisave and exit. Note that you may have to start Kismet from the Konsole by typing kismet instead of picking it from the K menu.

Congratulations! you should have a perfectly working eee pc with Backtrack 3 on the solid state drive! if it still isnt working, post something. if I get the time i may add screenshots to this.
P.S. I bet you didnt notice 2 step # 20s

Barry
06-24-2008, 12:27 PM
Kismet works from the menu now. You don't really "need" the fix. Though it won't hurt if you never use usb wifi devices with your eee. Though the menu won't allow multiple sources, so knowing what to configure with command line doesn't hurt either. :D

3l33t1
07-01-2008, 07:02 PM
Hi i am new ,I used a free program to open the usb iso. Its called 7-zip. And copied actually 3 folders onto the usb drive:E\ and clicked on boot folder boot install,then it was made bootable. Am in the process to follow your tuturial,Bactrack-F to usb then sdhc card or solidstate drive on eee 4 g. Presently have bt3beta on eee. It rulz and im sure this one will too. Great job guys. Thanks My first post

K4rn4K
07-03-2008, 03:56 AM
Can I translate this topic and post it on a Italian Forum ? Naturally with a link to this forum and Back Track Site.

Hayw1re
07-03-2008, 12:32 PM
it does not let me do this : mount --bind /dev/ mnt/backtrack/dev/ says mount: mount point mnt/backtrack/dev does not exist

eovnu87435ds
07-03-2008, 12:57 PM
Can I translate this topic and post it on a Italian Forum ? Naturally with a link to this forum and Back Track Site.

Ma certo! (if i said that right...) sure!

governor
07-24-2008, 05:06 PM
2. Copy the BT3 and BOOT folders to your flashdrive. Run the bootinst.bat if you are on windows or bootinst.sh if you are on linux, and make your flashdrive bootable.


experience to be shared #1:
:)

for those working on vista, and bootinst.bat results with:

"Accessing physical drive: Access is denied.
Did not successfully update the MBR; continuing..."

the solution is "run as administrator"... if you wanna run from cmd to ensure your working directory for avoiding mistakes etc. then an easy way to run cmd as administrator is "start->search->cmd" ... type cmd but dont enter, just wait... in your search list in the start menu you will see cmd.exe... now you can right click it and "run as administrator"

*** reminder: be sure you see the correct drive letter for your good will

hope this helps

Barry
07-24-2008, 05:12 PM
experience to be shared #1:
:)

for those working on vista, and bootinst.bat results with:

"Accessing physical drive: Access is denied.
Did not successfully update the MBR; continuing..."

the solution is "run as administrator"... if you wanna run from cmd to ensure your working directory for avoiding mistakes etc. then an easy way to run cmd as administrator is "start->search->cmd" ... type cmd but dont enter, just wait... in your search list in the start menu you will see cmd.exe... now you can right click it and "run as administrator"

*** reminder: be sure you see the correct drive letter for your good will

hope this helps

People actually use Vista??!! :D

pureh@te
07-24-2008, 05:32 PM
People actually use Vista??!! :D

And if they do why are they admitting it?

eovnu87435ds
07-24-2008, 10:13 PM
experience to be shared #1:
:)

for those working on vista, and bootinst.bat results with:

"Accessing physical drive: Access is denied.
Did not successfully update the MBR; continuing..."

the solution is "run as administrator"... if you wanna run from cmd to ensure your working directory for avoiding mistakes etc. then an easy way to run cmd as administrator is "start->search->cmd" ... type cmd but dont enter, just wait... in your search list in the start menu you will see cmd.exe... now you can right click it and "run as administrator"

*** reminder: be sure you see the correct drive letter for your good will

hope this helps

I will edit my post to put this tidbit of info in there, I only assume it will become more commonplace seeing that XP is no longer being sold by retailers any more.

governor
07-25-2008, 05:48 PM
People actually use Vista??!! :D

well, i am not happy about it but i have to use vista on my laptop. asus is providing the overclock software for my C90S only on vista.

Barry
07-25-2008, 06:01 PM
well, i am not happy about it but i have to use vista on my laptop. asus is providing the overclock software for my C90S only on vista.

Heh, I pulled Vista off all my wife's business computers because their accounting software wasn't Vista compatible. :rolleyes:

kaitandev
07-31-2008, 03:21 PM
And if they do why are they admitting it?
maybe because there is nothing on vista requiring 20 steps to install?;)

=Tron=
07-31-2008, 03:27 PM
maybe because there is nothing on vista requiring 20 steps to install?;)But plenty of stuff requiring 20 steps to get rid of :rolleyes:

Barry
07-31-2008, 04:43 PM
maybe because there is nothing on vista requiring 20 steps to install?;)

Hey, when nothing is compatible, you don't have to install it. :p

kaitandev
07-31-2008, 05:02 PM
i just buy another vista license bundled with a new laptop.Now i have 2 vista and 1 xp license.1 license/year.I already find too many similarities between marriage/buy a new laptop. So guys please be gentle.

K4rn4K
08-10-2008, 08:40 AM
Hi all,

I'm trying to install backtrack on my eeePc, in my SDHC on the card reader, but I have a problem.
When I do this command

umount /dev/sda1
mkfs.ext3 /dev/sda1

after this, all ok, but when I execute

mount /dev/sda1

the system return me this error:

"mount: can't find /dev/sda1 in etc/fstab or /etc/mtab"

Can you help me ?
Thanks

pureh@te
08-10-2008, 09:03 AM
because you have to provide a mount point. If you are installing to sdhc card you posted in the wrong thread anyway.

Try this method here (http://forums.remote-exploit.org/showpost.php?p=70301&postcount=1)

I'm not even sure exactly what your doing but in order to make that work you would have to...
mkdir /mnt/sda1
mount /dev/sda1 /mnt/sda1

K4rn4K
08-10-2008, 09:26 AM
Ok I have done all, but when I reboot the system give me this message


VFS: Cannot open root device "801" or unknown-block(8,1)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1)

pureh@te
08-10-2008, 09:48 AM
That is because your trying to do a "real" install to sd card which requires some extra parameters in the lilo file. I have never had a reason to do it because a live install on shhc with changes is a much smarter way to go. You will need to search around because this topic has been discussed a few times in the past few months.

miksle
08-20-2008, 01:48 PM
Hi! I have tried to search your forum for any "guides" on how to install backtrack on a acer aspire one, but failed to find any.
So i tried to follow this guide, after all they both use SSD disks.
I get to the part where im supposed to copy all the files from the USB drive over to the SSD. The part where you state "this may take a while"
I have been waiting for 5 hours and its still not finished. Is this normal? And i can see the USB drive working by the flashing light so i know its not frozen. Help would be very much appreciated.. Thank you!

eovnu87435ds
08-21-2008, 01:38 PM
Hi! I have tried to search your forum for any "guides" on how to install backtrack on a acer aspire one, but failed to find any.
So i tried to follow this guide, after all they both use SSD disks.
I get to the part where im supposed to copy all the files from the USB drive over to the SSD. The part where you state "this may take a while"
I have been waiting for 5 hours and its still not finished. Is this normal? And i can see the USB drive working by the flashing light so i know its not frozen. Help would be very much appreciated.. Thank you!

Some flash media can be act out when copying large amounts of data at once. When copying to my eee pc's SSD, it takes ma about 25 minutes, but when i did the same command to my sdhc card, it took nearly 2 hours. 2 suggestions to try would to be:
wait it out
copy in small portions
Also, there are options in the Konsole to monitor for activity and silence. If you enable these, and have them emit a sound, you can essentially start the copy, turn your volume up, and walk away, do whatever, and it will call you back when it's ready

ZeroZone
10-20-2008, 10:26 AM
I m really sorry but can someone upload and link to the cubez.lzm file, cause i dont want to download 900mb file just for one file. And can i translate this to finnish to the my homepage..... Sorry nothing enymore i found it.

ZeroZone
10-23-2008, 09:44 AM
Will this tutorial work on Eee pc 901.

Barry
10-23-2008, 11:07 AM
Will this tutorial work on Eee pc 901.

I don't see why not.

ZeroZone
10-23-2008, 11:29 AM
I mean with that cubez and other shit. I cant get startX work.

Barry
10-23-2008, 12:52 PM
I mean with that cubez and other shit. I cant get startX work.

Oh, all that useless crap, no idea.

eovnu87435ds
10-25-2008, 03:45 PM
Will this tutorial work on Eee pc 901.

what exactly do you mean startX doesnt work? what happens when you try startx?

Barry
10-25-2008, 06:04 PM
http://forums.remote-exploit.org/showthread.php?t=16340

ff.S!
11-05-2008, 06:08 AM
Thanks to eovnu87435ds for his How-To!

Worked out perfectly for me on an EeePC 900.

SuperMiguel
11-11-2008, 01:31 PM
So if i just got the Eee 160Gb of HD i can use this method as well i guess. U guys think i should leave windows xp on it and dual boot? or just use bt3 all the way in??? thanks =)

southeastbeast
11-11-2008, 08:48 PM
Just got my EEE (900a 4gb SSD, atom proc) a few days ago! I'm loving it, but when I tried to do this install I got an error and OS on the SSD now. lol

So when I went to cp --preserve -R all the files..

It says
"cp: writing '/mnt/backtrack/opt/leo/src/leocolor.pyc': No space left on device"

and it says it for every file after that.

Is this my thumbdrive that is out of space? Because this happened on an 8gb and a 2gb thumbdrive I have.