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:

  • It’s non-destructive — it makes no changes to the host system’s hard drive or installed OS, and to go back to normal operations, you simply remove the “Kali Live” USB drive and restart the system.
  • It’s portable — you can carry Kali Linux in your pocket and have it running in minutes on an available system
  • It’s customizable — you can roll your own custom Kali Linux ISO image and put it onto a USB drive using the same procedures
  • It’s potentially persistent — with a bit of extra effort, you can configure your Kali Linux “live” USB drive to have persistent storage, so the data you collect is saved across reboots

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.

What You’ll Need

  1. A verified copy of the appropriate ISO image of the latest Kali build image for the system you’ll be running it on: see the details on downloading official Kali Linux images.
  2. If you’re running under Windows, you’ll also need to download the Win32 Disk Imager utility. On Linux and OS X, you can use the dd command, which is pre-installed on those platforms.
  3. A USB thumb drive, 4GB or larger. (Systems with a direct SD card slot can use an SD card with similar capacity. The procedure is identical.)

Kali Linux Live USB Install Procedure

The specifics of this procedure will vary depending on whether you’re doing it on a Windows, Linux, orOS X system.

Creating a Bootable Kali USB Drive on Windows

  1. Plug your USB drive into an available USB port on your Windows PC, note which drive designator (e.g. “F:\”) it uses once it mounts, and launch the Win32 Disk Imager software you downloaded.
  2. Choose the Kali Linux ISO file to be imaged and verify that the USB drive to be overwritten is the correct one. Click the “Write” button.
  3. Once the imaging is complete, safely eject the USB drive from the Windows machine. You can now use the USB device to boot into Kali Linux.

Creating a Bootable Kali USB Drive on Linux

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.

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.

Consider yourself warned.

  1. First, you’ll need to identify the device path to use to write the image to your USB drive.Without the USB drive inserted into a port, execute the command

    sudo fdisk -l

    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):

  2. Now, plug your USB drive into an available USB port on your system, and run the same command, “sudo fdisk -l” a second time. Now, the output will look something (again, not exactly) like this, showing an additional device which wasn’t there previously, in this example “/dev/sdb”, a 16GB USB drive:
  3. Proceed to (carefully!) image the Kali ISO file on the USB device. The example command below assumes that the ISO image you’re writing is named “kali-linux-1.0.9a-amd64.iso” and is in your current working directory. The blocksize parameter can be increased, and while it may speed up the operation of the dd command, it can occasionally produce unbootable USB drives, depending on your system and a lot of different factors. The recommended value, “bs=512k”, is conservative and reliable.
    dd if=kali-linux-1.0.9a-amd64.iso of=/dev/sdb bs=512k

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:

5823+1 records in
5823+1 records out
3053371392 bytes (3.1 GB) copied, 746.211 s, 4.1 MB/s

That’s it, really! You can now boot into a Kali Live / Installer environment using the USB device.

Creating a Bootable Kali USB Drive on OS X

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.

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 beforeyou do it, it’ll be too late afterwards.

Consider yourself warned.

  1. Without the USB drive plugged into the system, open a Terminal window, and type the command diskutil list at the command prompt.
  2. You will get a list of the device paths (looking like /dev/disk0, /dev/disk1, etc.) of the disks mounted on your system, along with information on the partitions on each of the disks.
  3. Plug in your USB device to your Apple computer’s USB port and run the command diskutil list a second time. Your USB drive’s path will most likely be the last one. In any case, it will be one which wasn’t present before. In this example, you can see that there is now a /dev/disk6 which wasn’t previously present.
  4. Unmount the drive (assuming, for this example, the USB stick is /dev/disk6 — do not simply copy this, verify the correct path on your own system!):
diskutil unmount /dev/disk6
  1. Proceed to (carefully!) image the Kali ISO file on the USB device. The following command assumes that your USB drive is on the path /dev/disk6, and you’re in the same directory with your Kali Linux ISO, which is named “kali-linux-1.0.9a-amd64.iso”:
sudo dd if=kali-linux-1.0.9a-amd64.iso of=/dev/disk6 bs=1m

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:

2911+1 records in
2911+1 records out
3053371392 bytes transferred in 2151.132182 secs (1419425 bytes/sec)

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 Optionkey immediately after powering on the device and select the drive you want to use.

For more information, see Apple’s knowledge base.

Related Articles

  • Kali Linux Live USB Persistence

  • Live Build a Custom Kali ISO

Making a Kali Bootable USB Drive相关推荐

  1. [Guide] Mac OS X Lion: How To Boot A Linux Live System From An USB Drive How To Update Any OCZ SSD

    转自 http://tillmail.de/wordpress/436 Some Problems I Experienced A Mac uses EFI instead of BIOS to ma ...

  2. u盘加密软件linux,U盘加密工具: Wondershare USB Drive Encryption 介绍

    U盘作为机器间数据转移和数据备份的双重作用存在.有时我们需要把U盘借给别人拷贝数据,但又不想让别人看到U盘中的私密内容.为实现这一功能,这里介绍一款符合这个目标的U盘加密软件:Wondershare ...

  3. 制作kali live usb启动盘-win10下

    一.准备 工具 DiskGenius U盘分区工具 Universal-USB-Installer iso系统镜像烧录工具 kali live iso 镜像下载 u盘(最好usb3.0以上,大小64G ...

  4. usb引导盘检测计算机系统,Bootable USB Test

    ootable USB Test是一款简单小巧的usb引导测试工具,支持测试可引导 USB 驱动器和 ISO/IMA 镜像文件.Bootable USB Test 会自动检测所有连接的 USB 驱动器 ...

  5. VirtualBox中Kali使用USB无线网卡

    Windows 7终止技术支持和安全更新还有一年时,疲于激活系统和RMB换来的几年试用(感觉在给Microsoft做负费测试),决定换成Ubuntu感受自由软件(人生苦短,我会再给你推荐Manjaro ...

  6. kali linux几个分区,Kali Linux USB多分区持久存储设备

    Kali Linux是一款 集合多种安全测试工具的Linux发行版本,本文将介绍如何在USB移动存储设备中建立"加密分区"和"非加密普通分区"用来持久保存系统运 ...

  7. Kali 安装USB无线网卡驱动

    0x00 原本物理机上装好了,虚拟机上使用时又忘了, 过程中出现多次make install失败,或者make错误, 出现这种情况可以卸载所有网卡驱动, 重新安装,备忘共勉. 0x01 环境介绍 OS ...

  8. Unclear about USB drive ejection: don‘t unplug until finished

    在Ubuntu上插入U盘拷贝文件后,拔出文件时总是提示:don't unplug until finished. 经过搜索了解,Ubuntu在用户进行拷贝时,并没有真正的拷贝,只有在一定时间时才会进行 ...

  9. RHEL7 USB installation problem and solving

    版权声明:本文为博主原创文章.未经博主同意不得转载. https://blog.csdn.net/scruffybear/article/details/37063701 Encountered qu ...

  10. upan启动写入usb驱动_为什么创建可启动USB驱动器比创建可启动CD更复杂?

    upan启动写入usb驱动 Creating bootable CDs and DVDs tends to be a simple, straightforward process, but why ...

最新文章

  1. 【 FPGA 】认识关键BUFFER
  2. 200822C阶段一文件
  3. github star破13k,Dapr 能否引领云原生中间件的未来?
  4. FFmpeg 是如何实现多态的?
  5. [Vue.js] 深入 -- 组件化开发
  6. 光纤跳线的交叉连接注意点?
  7. fedora python3-mysql_centos 下安装python3 的MySQLdb
  8. 基于javaWEB技术的SSM音乐网站设计与实现(含论文+程序设计+PPT答辩)
  9. 专利申请模板,包含实用新型专利和发明专利模板
  10. Matlab2016A安装步骤
  11. Intellij idea的Dependencies和Libraries有什么区别 ??
  12. 怎样用计算机计算工程量,送给用EXCEL计算工程量的朋友们一个好方法
  13. Android分屏显示
  14. ps、ai超强辅助类插件,神器一样的存在
  15. 嵌入式开发--智能机械臂
  16. matlab四叶玫瑰线,多种语言画玫瑰,总有一款适合你表白
  17. krait和kryo_java原生序列化和Kryo序列化性能比较
  18. 杰里之主动降噪与物理降噪的区别【篇】
  19. 计算机主板 大 小,电脑主板选大的还是小的比较好?
  20. 证件类型为身份证号时进行身份证校验

热门文章

  1. 基于单片机智能交通灯控制系统设计外文文献_三种典型的微机控制系统
  2. java交通灯英文文献,194关于单片机智能交通灯控制系统设计有关的外文文献翻译成品:基于单片机的智能交通控制系统(中英文双语对照)7...
  3. JavaScript获取当前url路径
  4. 云豹直播系统源码搭建部署教程
  5. 视频录制软件哪个好,推荐几款简单实用的视频课件录制软件
  6. 使用EasyCHM生成CHM文档
  7. vscode中怎样格式化js代码_vscode格式化配置
  8. 农业银行联行号怎么查询_中国农业银行大额联行号12位是什么,怎么查找
  9. 网易云音乐,如何修改文件品质为320Kbps
  10. SegNet安装、训练、测试