2.2.2. Minimal USB Boot Media for UEFI-based Systems
Warning
When you perform this procedure any data on the USB flash drive is destroyed with no warning. Make sure that you specify the correct USB flash drive, and make sure that this flash drive does not contain any data that you want to keep.
To creater minimal USB boot media for Red Hat Enterprise Linux, use the
efidisk.img
file in the images/
directory on the Red Hat Enterprise Linux 6.9 installation DVD:
- Download an ISO image file of the Red Hat Enterprise Linux 6.9 installation DVD as described in Chapter 1, Obtaining Red Hat Enterprise Linux.
- Become root:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow su -
su -
- Create a mount point for the ISO image file:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow mkdir /mnt/dvdiso
# mkdir /mnt/dvdiso
- Mount the image file:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow mount DVD.iso /mnt/dvdiso -o loop
# mount DVD.iso /mnt/dvdiso -o loop
Where DVD.iso is the name of the ISO image file, for exampleRHEL6.9-Server-x86_64-DVD.iso
. - Transfer
efidisk.img
from the ISO image file to your USB flash drive:Copy to Clipboard Copied! Toggle word wrap Toggle overflow dd if=/mnt/dvdiso/images/efidisk.img of=/dev/device_name
# dd if=/mnt/dvdiso/images/efidisk.img of=/dev/device_name
For example:Copy to Clipboard Copied! Toggle word wrap Toggle overflow dd if=/mnt/dvdiso/images/efidisk.img of=/dev/sdc
# dd if=/mnt/dvdiso/images/efidisk.img of=/dev/sdc
Note
Use thedd
command to write the image file directly to the device. Usingcp
to copy the file or transferring the file using a file manager will make the device unbootable. - Unmount the ISO image file:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow umount /mnt/dvdiso
# umount /mnt/dvdiso