Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
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
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
After that there is not so much that we can do. You don't have CD, you don't have Internet.. Do you have computer? – Lucio Aug 1 '12 at 3:23
show 4 more comments

3 Answers

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
  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

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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