Obtaining the .dmg file for OS X Lion on a new MacBook Pro that has Lion preinstalled I recently purchased a new MacBook Pro with Lion preinstalled. I'm about to replace the hard drive, and I wanted to burn the Lion installer to DVD so that I could install OS X on the new HDD. However, all instructions I've found for creating a Lion boot disc assume that you've purchased and downloaded Lion from the App Store. On my new machine, is it possible to get the .dmg file and burn it so that I can reinstall Lion on my new SSD?

If this is not possible, what is the recommended approach?
Sadly, Apple doesn't include a Lion install disc in the packaging with the new Macs, nor do they make it available to download.

They did just release Lion Recovery Disk Assistant which will allow you to make a recovery disk out of an external hard drive, which you can use to recover the existing installation or do a new install.