Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

Like a dummy I deleted the Ubuntu partition on my hdd and restarted my computer. Now when it boots up I get

Error: no such partition
Grub rescue>

I don't have a asus repair disk nor a Ubuntu disk I'm using my iPhone as I don't have anything else. Am I screwed or is there a fix?

share|improve this question

marked as duplicate by Warren Hill, guntbert, Eric Carvalho, Alaa Ali, Andrea Corbellini Sep 17 '13 at 16:22

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Don't worry. You should put a LiveCD and type a little code and it will be solved. –  Lucio Aug 1 '12 at 2:52
    
Don't have a live cd. :/ –  Scottwilson Aug 1 '12 at 2:53
    
Ok, you don't have any kind of CD.. You must download one, I recommend the LiveCd from here: ubuntu.com/download/desktop –  Lucio Aug 1 '12 at 3:02
1  
I have no way to download it as this is he onl computer I have, I'm using my iPhone to get on here. –  Scottwilson Aug 1 '12 at 3:10
1  
@AnwarShah I don't agree that it is off-topic in either case. If he got in trouble because he tried Ubuntu we should lend him a hand in recovering if we can. –  John S Gruber Aug 1 '12 at 5:41

3 Answers 3

  1. get a rescue disk (eg Boot-Repair-Disk), or download it from another computer
  2. boot the broken computer on this disk
  3. repair it
share|improve this answer

i think it was a dual boot, if it was win 7, you will have to borrow a windows installation disk and boot from it, then you have to go to the repair option and then the command prompt, there u will have to type "bootrec.exe"

it will fix your boot sector and thus, it will enable to boot win 7.

http://support.microsoft.com/kb/927392

share|improve this answer
    
I don't have a disk but I'll see if I can borrow one from a friend, thanks –  Scottwilson Aug 1 '12 at 3:40
    
I think this is your best bet. Your disk has not been blanked. If you never removed your Windows partition it should still be there and you should be able to use it. Your Ubuntu stuff is probably still on the disk but it won't be able to be found because you removed the partition information. Ubuntu LUGs or other computer clubs or computer shops should be able to loan you a bootable CD or flash drive to help you. –  John S Gruber Aug 1 '12 at 13:58

You're pretty boned. Right now, you just have an (almost) empty hard drive or partition.

Since it's pretty much blank, reinstalling shouldn't be too tough.

So, I recommend to re-install Ubuntu using Ubuntu Live CD or creating a Ubuntu USB disk. Of course, you should select the same old partition from which your Ubuntu get deleted. This will restore (reinstall) Ubuntu and at the same time, You Windows system will be again bootable (Because, at the final stage of Ubuntu installation, it will look for other OSs in the disk)

share|improve this answer
    
It's going to suck as I don't have a win7 os disk or any other os disk –  Scottwilson Aug 1 '12 at 2:55
3  
The disk isn't really blank. You should be able to recover from this. Once you can reboot you can use Windows to download and create a rescue CD or Ubuntu CD. –  John S Gruber Aug 1 '12 at 14:03

Not the answer you're looking for? Browse other questions tagged or ask your own question.