Create a usb bootable Kali from mac

1.download Kali Linux iso images from http://www.kali.org/downloads/
2. Format the usb stick in disk utility as msdos
3. Open Terminal Window and run the following

Code:

diskutil list

The result is

Code:

/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 250.1 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *8.0 GB disk1
1: EFI 209.7 MB disk1s1
2: Microsoft Basic Data KALILINUX 7.7 GB disk1s2

4. my USB device is /dev/disk1, Then unmount disk by diskutil command

Code:

 diskutil umountDisk /dev/disk1

The result is

Code:

Unmount of all volumes on disk1 was successful

5. You may have to run this as sudo

Code:

sudo dd if=kalilinux.iso of=/dev/disk1 bs=512 conv=noerror,sync

Waiting for complete
When It success

Code:

4288416+0 records in
4288416+0 records out
2195668992 bytes transferred in 1763.590690 secs (1244999 bytes/sec)

create a bootable USB drive for Windows 10

Source is here

Create a bootable USB drive for Windows 10

Windows 10 is set to be released later this month. The OS will be available on flash drives, however, if you want to create your own bootable USB drive for Windows 10, you can do that pretty easily. Here’s how to:


The easy way

There’s always an “easy way” to do things on Windows using some kind of software. Creating a bootable USB drive is also pretty easy – here’s how to do it:

  1. Download Rufus from here
  2. Click and Open rufus.exe
  3. Once the user interface of the software opens up, plug-in your USB
  4. After that, look for the “Create a bootable USB drive option” and from the drop-down, select an ISO Image
  5. Then, click on the button next to the dropdown and select the Windows 10 ISO that you want to install
  6. Lastly, click on “Start” and wait for the software to create the bootable USB drive.

That’s pretty much it. You now have a bootable USB drive, just plug it in your device and make sure your BIOS is all setup and you should now be able to easily install Windows 10 using the bootable USB drive that you just created.


The hard way

If you don’t want to use any software, there’s another way of creating a bootable USB drive, but that’s a bit trickier. Here’s how to do it:

  1. First, make sure your USB drive is plugged in
  2. Search and open Command Prompt as an administrator
  3. Next, you’ll have to open the disk management utility using CMD (Command Prompt) – to do that, type in disk part and hit enter
  4. After that, you will have to display the connected disks that are available – to do that, type in list disk and hit enter
  5. Then, you’ll need to select your USB drive – to do that, type select disk # and hit enter – you’ll have to replace the # with your disk number
  6. Next, you’ll have to clean the USB drive – to do that, type clean and hit enter
  7. Then you’ll need to create a bootable partition – type in create partition primary and hit enter
  8. You will now need to select the partition that you just created. To do that, type in select partition 1. 
  9. After that, type active and hit enter
  10. Next, you’ll need to format the USB drive – just type in format fs=fat32 and hit enter
  11. You’ll now need to assign your USB drive a letter, to do that, just type in assign
  12. Lastly, copy all the Windows 10 files and paste it inside the USB drive. (You can copy the files by extracting an ISO or copy it from a Windows 10 disk).

That’s it! You have just manually created a Windows 10 bootable USB drive and it’s ready to install Windows 10 on your device.


Creating a bootable USB drive is pretty easy, to be honest. I’d recommend following the easy way of creating the bootable USB drive if you’re not an expert – however, if you’re an expert, just follow the hard way of creating the bootable USB drive and avoid using any type of software.

How To Burn an ISO File to a USB Drive

How To Burn an ISO File to a USB Drive

so you have an ISO file that you want on a flash drive, or some other USB storage device. You also need to be able to bootfrom it. Sounds straightforward, right? Copy the file over and you’re done!
Unfortunately, it’s not that simple. Properly burning an ISO to USB is different than just copying the file. It’s even different than burning an ISO to a disc. Adding to the complexity is that you plan on booting from the USB drive once you’re done getting the ISO image on there.
Luckily, there’s a fantastic free tool that will handle all of this for you automatically. Continue on below for an easy tutorial on how to burn an ISO file to USB with the free Rufus program.

Difficulty: EasyTip: See Tip #1 at the bottom of the page if you want to burn an ISO file to a USB drive but you don’t need to boot from it when done. That process is a bit different… and easier!
Note: I should mention here that you’re never technically “burning” anything to a USB drive since there are no lasers or similar technology involved. This term has just been carried over from the common practice of burning an ISO image to an optical disc.
Time Required: “Burning” an ISO image file to a USB device, like a flash drive, usually takes less than 20 minutes but the total time depends a lot on the size of the ISO file.

How To Burn an ISO File to a USB Drive

UPDATE: This process works to burn the Technical Preview of Windows 10 to USB!
  1. Download Rufus, a free tool that will correctly prepare the USB drive, automaticallyextract the contents of the ISO file you have, and properly copy the files contained within it to your USB device, including any files in the ISO needed to make it bootable.

    Rufus is a portable program (does not install), works on Windows 8, 7, Vista, and XP, and will “burn” an ISO image file to any type of USB storage device you happen to have.

    Note: If you’d prefer to use a different ISO-to-USB tool, see Tip #3 at the bottom of the page. Of course if you do choose another program, you won’t be able to follow the instructions I’ve written here because they pertain specifically to Rufus.
     
  2. Double-click or double-tap on the rufus-1.4.12.exe file that you just downloaded. The Rufus program will start right away.

    As I mentioned earlier, Rufus is a portable program, meaning that it just runs as is. This is a big reason why I prefer this ISO-to-USB program over some of the other options out there.
     
  3. Insert the flash drive or other USB device you want to “burn” the ISO file to into your computer, assuming it’s not already plugged in.

    Important: Burning an ISO image to a USB drive will erase everything on the drive! Check that the USB drive is empty or that you have backed up any files you want to keep before continuing.
     
  4. From the Device drop-down at the top of the Rufus program screen, choose the USB storage device you want to burn the ISO file to.

    Tip: Rufus tells you the size of the USB device, as well as the drive letter and current free space on the drive. Use this information to double-check that you’re choosing the correct USB device, assuming you have more than one plugged in. Don’t worry about the free space indicated since you’ll be erasing the entire drive as part of this process.

    Note: If no USB drive is listed under Device, or you can’t find the drive you’re expecting to see, there may be an issue with the USB device you’re planning on using for the ISO image or Windows is having some sort of problem seeing the drive. Try another USB device and/or another USB port on your computer.
     
    Documentation made easy for .NET assemblies, COM, VB, VBA and DBs
    Retrieve more than 50 File formats, Find your Photo/File/Trash now!
  5. Leave the Partition scheme and target system typeFile system, and Cluster size alone unless you know what you’re doing or you’ve been advised to set any of those parameters to something else.

    For example, maybe a bootable tool you downloaded in ISO format advised on its website to make sure the file system is FAT32instead of NTFS if you’re burning to USB. In that case, make the File system change to FAT32 before continuing.
     
  6. You’re welcome to enter a custom volume label in the New volume label field, but leaving it at whatever the default happens to be, or even blank, shouldn’t have any impact on anything.

    Note: Most bootable ISO images include volume label information so you may see this change automatically during Step 11.
     
  7. Under Format Options, you’ll see a number of… yes, format options! You can leave them all in their default state but you’re welcome to select Check device for bad blocks if you have some concern that the flash drive or USB device you’re using may have an issue.
     
  8. Next to Create a bootable disk using, make sure ISO Image is selected and then tap or click on the CD/DVD icon.
     
  9. When the Open window appears, locate and then select the ISO image you want to burn to the flash drive.
     
  10. Once selected, tap or click on the Open button.
     
  11. Wait while Rufus inspects the ISO file you chose. This may take several seconds or may go by so quickly that you don’t even notice.

    Note: If you get an Unsupported ISO message, the ISO you chose is not supported for burning to USB by Rufus. In this case, try one of the other programs listed in Tip #3 below or check with the maker of the ISO image for more help getting their software to work from a USB drive.
     
  12. Tap or click on Start to start the “burning” of the ISO file to the USB device you chose.

    Note: If you get an Image is too big message, you’ll need to use a larger USB device or choose a smaller ISO image.
     
  13. Tap or click OK to the WARNING: ALL DATA ON DEVICE ‘XYZ’ WILL BE DESTROYED message that appears next.

    Important: Take this message seriously! Make sure the flash drive or other USB device is empty or that you’re fine with erasing everything on it.
     
  14. Wait while Rufus properly formats the USB drive so it’s bootable, and then copies all of the files contained in the ISO image you selected in Step 11 to the drive.

    Tip: The total time to do this depends very much on how large the ISO file you’re working with is. I’ve had small diagnostic tools (like the 18 MB ONTP&RE ISO) take under one minute, while larger images (like a 4 GB Windows 8.1 ISO) could take closer to 20 minutes. Your computer and USB hardware speeds are a big factor here as well.
     
  15. Once the status at the bottom of the Rufus program window says DONE, you can close Rufus and remove the USB drive.
     
  16. Boot from the USB drive now that it’s properly “burned” and then continue with whatever it is you’re using this bootable drive for.

    For example, if you’ve put a memory testing program on a flash drive, you can now boot from that flash drive and test your RAM with it. Same goes for bootable hard drive testing programspassword recovery toolsdata wipe programs, etc. See Tip #2 below for more on using this procedure for Windows installation ISO files.

    Tip: Booting from a USB drive is often as easy as plugging the drive in to any free USB port and then restarting your computer, but it can sometimes be much more complicated. Se my How to Boot From a USB Drive tutorial if you need help.

Tips & More Information

  1. Rufus, and related ISO-to-USB tools, are great when you need to get some sort of bootable program, or even an entire operating system, onto a USB drive. But what if you have an ISO image that you want to “burn” to a USB drive that isn’t intended to be booted from? An ISO of Microsoft Office comes to mind as a common example.

    In these cases, think of the ISO image you’re working with as just any other compressed format, like a ZIP file. Use your favorite file compression program – I’m a big fan of the free 7-Zip tool – to extract the contents of the ISO image directly onto the previously-formatted flash drive. That’s it!

    See this List of Free File Extractor Programs for some more free programs that work with ISO files in this way.
     
  2. You’re more than welcome to use the procedure I’ve outlined above with Rufus for Windows ISO images, like those you might have downloaded for Windows 8Windows 7, etc. However, there is a more “official” procedure that uses free software direct from Microsoft.

    I’ve written complete tutorials on these procedures, which also includes guidance on other aspects of installing Windows from a USB stick. See my How to Install Windows 8 From USB or How to Install Windows 7 From USB, depending on the version of Windows you’re installing.
     
  3. Some other free ISO-to-USB “burners” that I’ve used include UNetbootinISO to USB, and Universal USB Installer.
     
  4. Having trouble using Rufus or getting that ISO burned to USB? See my Get More Helppage for information on contacting me for more help.

Create a Bootable USB Flash Drive

Create a Bootable USB Flash Drive

The information below had taken from Create a Bootable USB Flash Drive
Applies To: Windows Server 2012 Essentials, Windows Server 2012 R2 Essentials
You can create a bootable USB flash drive to use to deploy Windows Server 2012 Essentials . The first step is to prepare the USB flash drive by using DiskPart, which is a command-line utility. For information about DiskPart, see DiskPart Command-Line Options.
For additional scenarios in which you may want to create or use a bootable USB flash drive, see the following topics:

To create a bootable USB flash drive

  1. Insert a USB flash drive into a running computer.
  2. Open a Command Prompt window as an administrator.
  3. Type diskpart.
  4. In the new command line window that opens, to determine the USB flash drive number or drive letter, at the command prompt, type list disk, and then click ENTER. The list disk command displays all the disks on the computer. Note the drive number or drive letter of the USB flash drive.
  5. At the command prompt, type select disk <X>, where X is the drive number or drive letter of the USB flash drive, and then click ENTER.
  6. Type clean, and the click ENTER. This command deletes all data from the USB flash drive.
  7. To create a new primary partition on the USB flash drive, type create part pri, and then click ENTER.
  8. To select the partition that you just created, type select part 1, and then click ENTER.
  9. To format the partition, type format fs=ntfs quick, and then click ENTER.

    Important
    If your server platform supports Unified Extensible Firmware Interface (UEFI), you should format the USB flash drive as FAT32 rather than as NTFS. To format the partition as FAT32, type format fs=fat32 quick, and then click ENTER.


  10. Type active, and then click ENTER.
  11. Type exit, and then click ENTER.
  12. When you finish preparing your custom image, save it to the root of the USB flash drive.

See Also