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:
su -
su -
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Create a mount point for the ISO image file:
mkdir /mnt/dvdiso
# mkdir /mnt/dvdiso
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Mount the image file:
mount DVD.iso /mnt/dvdiso -o loop
# mount DVD.iso /mnt/dvdiso -o loop# mount DVD.iso /mnt/dvdiso -o loop# mount DVD.iso /mnt/dvdiso -o loop
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 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:dd if=/mnt/dvdiso/images/efidisk.img of=/dev/device_name
# dd if=/mnt/dvdiso/images/efidisk.img of=/dev/device_name# dd if=/mnt/dvdiso/images/efidisk.img of=/dev/device_name
Copy to Clipboard Copied! Toggle word wrap Toggle overflow For example:dd if=/mnt/dvdiso/images/efidisk.img of=/dev/sdc
# dd if=/mnt/dvdiso/images/efidisk.img of=/dev/sdc
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 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:
umount /mnt/dvdiso
# umount /mnt/dvdiso
Copy to Clipboard Copied! Toggle word wrap Toggle overflow