If it has to be now, then the Lenovo will be good enough. My friend has the y510p, and it's a decent computer.
As for buying an OS, you can try and get the code off the backside of your old computer
As for buying an OS, you can try and get the code off the backside of your old computer