New user; registered to post this in hopes to help others. I have an iMac 27" Late 2009 (iMac 11,1). Replaced HDD with SSD and wanted to secure erase but didn't want to reopen the iMac to pull the SSD and also couldn't make Ubunutu or other linux variants successfully sleep/wake to 'unfreeze' the SSD and I didn't have a spare monitor like the first post gives as an alternative. This sleep/wake issue was mainly because the proprietary ATI drivers wouldn't load and accordingly the system would fail to recognize the graphics subsystem to resume from suspend. I tried to do an actual install of Ubuntu/Linux to USB drives to try to get the ATI drivers running off a bootable USB drive... needless to say this was a nightmare (multiple failed attempts at booting with 'reFit' using all sorts of different methods).
Fast forward to yesterday: XBMCbuntu 11.0 LiveCD was just released yesterday 3/25 and boots my iMac perfectly with ATI drivers running without incident. I can now sleep the computer and wake it perfectly and sure enough the SSD is not frozen, so with a quick pop over into a terminal shell, I can proceed with an hdparm secure erase. Here's some steps if it helps:
1. Boot XBMCbuntu 11.0 LiveCD
2. Select Suspend from Power Menu (lower left corner Power icon)
3. Resume from suspend by pressing power button on iMac
4. Press Ctrl + Alt + F1 on keyboard to get terminal/shell
5. Type sudo passwd root and just hit enter at password (this is so you can proceed to use hdparm with sudo privileges as the default sudo password of 'xbmc' doesn't seem to work with this new release)
6. Type xbmc for "Enter new UNIX password" prompt. (It'll ask you to confirm it.)
7. Proceed with using sudo hdparm as linked to in the first post using the sudo password of 'xbmc' if it asks