That was exactly what i wanted you to do. Glad you didn't lose your data.

You can do the decompression and writing in one step:

Code:
bunzip2  /home/user/Desktop/ip511a.img | dd of=/dev/sda