I used Oqunn's instructions above and it worked perfectly for me. What a lifesaver! I'm so glad I came across this fix. It was driving me crazy! Just make sure you know what port you have your Sata driveconnected to. Then, find that drive in Disk Utility. Highlight the drive in Disk Utility and click "INFO". Make note of the volume and disk number. Then unmount the drive. In Oqunn's instructions, he is connected to Port 2. If you are using a different port you will need to get the drive device name from Disk Utility by selecting the volume and clicking "INFO". Also, make sure your USB drive with Unibeast is named "USB". Then use terminal and enter the proper code making sure to name the drive that has your OSX installation already installed. It took me a a few tries...but it's really not that difficult. Might save you the cost of buying a new hard drive that doesn't have the new "Advanced Format" issues.
First time it worked (HP ProBook 4530s I got new workstation so converted my laptop to a hackintosh )
I messed up the installation so installed again, but after rebooting with install USB, unmounted the volume ( OSX in my case)
the command did not work, there is no "Volumes" location
the solution, the terminal was not at the root
to check the location use command ls if the folder Volumes is not listed repeat command "cd .." couple times until you can see Volumes folder
hope this will help to other, saving them from frustration
Thank you for the solution! Finally it is working.
But I had to try several times because of simple mistake I made.
I named my laptop disk partition "Lion" and my usb disk partition "Lion" as well, so after I unmounted HDD partition i had "no such a directory or file". After I renamed my USB to "USB" everything worked great!