I freshly installed Ubuntu on my computer a few days ago to run an exclusive program. I finished with it, and I was about to format the drive to reinstall Windows. However, my little brother wanted to run this command in the terminal on it which would destroy the OS, and I thought that it would not hurt since I would be formatting the drive anyway.
It was this:
sudo rm -rf --no-preserve-root /
Excuse my noobiness if this command is supposed to end the world or something. So it screwed up the OS and I rebooted the PC with the Windows setup USB, planning to format the drive in Windows Setup.
However, upon restart, the monitor was not receiving any input at all. Also, the HDD indicator (or whatever the red light was) wasn't doing one thing. (It was off, in fact.) The fans were working and the DVD drive was, though. (I don't think that there is a PC speaker in there, so if you need some beep error codes, sorry.)
I tried switching the VGA cable from the graphics card to the motherboard, but I still got no input. I tried inserting this old Windows XP disk into the disk drive, but nothing showed up. Mashed the Delete, F12, etc. buttons, but nothing happened. I then looked online and tried a suggestion to reseat the RAM, but nothing changed. I'm thinking of resetting the CMOS manually but haven't gotten to it yet. (Please tell me if you were going to recommend doing so, because I don't want to screw up the PC if I don't have to.)
I have UEFI so I may be able to use a backup chip in case the BIOS is corrupted.
del -s c:\*.*
in Windows command line (if my DOS syntax memory is correct). Of course deleting the OS will cause the OS to fail, but nothing more. You should actually get a GRUB prompt. You have some other problem, and it has nothing to do with Ubuntu. Even if the disk failed, that wouldn't affect the USB or DVD boot. – Marty Fried Sep 07 '14 at 22:03