This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

[STICKY] OneClick Repair Grub boot OR restore Windows MBR

mrboss

Fri May 24, 2013 7:59:29 pm

Hi Guys
today i have an easy way to Repair Grub or Restore Windows MBR


Step 1 : get a live version of linux
You need a live version of linux (distro doesnt matter) to install the application
you can burn linux on cd or usb and start live

Step 2 : install Boot-Repair in live linux
open a new Terminal (Ctrl+Alt+T), then type/copy/paste :
Code:
sudo add-apt-repository ppa:yannubuntu/boot-repair


Code:
sudo apt-get update

Code:
sudo apt-get install -y boot-repair



Step 3 : Using Boot-Repair

1. launch OS-Uninstaller (System->Administration->Boot-Repair)
2. you got two choice Recommend Repair & Advance Repair

Recommended repair

launch Boot-Repair from System->Administration->Boot-Repair

or by typing 'boot-repair' in a terminal

Then click the "Recommended repair" button. When repair is finished, then reboot and check if you recovered access to your OSs.

Advanced options


Warning: the default settings are the ones used by the "Recommended Repair". Changing them may worsen your problem.
Don't modify them if you dont know what you do ! .


Image

Image

Image

Image

Image



thats all

i tested the application by myself but not the installation method cu it was already installed on another distro

also i founded ubuntu secure disk which integrate by default os-uninstaller & boot-repair you can found it here :
https://help.ubuntu.com/community/LinuxSecureRemix


hope u like it
mr.boss

Wolfman

Sat May 25, 2013 6:10:43 am

Hi mrboss,

I had already created a thread for "Boot repair" but yours in far better than mine!. :)

Thanks for your input!. :)

Regards Wolfman :D

Edit: Have deleted my older thread!!. :D

See also:

http://sourceforge.net/p/boot-repair/home/Home/

mrboss

Sun May 26, 2013 9:40:00 pm

you are welcome bro

Mishmash

Tue Aug 05, 2014 10:53:25 am

Hi,
Just want to say that I am new to Linux but love it. I learnt the hard way that grub remains and can get messy. I had to reinstall windows a couple of times before I came across this post. Brilliant & Perfect solution for me. I now have confidence to try different distro's.
THANKS :)

decalman

Tue Aug 05, 2014 2:41:34 pm

I repair Grub like this:

1. Boot your computer from the Zorin DVD or from a Live USB with Zorin on it. Select "Try Zorin".
Note: only use the DVD of the Zorin version that you wish to repair. So for 14.04, use the DVD of 14.04.

2. Now you need to find out what's the name and the partition number of the root partition
(the partition on which your Zorin has been installed). In case you have a multiple boot system.

3. Start Gparted Partition Editor to see your partitions.
Tip: the root partition of your Ubuntu will usually be formatted in EXT4. The EFI partition
will probably be formatted in FAT32, and it'll have the boot flag.

4. On my computer, the Zorin root partition is called sda3. For the sake of clarity I'll use
that situation in the rest of the how-to.

5. Open a terminal window:

a.
Code:
sudo mount /dev/sda3 /mnt


b. press Enter

c.
Code:
sudo grub-install /dev/sda --root-directory=/mnt


d. press Enter

e.
Code:
sudo reboot


f. press Enter

6. Reboot the computer normally, so don't forget to take out the DVD first.

7. Start Zorin normally

8. Open a terminal window:

a.
Code:
sudo update-grub


b. press Enter

9. Reboot your computer.

10. Celebrate!

ref: https://sites.google.com/site/easylinuxtipsproject/grub

N2GN2

Sat Nov 08, 2014 12:50:06 am

Thanks decalman, your method worked for me.

decalman wrote:I repair Grub like this:

1. Boot your computer from the Zorin DVD or from a Live USB with Zorin on it. Select "Try Zorin".
Note: only use the DVD of the Zorin version that you wish to repair. So for 14.04, use the DVD of 14.04.

2. Now you need to find out what's the name and the partition number of the root partition
(the partition on which your Zorin has been installed). In case you have a multiple boot system.

3. Start Gparted Partition Editor to see your partitions.
Tip: the root partition of your Ubuntu will usually be formatted in EXT4. The EFI partition
will probably be formatted in FAT32, and it'll have the boot flag.

4. On my computer, the Zorin root partition is called sda3. For the sake of clarity I'll use
that situation in the rest of the how-to.

5. Open a terminal window:

a.
Code:
sudo mount /dev/sda3 /mnt


b. press Enter

c.
Code:
sudo grub-install /dev/sda --root-directory=/mnt


d. press Enter

e.
Code:
sudo reboot


f. press Enter

6. Reboot the computer normally, so don't forget to take out the DVD first.

7. Start Zorin normally

8. Open a terminal window:

a.
Code:
sudo update-grub


b. press Enter

9. Reboot your computer.

10. Celebrate!

ref: https://sites.google.com/site/easylinuxtipsproject/grub

Swarfendor437

Sat Nov 08, 2014 9:50:36 am

A much belated 120 blue jewels to decalman! :D