BlackArch full install on a usb 3.0

2 minute read Published:

what you need:

  • one usb 3.0 stick with at least 100G to be able to install all your tools and personal scripts
  • another usb any type or DVD/CD, this is for the install
  • laptop or desktop computer
  • latest blackarch live cd iso file HERE

Why? I do pentesting and linux forensics, I need always a couple USB drives with clean and secure usb sticks with me. why USB 3? well, the speed of course, you wont even notice you are working from a usb. you could tecnically do this on a usb 2.x but be ready to have a slow system.


Step 1 burn the downloaded blackarch GNU/Linux live ISO into the generic USB stick or CD/DVD, this will create a live cd/usb for you to boot into.

 
sudo dd bs=512M if=file.iso of=/dev/sdX

change X for the target drive, usb or cd/dvd letter, example /dev/sdd Step 2 Go to your laptop or desktop and boot into the BlackArch GNU/Linux live cd.
Step 3 When booted log in with username root and password blackarch right click on the desktop for a menu, find "terminals" and open one.
Step 4 Connect your USB 3.x stick into your desktop or laptop, make sure it detects it and write down the device name.
dmsg

make sure you do write down the device name, if not you could delete the local HD instead of writing to the USB!!!

for the lastest version of blackarch-install, you can configure the network, that is out of scope but most likely a simple dhcp command will do. then:

sudo pacman -S blackarch-install-scripts

now lets start the instalation:

sudo blackarch-install

from here on you can just follow the instructions on the blackarch website, when it ask for what device to do the instalation to, enter the USB 3.x stick device, for example /dev/sdb


Just follow the instalation instructions HEREthey are very easy, just make sure you install to the right device!!

note: if you running this on virtualbox later on, you prob have to run “VBoxClient-all && xrandr –output VGA-0 –auto” so the resolution auto changes when incrementing the window size. note: more to be added, contact me for suggestions. handle = [rek2,rek2wilds,rek2gnulinux]; channel(“#blackarch”) on @freenode

comments powered by Disqus