So basically this is what I need. I want to put OS X back onto my MacBook. I erased it whilst installing Ubuntu and I'd really like to get it back. I have the OS X.dmg on my computer and need to know what to do next. I tried putting it on a flash drive and booting it but it didn't work. Any help would be awesome!