How to restore a late 2009 iMac after disk replacement My late-2009 iMac will get a new hard drive this week (thanks to Apple's replacement offer. Backup is on Time Machine so I'm not worried about data loss right now.

The system I get back from Apple will contain an empty hard disk only. So to restore  I'll have to boot with the original installation DVD which is Snow Leopard 10.6.4. and somehow upgrade my way up to Mountain Lion again.

What is a fast way to get back from there to a Mountain Lion setup? Ideally a recovery partition would be created as well during the process.
If you have some extra disk space to spare, I would recommend you to make an additional backup with SuperDuper (free for basic functionality, which is all you need in this case!):

You will create a bootable backup, from which you can then boot after you get the repaired Mac back. Test this backup by booting from it once (important) and play around a bit to see if everything feels as it should (improves gut feeling).

Then, you would use SuperDuper, which obviously also is on the backup you have just booted from, and use it to "backup" back to your freshly installed, empty hard drive.

UPDATE: To create the a recovery partition, you can use this useful hint from How can I create or recreate a Lion recovery partition?.

Upsides of this method: You can immediately boot from your external disk, where the bootable backup sits, and you do not have to freshly install Lion, then upgrade to Mountain Lion, and then restore from the Time Machine backup. Hope this helps!