0

I am looking for a way to restore GRUB without using any live session. I am trying to do it using UNetbootin.

After successful UNetbootin installation, on reboot, it takes me to a menu to select between Windows or UNetBootin. Selecting UNetBootin takes me to a command line interface.

grub>

But, I am supposed to get a menu selection interface.

Question is what commands should I follow to restore my Grub from command line?

Solution

I used EasyBCD to chain load from Windows to GRUB. Then I used Boot Repair to restore GRUB. After that I had to go back in windows and undo the changes made by EasyBCD. (Thanks @EliahKagan)

  • 1
    You cannot use UNetbootin to restore GRUB from Windows; in the unlikely event that this gives you anything working, it still will not be the same as an ordinary GRUB installation. Instead, see How can I repair grub? (How to get Ubuntu back after installing Windows?) (we'll probably close this as a duplicate of that) or Fixing a Broken System in GRUB2/Installing. – Eliah Kagan Mar 21 '13 at 02:40
  • @EliahKagan Yes. But all those options requires another boot-able device, which I don't have access right now and why do you think UNetBootin can't restore grub? – Quazi Irfan Mar 21 '13 at 04:40
  • UNetbootin uses its own boot loader. Why do you think UNetbootin can restore GRUB? – Eliah Kagan Mar 21 '13 at 09:36
  • Getting the picture now. I guess my concept isn't clear. Thanks! – Quazi Irfan Mar 21 '13 at 19:01
  • But, none of those answers of the other question answer my question. I want to restore GRUB without using any live session. – Quazi Irfan Mar 21 '13 at 23:47
  • You've asked specifically about restoring GRUB using UNetbootin here (originally without specifying that you wanted/needed to avoid using a live environment). So if you were to post a new question asking specifically how to do that, it will likely be kept separate and open, and perhaps answered. It would probably be very difficult to accomplish this, and most likely it would be far preferable to address whatever situation is preventing you from booting a live CD, DVD, or USB flash drive. But you can still ask, and if you want to find out how to do it, I'd encourage you to go ahead. – Eliah Kagan Mar 21 '13 at 23:56
  • I found EasyBCD does exactly what I am looking for. It has a personal version which is free to use. – Quazi Irfan Mar 22 '13 at 00:00
  • @oamcreasy EasyBCD will chain load from the Windows boot loader into GRUB. It won't actually install GRUB to the Master Boot Record. Was your goal simply to make Ubuntu bootable again? – Eliah Kagan Mar 22 '13 at 00:02
  • Yes :) But now that you say it, I would rewrite MBR again when Ubuntu will be up and running. – Quazi Irfan Mar 22 '13 at 00:06
  • 1
    Good point--that does seem like a complete solution to the original problem you presented. If you're interested in writing an answer for it (it doesn't have to be really long or anything, just a complete statement of the procedure), I'd be quite willing to vote to reopen this (and to encourage others to do so as well). So if you want to do that, please let me know. (There is no obligation.) – Eliah Kagan Mar 22 '13 at 00:08
  • 1
    Yes, I'd like to add it as an answer. – Quazi Irfan Mar 22 '13 at 01:50

0 Answers0