Hi all,
I'm struggling to create the remote exam liveUSB with the dd command as described in the manual like below:
Create the remote exam LiveUSB with dd: In the terminal, run Syntax:$ sudo dd
if=/Users/<<user>>/Downloads/<<File_name_of_image. iso>> of=/dev/<<destination
USB drive>> bs=512k
I'm running the following commands as requested:
$ diskutil unmountDisk /dev/disk3
$ sudo dd if=/Users/papa/Downloads/rhrexboot-2023-06.iso>> of=/dev/disk3>> bs=512k
zsh: no such file or directory: of=/dev/disk3
I'm getting a no such file or directory error.
The diskutil list command clearly shows that the directory exists:
$diskutil list
/dev/disk3 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *31.0 GB disk3
1: Windows_FAT_32 USB DISK 31.0 GB disk3s1
Any idea about what's going wrong in my command?
Hi, @Meissa
You wrote:
" (...)
$ sudo dd if=/Users/papa/Downloads/rhrexboot-2023-06.iso>> of=/dev/disk3>> bs=512k
zsh: no such file or directory: of=/dev/disk3
(...) Any idea about what's going wrong in my command? "
I've noticed you have extraneous sequences of ">>" characters in your "dd" command. So, instead of:
$ sudo dd if=/Users/papa/Downloads/rhrexboot-2023-06.iso>> of=/dev/disk3>> bs=512k
... it should simply be the following command instead:
$ sudo dd if=/Users/papa/Downloads/rhrexboot-2023-06.iso of=/dev/disk3 bs=512k
Obviously, before running that comand, please make sure (again!) that "/dev/disk3" is still pointing to your USB flash drive!
I hope this helps.
@Meissa you can always reach out to exam support for any help / guidance / official response in these matters : https://rhtapps.redhat.com/comments
I think they can help you here.
Hi, @Meissa
You wrote:
" (...)
$ sudo dd if=/Users/papa/Downloads/rhrexboot-2023-06.iso>> of=/dev/disk3>> bs=512k
zsh: no such file or directory: of=/dev/disk3
(...) Any idea about what's going wrong in my command? "
I've noticed you have extraneous sequences of ">>" characters in your "dd" command. So, instead of:
$ sudo dd if=/Users/papa/Downloads/rhrexboot-2023-06.iso>> of=/dev/disk3>> bs=512k
... it should simply be the following command instead:
$ sudo dd if=/Users/papa/Downloads/rhrexboot-2023-06.iso of=/dev/disk3 bs=512k
Obviously, before running that comand, please make sure (again!) that "/dev/disk3" is still pointing to your USB flash drive!
I hope this helps.
@ric sharp eyes !! I must have skipped this error in the command.
I see you are using Mac as your shell is ZSH. The path is correct, just check also the file name. Remove the ">>", it does not belong there. It should work. Also, you can use many apps doing the same, instead of the dd command. Rufus, Etcher,(great for Mac), Fedora Media Writer, etc. For Mac, Windows, Linux.
Hi Peter, removing the ">>" solved the issue.
Thanks for your help.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.