How To Recover Linux Grub After Installing Windows (100% Working Guide)


Hello Friends, am back again with an amazing tips for you all. Today we’ll learn how to recover linux grub after installing windows or other operating system. So lets get focused 😎

First of all just understand Linux in few sentence so that you can continue thereafter easily.
Table of Contents

    What is Linux?

    Linux is an multiuser, multitasking operating system. An operating system is software that manages all of the hardware resources associated with your desktop or laptop. To put it simply – the operating system manages the communication between your software and your hardware. Without the operating system (often referred to as the “OS”), the software wouldn’t function.
    The main purpose of using linux as an operating system is o improve the system and features using command line interface.And i think you all knew about this :p

    What is Grub?

    GRUB (GRand Unified Bootloader) is a boot loader package developed to support multiple operating systems and allow the user to select among them during boot-up. It was originally designed and implemented by Erich Stefan Boleyn.

    Briefly, a boot loader is the first software program that runs when a computer starts. It is responsible for loading and transferring control to the operating system kernel software (such as the Hurd or Linux). The kernel, in turn, initializes the rest of the operating system

    What is Grub-Rescue?

    We have installed Linux (Ubuntu, Kali, Linux Mint, Monjaro, Fedora, Debian, Arch, etc.) many time in our computers/laptops. And many times we have seen this:-

    This happens due to removal of grub files that belongs to the grub loader installed in your computer. It also occurs when you delete/format the partitions where Linux is installed in your computer.

    How To Recover Grub?

    Well, this is the most complicated part as we all knew how to install linux but most of us don’t know how to survive grub rescue. Don’t worry today i’ll explaint it out for you.
    Follow these steps to recover Grub:
    Step 1:
    In case, If you have Linux installed in you system but you can’t see the Grub because after installing windows it gets disappear. Open you terminal and type this command:
    sudo mount /dev/sdaX /mnt #Replace sdaX with your partition number

    Note: If you don’t know your partition then install/open “Gparted” and see your partition numbers. For example see the screenshot below:

    After this follow the step 4 (skip step 2 & 3).

    Step 2:
    If you don’t have linux installed now. Means you have completely deleted/removed linux partition. And still you have windows installed but you can’t boot it now.

    Then in this case first create a live usb then boot it via recovery mode and select try mode. Like here you can use Try Ubuntu mode.

    Step 3:
    After home screen appears on your desktop just open terminal and follow this command:

    sudo mount /dev/sdaX /mnt #Replace sdaX with your partition number

    Step 4:
    Now type this command: (It will mount all your system files/folders)

    for i in /sys /proc /run /dev; do sudo mount –bind “$i” “/mnt$i”; done

    Step 5:
    Now type this command to open terminal as root:

    sudo chroot /mnt


    Step 6:
    After your opened terminal as root follow these commands simultaneously.

    update-grub
    grub-install /dev/sda
    update-grub
    exit
    sudo reboot

    Now see the magic. Your Grub will appear now and you can boot your desired OS easily. 😙

    Final Words

    This was the article on How to rescue Linux Grub after installing Windows. I hope you’ll like this article. If you need any extra help completing this guide, then you should tell me in comments. If installation fails, then the only thing that you need to do is to try and repeat the whole tutorial more than once.

    Thankyou for visiting Droidadda. For fast access to our service Bookmark & Subscribe us now. Share this article with your friends and show how they can rescue their Grub Loader after installing Windows. If any issues then feel free to comment below. Peace out.

    mbtTOC();

    via Blogger http://www.droidadda.org/2017/07/linux-grub-rescue.html https://mtkdr0id.files.wordpress.com/2017/07/a48e7-rescue-linux-grub-droidadda.jpg?w=300

    Advertisements

    Leave a Reply

    Please log in using one of these methods to post your comment:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out / Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out / Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out / Change )

    Google+ photo

    You are commenting using your Google+ account. Log Out / Change )

    Connecting to %s