Create a bootable USB drive

Follow the instructions applicable to your system to create a bootable Clear Linux* OS USB drive:

Prerequisites

  • Download the Clear Linux OS Desktop or Server image from the Downloads page
  • Recommended minimum 4GB USB drive or larger

Create a bootable USB drive on Linux*

Burn the Clear Linux OS image onto a USB drive

Caution

Burning an image formats the USB drive and destroys all pre-existing content. Back up your data before proceeding.

  1. Open a terminal window.

  2. Change directory to where the image resides.

  3. Plug in the USB drive.

  4. Identify the USB drive using the lsblk command with these options: -po NAME,SIZE,TYPE,FSTYPE,PARTLABEL,MOUNTPOINT,VENDOR,MODEL. This shows all drives attached to the system, including the primary hard disk. In the example output below, there are 3 drives (/dev/sda, /dev/sdb, and /dev/sdc) attached, where /dev/sda is the primary drive and the remaining are USB drives.

    lsblk -po NAME,SIZE,TYPE,FSTYPE,PARTLABEL,MOUNTPOINT,VENDOR,MODEL
    

    Example output:

    NAME          SIZE VENDOR   MODEL                    TRAN   TYPE PARTLABEL                    MOUNTPOINT
    /dev/sda    119.2G ATA      SAMSUNG_MZ7PC128HAFU-000 sata   disk
    ├─/dev/sda1   450M                                          part Basic data partition
    ├─/dev/sda2   100M                                          part EFI system partition
    ├─/dev/sda3    16M                                          part Microsoft reserved partition
    ├─/dev/sda4  97.2G                                          part Basic data partition
    ├─/dev/sda5   142M                                          part EFI
    ├─/dev/sda6   245M                                          part linux-swap                   [SWAP]
    └─/dev/sda7  21.1G                                          part /                            /
    /dev/sdb      7.5G General  UDisk                    usb    disk
    └─/dev/sdb1   7.5G                                          part Microsoft Basic Data         /run/media/clear/CENA_X64FRE
    /dev/sdc       15G          Patriot_Memory           usb    disk
    └─/dev/sdc1    15G                                          part                              /run/media/clear/U
    

    Note

    Some Linux distros may automatically mount a USB drive when it is plugged in.

  5. If the USB drive you want to use is mounted, it must be umounted before burning an image onto it. Use the umount command followed by the device identifier/partition. For example, to unmount all of the /dev/sdc partitions:

    sudo umount /dev/sdc*
    
  6. Burn the image onto the USB drive. This example burns an image onto /dev/sdc. The device name of the USB may vary.

    sudo dd if=./clear-[version number]-live-[desktop | server].iso of=/dev/sdc oflag=sync bs=4M status=progress
    

Caution

Not fully unmounting the USB drive before burning an image could cause file system checksum errors in it. If this happens, burn the image again, ensuring all the USB drive partitions are unmounted first.

Create a bootable USB drive on macOS*

Burn the Clear Linux OS image onto a USB drive

Caution

Burning an image formats the USB drive and destroys all pre-existing content. Back up your data before proceeding.

  1. Open a Terminal window.

  2. Change directory to where the image resides.

  3. Plug in a USB drive and get its identifier:

    diskutil list
    

    This lists available disks and their partitions, as shown in Figure 1.

    Get USB drive identifier

    Figure 1: macOS - Get USB drive identifier

  4. Unmount the USB drive identified in the previous step. For example, to unmount /dev/disk2. The device name of the USB may vary.

    diskutil umountDisk /dev/disk2
    
  5. Burn the image onto the drive using the dd command. This example uses ./, your current directory, and it shows how to burn an image onto /dev/disk2:

    sudo dd if=./clear-[version number]-live-[desktop | server].iso of=/dev/disk2 bs=4m
    

    To accelerate the imaging process, add an ‘r’ before the device identifier. Example: sudo dd if=./clear-30800-live-server.iso of=/dev/rdisk2 bs=4m.

    Press <CTRL>-T to check imaging progress.

  6. Eject the USB drive.

    diskutil eject /dev/disk2
    

Create a bootable USB drive on Windows

Burn the Clear Linux OS image onto a USB drive

Caution

Burning an image formats the USB drive and destroys all pre-existing content. Back up your data before proceeding.

  1. Download the Rufus utility to burn the image onto a USB drive. We use Rufus 3.5 for this example. Only use the latest version of Rufus.

  2. Plug in the USB drive.

  3. Launch Rufus.

  4. Under Device, select the USB drive.

  5. Under Boot selection, click the SELECT button.

    Note

    For other image tools, verify the Volume label is set to CLR_ISO Do not change the label as installer relies on it.

  6. In the dialog, navigate to where the Clear Linux OS ISO image was downloaded and select it.

  7. Click the START button. See Figure 2.

    Rufus utility

    Figure 2: Rufus utility

  8. When the dialogue appears, select Write in ISO image mode (Recommended). See Figure 3.

    ISOHybrid image detected

    Figure 3: ISOHybrid image detected

  9. Click OK.

  10. The process make take more than a few minutes. When the process completes, close Rufus.

  11. Select the Windows taskbar menu for USB and select Eject <drive name>.