I have a sony vaio laptop 500GB hard disk i5 4GB ram .
I had dual booted my machine with major portion as windows and just a 20GB ubuntu partition.
Then one day i dropped my laptop which kind of damaged the hard disk. I could still run ubuntu but not windows. So i used the windows recovery enviroment and reinstalled windows .
By this windows 7 started working but awfully slow . The pc wud get stuck if i tried running any application and when turned off forcefully it would restart into grub rescue everytime telling either 'No operating System Found ' or 'error attempt to write outside hd0' and some other errors .
The problem was the hard disk. The fall had created many bad sectors in the hard disk memory. So after looking through internet i did a chkdsk -r on cmd and this fixed the bad sectors temporarily.
But then one day the machine got stuck again and when i tried to restart the machine it said "SMART disk check failed back up your data"
Somehow i logged in ubuntu and formatted the hard disk thinking it would solve the bad sector or errors in hard disk . It got formatted. So now i didnt have any OS on my machine. I used an USB to boot into ubuntu and when i tried installing ubuntu on hard disk it wont allow me .
I know i have to buy a new hard disk. But till then i need to use my machine
What should i do ?