Using dd Command on MacOS for Red Rat Exam Boot USB Stick

Mindwatering Incorporated

Author: Tripp W Black

Created: 06/02 at 11:42 PM

 

Category:
OS X Tips & Hints
Utilities

Task:
Create Red Hat exam "LiveUSB" boot stick from Red Hat Remote Exam ISO file.

Two options:
- Download and install the Fedora Media Writer
- Use the built in dd utility of Mac OS - these instructions


Prerequisites:
- You are getting ready to take an exam and need the required OS environment
- You have the Exam Prep PDF instructions
- You have downloaded the ISO image.

As of 2026/06, the PDF is found at:
www.redhat.com/rhdc/managed-files/tr-remote-exams-preparation-ebook-f27382-202103-en_1.pdf


Steps:
1. Prep for USB writing:
a. Login to your MacOS

b. Run the Terminal utility app.
(Applications --> Utilities --> Terminal)

c. In the terminal window, list the disk devices:
-bash-3.2$ diskutil list
<review the list of disks take note of the devices and the current disk numbers>

/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: Apple_APFS_ISC Container disk1 524.3 MB disk0s1
2: Apple_APFS Container disk3 994.7 GB disk0s2
3: Apple_APFS_Recovery Container disk2 5.4 GB disk0s3

/dev/disk3 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +994.7 GB disk3
Physical Store disk0s2
1: APFS Volume Macintosh HD 11.2 GB disk3s1
2: APFS Snapshot com.apple.os.update-... 11.2 GB disk3s1s1
3: APFS Volume Preboot 7.2 GB disk3s2
4: APFS Volume Recovery 1.0 GB disk3s3
5: APFS Volume Data 567.7 GB disk3s5
6: APFS Volume VM 11.8 GB disk3s6

Notes:
- In the case of this example Mac, there is /dev/disk0 and /dev/disk4
- When we insert the USB stick to overwrite, it will not be one of these device disks.

d. Insert the USB stick:
- If the USB causes a Finder window to open, close the window. We don't want the USB stick in use.

e. In Terminal, rerun the list:
-bash-3.2$ diskutil list
<review the list of disks take note of the devices and the current disk numbers>

Notes:
- Note the new dev/disk<N> listed
- For the purposes of this document, we are going to assume that USB stick is /dev/disk5


2. Perform the LiveUSB creation:
a. Unmount the USB stick:
-bash-3.2$ diskutil unmountDisk /dev/disk5
<check message>

b. Confirm the USB is unmounted:
-bash-3.2$ diskutil list
<confirm the USB stick's status>

c. Create the Live USB:
-bash-3.2$ sudo dd if=/Users/<myid>/Downloads/rhre-20260209.iso of=/dev/disk5/ bs=512
<enter password>

- Answer Prompts:
- It is likely that you will be prompted twice to Allow the format; once for the Downloads folder, and once for the Removable Volume (/dev/disk5) overwrite. Answer Allow for both.

- Wait for the process to finish. It will like take a minute to several minutes.


3. Try out the Live USB on your desired MacOS workstations
a. Login to the Mac that you want to try out.
- Ensure it has only one Monitor
- Ensure it has only one wired keyboard and mouse
- Ensure it is plugged into power (if Macbook)
- Ensure it has a wired microphone and a wired web cam. The web cam must have a cable minimum 1m long so that inspection can occur.
- Ensure anything else is removed

b. Insert the USB

c. Set the USB to be the Startup disk:
- System Settings (gear icon) --> General Settings --> Startup Disk
- Select the USB stick icon --> click Restart... (button)

d. Does everything work?
- Did it boot okay into the USB stick?
- Does the wired keyboard and mouse work?
- Does the monitor still work?
- Does the microphone and camera work?

Run the Linux Terminal, confirm that various commands and programs work that will be needed for the exam.






previous page

×