# Jimmy B. - Restoring a Disk Image and Creating a Bootable Thumb Drive in macOS 10.15.x

**URL:** <https://discourse.jimmyb.ninja/t/jimmy-b-restoring-a-disk-image-and-creating-a-bootable-thumb-drive-in-macos-10-15-x/985>\
**Category:** jimmyb.ninja Posts\
**Created:** [March 22, 2022, 3:27pm UTC](https://discourse.jimmyb.ninja/t/jimmy-b-restoring-a-disk-image-and-creating-a-bootable-thumb-drive-in-macos-10-15-x/985 "2022-03-22T15:27:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimmy](https://discourse.jimmyb.ninja/user_avatar/discourse.jimmyb.ninja/jimmy/32/20_2.png) [@jimmy](https://discourse.jimmyb.ninja/u/jimmy)\
**Post date:** [March 22, 2022, 3:27pm UTC](https://discourse.jimmyb.ninja/t/jimmy-b-restoring-a-disk-image-and-creating-a-bootable-thumb-drive-in-macos-10-15-x/985/1 "2022-03-22T15:27:27Z")

</div>

I wanted to quick share this with everyone. I found it worked over using Disk Utility to restore a `.dmg` disk image to a USB thumb drive.

```
sudo /usr/sbin/asr --noverify --erase --source source --target target
```

Or for example:

```
sudo /usr/sbin/asr --noverify --erase --source /Users/Shared/yosemite.dmg --target /Volumes/Untitled
```

You might also find this useful to ensure it's a bootable drive as well:

```
sudo bless --mount /Volumes/TheVolume --setBoot
```

## Resources

* * *
This is a companion discussion topic for the original entry at [https://jimmyb.ninja/post/1594643585](https://jimmyb.ninja/post/1594643585)
