1.7 Creating a Bootable USB Memory Stick

If a UEFI system's firmware supports booting from a USB drive, you can create a boot image on a USB memory stick and use this device to boot the system and start the installation. This boot image does not contain any installation packages. During installation, you are prompted to specify the location of the media that contains the full installation image. See Section 2.1.1, “Starting the Installation”.

Caution

This procedure destroys any existing data on the memory stick.

To avoid overwriting an existing hard disk partition, ensure that you specify the correct device for the USB memory stick. The procedure assumes that the memory stick corresponds to the device /dev/sdb, which might not be the case on your system.

To create a boot image on a USB memory stick:

  1. Insert a USB memory stick into an Oracle Linux 6 system. If the operating system mounts any file systems on the device, unmount these file systems, for example:

    # df /media/MEMORYSTICK
    Filesystem           1K-blocks      Used Available Use% Mounted on
    /dev/sdb1                35346     35346         0 100% /media/MEMORYSTICK
    # umount /dev/sdb1
  2. Mount the installation CD, DVD, or boot ISO image on a suitable mount point, for example /media/Oracle\ Linux\ Server.

  3. Use the dd command to write the contents of the images/efidisk.img image file to the USB device:

    # dd if=/media/Oracle\ Linux\ Server/images/efidisk.img of=/dev/sdb

You can now remove the memory stick and use it to boot a target system.