TransWikia.com

hdiutil: command not found

Ask Ubuntu Asked by user241645 on December 17, 2021

I want to convert a .iso file to a .img file. So I write:

hdiutil convert -format UDRW -o ~/home/antu/target.img ~/home/antu/ubuntu.iso

in a terminal window. It shows that:

hdiutil: command not found

So please help me?

2 Answers

ccd2img converts only raw img files to iso files.

There are also 'Apple Disk Image' files (Mac OS 9 and earlier) which also end with the img postfix but are completely different.

Answered by MACK III on December 17, 2021

Welcome to AskUbuntu. hdiutil is a proprietary software developed by US software company Apple, it does not run on Linux.

You can use ccd2iso for the reverse conversion; first install it:

sudo apt-get install ccd2iso

And then run it:

ccd2iso ~/home/antu/target.img ~/home/antu/ubuntu.iso

Answered by Luís de Sousa on December 17, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP