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.

I will attempt to keep this as comprehensive as possible.

Long story - short of how this all came to be: Windows 7 partition ran out of room (insanely made this 120GB, far too small for my needs), I deleted Ubuntu 10.04 and reinstalled Windows 7. I now have two Windows 7 running side by side with the option to boot either at start-up. I did this with the intention of being lazy moving files.

All went well until it came time to remove the original Windows 7 install. Using a USB iso of 12.04 I removed the 120 GB Windows 7 install. I ran out of time to complete the resize (and figured for safety sake I should do only one operation at a time), so at this point I restarted. No boot... CRAP.

Thought installing Ubuntu might cause GRUB to give me dual boot options, nope.

At this point, I have read forum after forum and after trying countless various fixes such as boot repair in Ubuntu, repairing from the Windows 7 CD, banging my head on the keyboard, I am at wits end.

Also I don't know if this helps but here it is http://paste.ubuntu.com/1361152/.

With an error in the terminal:

(glade2script:11316): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
ocal/share/recently-used.xbel.MIYUNW': No such file or directory

So, now I pray that one of you wonderfully genius people can assist me.

share|improve this question
    
Welcome to AU - your error message seems to miss characters before ocal/share/recently-used.xbel.MIYUNW. –  Mateng Nov 23 '12 at 0:56

2 Answers 2

I'm guessing you ruined your windows MBR which can quite easily be fixed using your windows 7 CD, after which grub will be gone.

share|improve this answer
    
I wouldn't say so, you can restore partitions and boot records with Testdisk, also: cgsecurity.org/wiki/TestDisk –  Mateng Nov 23 '12 at 0:39
    
Oh, guess I misunderstood - only GRUB will be gone. This can then be restored booting into an Ubuntu Live CD and using "Boot-Repair" –  Mateng Nov 23 '12 at 1:42

You should do these steps:

  1. Recover lost partitions (only the ones you need) with Testdisk. A very comprehensible thread can be found here: Recovering deleted ext4 Ubuntu partitions.

    • Basically, install testdisk in Ubuntu and run it.
    • Choose your harddisk, probably /dev/sda/
    • Choose [Intel/PC] partition type
    • Choose [Analyze], then [Quick Search]. Testdisk will scan for lost partitions now.
    • If all your partitions are found, navigate to the next screen and choose [Write] and reboot

    • If the Windows partition is still gone, run Testdisk again - this time, choose the option
      [MBR Code] Write TestDisk MBR code to first sector

  2. Restore your GRUB menu by booting up Ubuntu and running Boot-Repair once again. I am no expert for GRUB, but theoretically you'll get access to your scrambled installation this way.

Reference: Full Testdisk manual.

share|improve this answer

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.