[STICKY] OneClick Repair Grub boot OR restore Windows MBR

[STICKY] OneClick Repair Grub boot OR restore Windows MBR

Postby mrboss » Fri May 24, 2013 8:59 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: Select all
sudo add-apt-repository ppa:yannubuntu/boot-repair


Code: Select all
sudo apt-get update

Code: Select all
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 :


hope u like it
mr.boss
User avatar
mrboss
 
Posts: 13
Joined: Wed May 15, 2013 12:16 pm

Re: OneClick Repair Grub boot OR restore Windows MBR

Postby Wolfman » Sat May 25, 2013 7:10 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/
Regards Wolfman :D

Kindness is something the blind can see and the deaf can hear :)

Preparation and planning prevent poor performance! :)

Free Ubuntu User Manual: https://ubuntu-manual.org/
User avatar
Wolfman
 
Posts: 7611
Joined: Sat Jul 02, 2011 1:03 pm

Re: OneClick Repair Grub boot OR restore Windows MBR

Postby mrboss » Sun May 26, 2013 10:40 pm

you are welcome bro
User avatar
mrboss
 
Posts: 13
Joined: Wed May 15, 2013 12:16 pm

Re: [STICKY] OneClick Repair Grub boot OR restore Windows MB

Postby Mishmash » Tue Aug 05, 2014 11:53 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 :)
User avatar
Mishmash
 
Posts: 1
Joined: Sat Aug 02, 2014 9:53 am

Re: [STICKY] OneClick Repair Grub boot OR restore Windows MB

Postby decalman » Tue Aug 05, 2014 3:41 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: Select all
sudo mount /dev/sda3 /mnt


b. press Enter

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


d. press Enter

e.
Code: Select all
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: Select all
sudo update-grub


b. press Enter

9. Reboot your computer.

10. Celebrate!

ref: https://sites.google.com/site/easylinuxtipsproject/grub
User avatar
decalman
 
Posts: 10
Joined: Sat Aug 02, 2014 9:42 pm

Re: [STICKY] OneClick Repair Grub boot OR restore Windows MB

Postby N2GN2 » Sat Nov 08, 2014 1:50 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: Select all
sudo mount /dev/sda3 /mnt


b. press Enter

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


d. press Enter

e.
Code: Select all
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: Select all
sudo update-grub


b. press Enter

9. Reboot your computer.

10. Celebrate!

ref: https://sites.google.com/site/easylinuxtipsproject/grub
User avatar
N2GN2
 
Posts: 25
Joined: Mon Jan 13, 2014 6:09 pm

Re: [STICKY] OneClick Repair Grub boot OR restore Windows MB

Postby Swarfendor437 » Sat Nov 08, 2014 10:50 am

A much belated 120 blue jewels to decalman! :D
https://vimeo.com/user15592214
https://trisquel.info/
https://www.opendesktop.org/member/257685/

Machine: ASUS X470-PRO, AMD Ryzen 7 1700X 8 Core, 16 Gb RAM, ZOTAC Geforce GT1030 (2 Gb)
User avatar
Swarfendor437
 
Posts: 9981
Joined: Wed Sep 18, 2013 5:51 pm

Return to How-tos and Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest