Creating Bootable USB From ISO on Mac OSX

Insert USB Media and Format

Insert your USB flash drive and use disk utility to format it (press command space to open spotlight search and type Disk Utility). Select the flash drive, choose edit erase and format to MSDOS.

Convert ISO to IMG Format

Once you’ve downloaded your ISO to your machine you will want to open terminal and cd to the directory. Once you’ve done this you’ll want to run the following commands (substituting your path):

hdiutil convert -format UDRW -o /path/to/target.img /path/to/source.iso
Once you’ve done this you’ll want to remove the .dmg extension by running the following (replacing the path with your path)
mv /path/to/target.img.dmg /path/to/target.img

DD the IMG to USB Stick

Next we’ll use the Unix dd command to block copy the img file to the USB. Pay attention to the size of your flash drive when doing these steps as you can cause yourself some headache if you aren’t careful.

diskutil list

Note the path to your drive and proceed to unmount it from the terminal (replacing # with the disk number for your USB stick):
diskutil unmountDisk /dev/disk#

Next we’ll use the dd command specifying the input file (if) which is your img file, and output file (of) which is the path to your USB flash drive, and specify block size (bs). Again where # is a placeholder for the disk number of your USB stick.
sudo dd if=/path/to/downloaded.img of=/dev/rdisk# bs=1m

Finally once this process completes we can eject the flash drive

diskutil eject /dev/disk#
That’s it, you’re ready to go.


Sample of Entire Process With Windows 10 ISO

Richards-MacBook-Pro:~ rstaats$ cd Downloads/
Richards-MacBook-Pro:Downloads rstaats$ hdiutil convert -format UDRW -o en_windows_10_multiple_editions_x64_dvd_6846432.img en_windows_10_multiple_editions_x64_dvd_6846432.iso
Reading J_CCSA_X64FRE_EN-US_DV5 (Apple_UDF : 0)…
Elapsed Time: 10.859s
Speed: 358.6Mbytes/sec
Savings: 0.0%
created: /Users/rstaats/Downloads/en_windows_10_multiple_editions_x64_dvd_6846432.img.dmg
Richards-MacBook-Pro:Downloads rstaats$ mv en_windows_10_multiple_editions_x64_dvd_6846432.img.dmg en_windows_10_multiple_editions_x64_dvd_6846432.img
Richards-MacBook-Pro:Downloads rstaats$ diskutil list
/dev/disk0 (internal):
0: GUID_partition_scheme 251.0 GB disk0
1: EFI EFI 314.6 MB disk0s1
2: Apple_CoreStorage APPLE SSD 250.0 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3

/dev/disk1 (internal, virtual):
0: Apple_HFS APPLE SSD +249.7 GB disk1
Logical Volume on disk0s2
Unlocked Encrypted

/dev/disk2 (external, physical):
0: FDisk_partition_scheme *16.0 GB disk2
1: DOS_FAT_32 U 16.0 GB disk2s1

Richards-MacBook-Pro:Downloads rstaats$ diskutil umountDisk /dev/disk2
Unmount of all volumes on disk2 was successful
Richards-MacBook-Pro:Downloads rstaats$ sudo dd if=en_windows_10_multiple_editions_x64_dvd_6846432.img of=/dev/rdisk2 bs=1m
3894+1 records in
3894+1 records out
4083853312 bytes transferred in 432.072596 secs (9451776 bytes/sec)
Richards-MacBook-Pro:Downloads rstaats$ diskutil eject /dev/disk2
Disk /dev/disk2 ejected
Richards-MacBook-Pro:Downloads rstaats$

The Importance of Vacation

Burnout Is Real!

As a bit of a self-described workaholic, taking vacation is something that is honestly hard for me. There are always projects and an un-ending backlog of tickets to get done and so many other side projects competing for attention. Don’t fall into the trap of planning vacations around these things. If we’re being honest for a moment, the work will still be there when you get back and unless you’re a one person IT shop you do have a team you can count on. Burnout reveals itself all sorts of ways, it could be that your tolerance for issues and failures on the parts of others has become extremely thin, or that you start dreaming about work, or you get insomnia from worrying about work, or even worse you dread Sunday because you know you have to go back to work the next day.


The cost of burnout is high. It can show itself as irritability with customers and colleagues, not being able to get any one thing fully accomplished instead racing around trying to work on too many things at once while things fall through the cracks. Burn out can lead employees to leave their employer due to high stress levels and not maintaining a healthy work/life balance. I’ve heard of people leaving the industry completely citing burnout as one of the top reasons. Sure your co-workers will miss you and will be busier while you are on vacation, but as a matter of mental health and the well-being of your career vacations are certainly important.


Fully Unplugging

It’s best to truly unplug, if you are flying out of town or going somewhere, leave the laptop behind. As IT professionals we spend many of our waking hours in front of machines, take some time to enjoy the rest of the world without the laptop. Sure if there is a priority 1 fire and you are the only person who knows how to fix it you should absolutely answer your phone, however there are ways to minimize this, and as long as you continue to be the only one who knows how to fix specific things you will never get to fully unplug.


Some tips to prevent calls while on vacation include sitting down with your team before vacation and going over areas where there may be knowledge gaps. This is especially important if you have been silo’d on a project for a while or know some really nitty gritty details that others on your team may not. Also if you have an internal Confluence or wiki be sure to document tasks that colleagues typically turn to you for, as this will help them be more self-sufficient in your absence. Be sure to set an auto-responder on your emails with the dates you are out and contact details of how to reach your team (preferably via a support ticketing system, on-call phone number, or group email alias). Any tasks that have critical timelines that can threaten to delay a project should be sent out in a summary email detailing the deadlines (referencing ticket numbers) and who will be responsible for these tasks while you are out. If you are working with project managers or other stakeholders who communicate with you regarding the status of these tasks, be sure they know who will be covering these for you in your absence.


Resist The Urge To Respond

If you have work email on your phone you may want to remove it while you are on vacation, or if you are checking emails to avoid a mountain of emails when you get back there are a few helpful strategies, however the key here is to not respond to emails unless you absolutely have to. If customers and colleagues see you responding they will assume you are available and will begin contacting you, try to avoid this as much as possible. A good way to handle checking email on vacation if you so choose is to do so only once a day or once every couple days. Delete/archive all emails that do not require a reply. Star/flag any emails you need to respond to when you return from vacation. This will help make email more manageable upon your return. If you are one of the lucky ones who can and has decided to avoid email altogether while on vacation, when you return you can try sorting email by sender, which will help you to most easily weed through what is important and what is not. Chances are email alerts from monitoring systems are no longer relevant, along with any vendor spam, while emails from your boss or HR are probably worth prioritizing.

Also for the love of god remove or sign out of and turn off notifications on the mobile app for Slack, Hipchat, Skype, or whatever instant messaging platform used in your office.

Returning To Work

Once your vacation has ended and you’ve successfully had some R&R, confronting work and getting up to speed may seem daunting. If your team does stand-ups see if you can get a brief summary of project statuses and important events while you were away or schedule a short meeting with your team. Also allow yourself a few hours to catch up on email and start responding. In general at least half of your first day back should allow time to catch up on communications, and ensure you’ve removed all auto-responders, and updated your voicemail to remove any out of office greeting you may have recorded.

Happy Holidays and 2nd Blog-Anniversary

Well, its that time of year again where snow is upon us and houses are filled with families celebrating the Holidays. 2 years ago I started this blog while working as a systems admin at a small company finding my path in the IT world and posting lessons I’ve learned along the way. Over the past 2 years my career has grown from a virtualization and Windows admin to working as an Operations Engineer for a hosting company primarily working on Linux systems and various hypervisors. I’ve now found myself in a DevOps role as a cloud engineer working on high availability cloud architecture for household name entertainment companies. Blogging has been a passion of mine throughout my career as i have relied on the blogs of others as well as documentation to find my way out of difficult issues. For things I’ve run into that weren’t terribly intuitive I felt it my responsibility to contribute back to the community in hopes that I can save someone else the same headache I went through to fix an issue. As I come to the 2nd anniversary of the blog I just want to say thank you to all who have come here and read posts and wish all of you happy holidays and happy new year. Also if you’re an IT professional I highly encourage you to blog and contribute back to the community, even if you feel like you don’t have much to contribute, I guarantee you do.