Our favorite way, and the fastest method, for getting up and running with Kali Linux is to run it “live” from a USB drive. This method has several advantages: In order to do this, we first need to create a bootable USB drive which has been set up from an ISO image of Kali Linux. The specifics of this procedure will vary depending on whether you’re doing it on a Windows, Linux, or OS X system. Creating a bootable Kali Linux USB key in a Linux environment is easy. Once you’ve downloaded and verified your Kali ISO file, you can use the dd command to copy it over to your USB stick using the following procedure. Note that you’ll need to be running as root, or to execute the dd command with sudo. The following example assumes a Linux Mint 17.1 desktop — depending on the distro you’re using, a few specifics may vary slightly, but the general idea should be very similar. Consider yourself warned. at a command prompt in a terminal window (if you don’t use elevated privileges with fdisk, you won’t get any output). You’ll get output that will look something (not exactly) like this, showing a single drive — “/dev/sda” — containing three partitions (/dev/sda1, /dev/sda2, and /dev/sda5): Imaging the USB drive can take a good amount of time, over ten minutes or more is not unusual, as the sample output below shows. Be patient! The dd command provides no feedback until it’s completed, but if your drive has an access indicator, you’ll probably see it flickering from time to time. The time to dd the image across will depend on the speed of the system used, USB drive itself, and USB port it’s inserted into. Once dd has finished imaging the drive, it will output something that looks like this:
That’s it, really! You can now boot into a Kali Live / Installer environment using the USB device. OS X is based on UNIX, so creating a bootable Kali Linux USB drive in an OS X environment is similar to doing it on Linux. Once you’ve downloaded and verified your chosen Kali ISO file, you use dd to copy it over to your USB stick. Consider yourself warned. Note: Increasing the blocksize (bs) will speed up the write progress, but will also increase the chances of creating a bad USB stick. Using the given value on OS X has produced reliable images consistently. Imaging the USB drive can take a good amount of time, over half an hour is not unusual, as the sample output below shows. Be patient! The dd command provides no feedback until it’s completed, but if your drive has an access indicator, you’ll probably see it flickering from time to time. The time to dd the image across will depend on the speed of the system used, USB drive itself, and USB port it’s inserted into. Once dd has finished imaging the drive, it will output something that looks like this:
And that’s it! You can now boot into a Kali Live / Installer environment using the USB device. To boot from an alternate drive on an OS X system, bring up the boot menu by pressing the Option key immediately after powering on the device and select the drive you want to use. For more information, see Apple’s knowledge base.Making a Kali Bootable USB Drive
What You’ll Need
Kali Linux Live USB Install Procedure
Creating a Bootable Kali USB Drive on Windows
Creating a Bootable Kali USB Drive on Linux
5823+1 records out
3053371392 bytes (3.1 GB) copied, 746.211 s, 4.1 MB/sCreating a Bootable Kali USB Drive on OS X
2911+1 records out
3053371392 bytes transferred in 2151.132182 secs (1419425 bytes/sec)
WARNING: Although the process of imaging Kali Linux onto a USB drive is very easy, you can just as easily overwrite a disk drive you didn’t intend to with dd if you do not understand what you are doing, or if you specify an incorrect output path. Double-check what you’re doing before you do it, it’ll be too late afterwards.
sudo fdisk -l
dd if=kali-linux-1.0.9a-amd64.iso of=/dev/sdb bs=512k
5823+1 records in
WARNING: Although the process of imaging Kali on a USB drive is very easy, you can just as easily overwrite a disk drive you didn’t intend to with dd if you do not understand what you are doing, or if you specify an incorrect output path. Double-check what you’re doing before you do it, it’ll be too late afterwards.
diskutil unmount /dev/disk6
sudo dd if=kali-linux-1.0.9a-amd64.iso of=/dev/disk6 bs=1m
2911+1 records in
0 comments:
Post a Comment