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 the drive to use to install Oracle Linux. Whether you can create the full installation ISO image or only the boot ISO image depends on the capacity of the USB media.

To create a bootable USB drive, 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.

Caution

This procedure destroys any existing data on the drive. Therefore, ensure that you specify the correct device name for the USB drive on your system.

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

  2. Unmount any file systems on the device.

    Assuming that the USB drive is the /dev/sdb1 device, you would type:

    # df /media/USB
    Filesystem           1K-blocks      Used Available Use% Mounted on
    /dev/sdb1                35346     35346         0 100% /media/USB
    # umount /dev/sdb1
  3. Write the contents of the ISO image file to the USB device, for example:

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

The USB drive is now ready to be used to boot a system and start the installation.