How to make bootable pendrive
If you are trying to find the solutions of how to make bootable pendrive for Windows or MacOS or Linux(any distors), this is the best place for you.
You can create USB flash drive bootable to use to deploy Windows Server Essentials very easily. The first step is to prepare the USB flash drive by using DiskPart, which is a command-line utility.
- Insert a USB flash drive into a running computer.
- Open a Command Prompt window as an administrator.
- Type
diskpart
. - 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. Thelist disk
command displays all the disks on the computer. Note the drive number or drive letter of the USB flash drive. - 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. - Type
clean
, and the click ENTER. This command deletes all data from the USB flash drive. - To create a new primary partition on the USB flash drive, type
create partition primary
, and then click ENTER. - To select the partition that you just created, type
select partition 1
, and then click ENTER. - To format the partition, type
format fs=ntfs quick
, and then click ENTER.Important Note:
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. - Type
active
, and then click ENTER. - Type
exit
, and then click ENTER. -
When you finish preparing your custom image, save it to the root of the USB flash drive.
- Now just copy the os and past it to save it to the root of your USB flash drive and you are ready to go.
How to make bootable Pendrive for Ubuntu without using Command line-utility from Microsoft Windows
Now you will learn how to make bootable Pendrive for Ubuntu without using Command line-utility, but before that let me tell what you can do with a bootable Ubuntu Pendrive or USB stick. With a bootable Ubuntu USB stick, you can:
- Test out the Ubuntu desktop experience without touching your PC configuration
- Use tools installed by default on the USB stick to repair or fix a broken
configuration - Boot into Ubuntu on a borrowed machine or from an internet cafe
- Install or upgrade Ubuntu
Creating a bootable Ubuntu USB stick from Microsoft Windows is very simple and we’re going to cover the process in the next few steps.
Requirements
You will need:
- A 4GB or larger USB stick/flash drive
- Microsoft Windows XP or later
- Rufus, a free and open-source USB stick writing tool
- An Ubuntu ISO file. See Get Ubuntu for download links
Additional downloads
You may be alerted that Rufus requires additional files to complete writing the ISO. If this dialog box appears, select Yes to continue.
Write warnings
You will then be alerted that Rufus has detected that the Ubuntu ISO is an ISOHybrid image. This means the same image file can be used as the source for both a DVD and a USB stick without requiring conversion.
Keep Write in ISO Image mode selected and click on OK to continue.
Rufus will also warn you that all data on your selected USB device is about to be destroyed. This is a good moment to double-check you’ve selected the correct device before clicking OK when you’re confident you have.
Writing the ISO
The ISO will now be written to your USB stick, and the progress bar in Rufus will give you some indication of where you are in the process. With a reasonably modern machine, this should take around 10 minutes. Total elapsed time is shown in the lower right corner of the Rufus window.
Installation complete
When Rufus has finished writing the USB device, the Status bar will be green filled and the word READY will appear in the center. Select CLOSE to complete the writing process.
Congratulations! You now have Ubuntu on a USB stick, bootable and ready to go.
How to make bootable Pendrive on Ubuntu
With a bootable Ubuntu USB stick, you can:
- Install or upgrade Ubuntu
- Test out the Ubuntu desktop experience without touching your PC configuration
- Boot into Ubuntu on a borrowed machine or from an internet cafe
- Use tools installed by default on the USB stick to repair or fix a broken configuration
Creating a bootable Ubuntu USB stick is very simple, especially from Ubuntu itself, and we’re going to cover the process in the next few steps.
Requirements
You will need:
- A 2GB or larger USB stick/flash drive
- Ubuntu Desktop 14.04 or later installed
- An Ubuntu ISO file. See Get Ubuntu for download links
Launch Startup Disk Creator
We’re going to use an application called ‘Startup Disk Creator’ to write the ISO image to your USB stick. This is installed by default on Ubuntu, and can be launched as follows:
- Insert your USB stick (select ‘Do nothing’ if prompted by Ubuntu)
- On Ubuntu 18.04 and later, use the bottom left icon to open ‘Show Applications’
- In older versions of Ubuntu, use the top left icon to open the dash
- Use the search field to look for Startup Disk Creator
- Select Startup Disk Creator from the results to launch the application
ISO and USB selection
When launched, Startup Disk Creator will look for the ISO files in your Downloads folder, as well as any attached USB storage it can write to.
It’s likely that both your Ubuntu ISO and the correct USB device will have been detected and set as ‘Source disc image’ and ‘Disk to use’ in the application window. If not, use the ‘Other’ button to locate your ISO file and select the exact USB device you want to use from the list of devices.
Click Make Startup Disk to start the process.
Confirm USB device
Before making any permanent changes, you will be asked to confirm the USB device you’ve chosen is correct. This is important because any data currently stored on this device will be destroyed.
After confirming, the writing process will start and a progress bar appears.
Installation complete
That’s it! You now have Ubuntu on a USB stick, bootable and ready to go.
How to make bootable Pendrive on MacOS
With a bootable Ubuntu USB stick, you can:
- Install or upgrade Ubuntu, even on a Mac
- Test out the Ubuntu desktop experience without touching your PC configuration
- Boot into Ubuntu on a borrowed machine or from an internet cafe
- Use tools installed by default on the USB stick to repair or fix a broken configuration
Creating a bootable USB stick is very simple, especially if you’re going to use the USB stick with a generic Windows or Linux PC. We’re going to cover the process in the next few steps.
Apple hardware considerations
There are a few additional considerations when booting the USB stick on Apple hardware. This is because Apple’s ‘Startup Manager’, summoned by holding the Option/alt (⌥) key when booting, won’t detect the USB stick without a specific partition table and layout. We’ll cover this in a later step.
Requirements
You will need:
- A 2GB or larger USB stick/flash drive
- An Apple computer or laptop running macOS
- An Ubuntu ISO file. See Get Ubuntu for download links
Prepare the USB stick
To ensure maximum compatibility with Apple hardware, we’re going to first blank and reformat the USB stick using Apple’s ‘Disk Utility’. But this step can be skipped if you intend to use the USB stick with only generic PC hardware.
- Launch Disk Utility from Applications>Utilities or Spotlight search
- Insert your USB stick and observe the new device added to Disk Utility
- Select the USB stick device (you may need to enable the option View>Show All Devices) and select
Erase
from the toolbar (or right-click menu) - Set the format to
MS-DOS (FAT)
and the scheme toGUID Partition Map
- Check you’ve chosen the correct device and click
Erase
Install and run Etcher
To write the ISO file to the USB stick, we’re going to use a free and open-source application called Etcher. After downloading this and clicking to mount the package, Etcher can either be run in-place or dragged into your Applications folder.
By default, recent versions of macOS block the running of applications from unidentified developers. To side-step, this issue, enable ‘App Store and identified developers’ in the ‘Security & Privacy’ pane of System Preferences. If you are still warned against running the application, click ‘Open Anyway’ in the same pane.
Etcher configuration
Etcher will configure and write to your USB device in three stages, each of which needs to be selected in turn:
- The select image will open a file requester from which should navigate to and select the ISO file downloaded previously. By default, the ISO file will be in your Downloads folder.
- Select drive, replaced by the name of your USB device if one is already attached, lets you select your target device. You will be warned if the storage space is too small for your selected ISO.
- Flash! will activate when both the image and the drive have been selected. As with Disk Utility, Etcher needs low-level access to your storage hardware and will ask for your password after selection.
Write to the device
After entering your password, Etcher will start writing the ISO file to your USB device.
The Flash stage of the process will show progress, writing speed and an estimated duration until completion. This will be followed by a validation stage that will ensure the contents of the USB device are identical to the source image.
When everything has finished, Etcher will declare the process of success.
Congratulations! You now have Ubuntu on a USB stick, bootable and ready to go.
Warning: After the writing process has completed, macOS may inform you that ‘The disk you inserted was not readable by this computer’. Don’t select Initialise. Instead, select Eject and remove the USB device.
Boot your Mac
If you want to use your USB stick with an Apple Mac, you will need to restart or power-on the Mac with the USB stick inserted while the Option/alt
(⌥) the key is pressed.
This will launch Apple’s ‘Startup Manager’ which shows bootable devices connected to the machine. Your USB stick should appear as gold/yellow and labeled ‘EFI Boot’. Selecting this will lead you to the standard Ubuntu boot menu.
Note: If your Mac still refuses to boot off your USB stick you may find it easier to boot and install off an Ubuntu DVD instead.