oh for xbox's its easy, just fire up your xbox with the case open and wait til your in the dash and unplug the HDD and put it in your computer and boot her up. some tuts say to turn on your computer then use pause break to pause the boot sequence and resume once the HDD is in but i dont know why you would have to have it running.
ask Mike, he says he has done it successfully a couple of times.