1.2.2 Preparing USB Installation Media

If a system's firmware supports booting from a USB drive, you can create a boot image on a USB drive and use this to install Oracle Linux. Depending on the capacity of the USB drive, you can use the full installation ISO image or the boot ISO image to create the bootable USB drive.

To create a bootable USB drive, you can use the dd command or a separate utility that can write an ISO image to a USB drive. The following steps describe how to use the dd command.


This procedure destroys any existing data on the drive. To avoid overwriting an existing hard disk partition, ensure that you specify the correct device name for the USB drive. The following procedure assumes that the USB drive is the /dev/sdb1 device, which might not be the case on your system.

  1. Insert a USB drive into an Oracle Linux system.

    If the operating system mounts any file systems on the device, unmount these file systems, for example:

    # df /media/USB
    Filesystem           1K-blocks      Used Available Use% Mounted on
    /dev/sdb1                35346     35346         0 100% /media/USB
    # umount /dev/sdb1
  2. Use the dd command to write the contents of the ISO image file to the USB device.

    # dd if=iso_file_name of=usb_device bs=bytes

    For example:

    # dd if=./full_image.iso of=/dev/sdb bs=512k

    Note that you must write the ISO contents directly to the USB device node, not to a partition on the USB device. This helps to ensure that the device is bootable and the contents are found in the correct location.

You can now remove the USB drive and use it to boot a system.