How to reinstall GRUB 2 if a dual boot between Windows and Ubuntu, after reinstalling Windows - video tutorial

Hi friends, in today's tutorial you'll learn how to restore GRUB 2 if we use the Linux operating system Ubuntu or another Linux distribution that uses GRUB 2.
What is GRUB 2?
Granted 2 Unified Bootloader is the descendant of the first version of GRUB is the boot loader for Linux distributions. As Windows XP is NTLDR (NT Loader) and Windows 7 has BootMgr (Boot Manager) and just have a Linux boot loader called GRUB.
In which cases is to restore the GRUB?
When you have a dual boot (2 operating systems on the same PC) and for various reasons, the startup will not appear in the Boot Manager that you were able to choose which OS to boot). You've probably encountered situations where you had installed Windows XP, Vista or Ubuntu Linux 7 and on another partition, you formatted C and reinstalled the windows due to a virus and have noticed that on startup, although you have Ubuntu on a another partition, do not you wonder which OS you want to boot. That's because, when you reinstall Windows, it wiped out GRUB. As you know knows GRUB see Windows operating systems but no Windows boot loader knows to see Linux. So if you are thinking of a dual boot with Windows and Ubuntu or any Linux distribution, install Windows first and then install Ubuntu on another partition. A restore GRUB is necessary if you have made some updates to the system, an upgrade to a new kernel and after reboot, the operating system does not boot Ubuntu.
GRUB 2 is recommended to be installed on the primary hard drive (first hard - sda) that if you want all installed operating systems to be available in a boot manager and PC startup to have a choice in what OS to enter . 2 GRUB can be installed on another hard (the 2 century hard) but on startup, if the hard drive where you installed GRUB is set in BIOS as secondary hard (Primary Slave or Slave Secundary) not you still have the boot manager where you can choose to enter the system for the PC startup, looking for a operating system is the first partition on the first hard or (Primary Master). To access the operating system installed on the hard 2 century (assuming that GRUB is installed 2 all on the hard 2 century) will have to put in the BIOS century 2 hard as the first (First Boot Device or Device 1 st) and thus PC startup boot will do the hard 2 (I recommend watching Tutorial BIOS). In conclusion, whether you have a dual boot between a Windows and a Linux or Linux distributions between 2 PC startup and you can not enter the operating system or give you the opportunity to choose the operating system you want to sign is necessary restore GRUB. That being said I invite you along umrarim video tutorial. Do not forget, if you have suggestions, complaints or additions please write on the comment field, de-also met the comments box if a user has a problem and you can help it, do not hesitate to make only way we can do this place better, see the comments box!
Enjoy !

Adrian Burlugeanu...... ..linux.videotutorial.ro

Get the Flash Player to see the video.


Related Tutorials



About Cristian Cismaru

I love everything related to IT & C, I like to share the experience and information that we accumulate every day.
Learn as you learn!

Comments

  1. great tutorial!!
    I met several times issue AST and failed to restore GRUB
    Thanks a lot! you're the best!

  2. A laptop can behave like a real GPS? If so, expect a video tutorial!

  3. Adrian Bravo very useful tutorial happened to me so after reinstalling xp not appear that menu and I nistalat and Linux

  4. Useful information, thanks. I have a question (could also be a proposal for a future tutorial).
    I would like to customize GRUB. If say, I have a hard already has Windows XP installed, and in addition, install and ubuntu, every time you restart your computer you will be asked which OS to choose. Nothing unusual up here. But I'd like to put the Windows XP operating system priority (do not want to be ubuntu). I mean every time you restart the computer, if I will not choose the keys to choose which operating system, he automatically loads Windows XP. Ubuntu want to use it occasionally.
    Also 10 dialog seconds they choose which OS I want to upload it seems a little high. Probably 3-5 seconds should be more than enough.
    How could I do this?

    • Adrian admin said

      Vali: Useful information, thanks. I have a question (could also be a proposal for a future tutorial).
      I would like to customize GRUB. If say, I have a hard already has Windows XP installed, and in addition, install and ubuntu, every time you restart your computer you will be asked which OS to choose. Nothing unusual up here. But I'd like to put the Windows XP operating system priority (do not want to be ubuntu). I mean every time you restart the computer, if I will not choose the keys to choose which operating system, he automatically loads Windows XP. Ubuntu want to use it occasionally.
      Also 10 dialog seconds they choose which OS I want to upload it seems a little high. Probably 3-5 seconds should be more than enough.
      How could I do this?

      I'll make a tutorial about that. I'm really glad you are interested in Linux, I finally feel like my work has meaning, ii not need someone ...

  5. cu_minte said

    It's welcome tutorial. I'm glad you did this to and through this I thank videotutorial team for time spent to teach and others' secrets PC "and beyond. and when you have time, tar.gz files such be "installed" using the terminal. Thank you for your help I have the button and I dual boot Linux, an easy easy to get rid of Windows and want to use it only in proportion 10% compared to Ubuntu. Sincerely constant visitors of this site, to be healthy and as many tutorials.

  6. Interesting .. I really wanted to know that. Very useful and easy to do. Explanations for everyone. Merci.

  7. costel08_78 said

    Very bun.La Welcome fix this tutorial.Am some prb with the win and wanted to reinstall but Tinus I remember from that tutorial that must be installed first and then win linux.Multumesc

  8. Hello, I installed Windows and Ubuntu him on separate hardiscuri each .. and I grub at startup, the question would be if I give command installs GRUB tutorial without any problems? (With the grub-install) thanks.

  9. Useful information, thanks. I have a question (could also be a proposal for a future tutorial).
    I would like to customize GRUB. If say, I have a hard already has Windows XP installed, and in addition, install and ubuntu, every time you restart your computer you will be asked which OS to choose. Nothing unusual up here. But I'd like to put the Windows XP operating system priority (do not want to be ubuntu). I mean every time you restart the computer, if I will not choose the keys to choose which operating system, he automatically loads Windows XP. Ubuntu want to use it occasionally.
    Also 10 dialog seconds they choose which OS I want to upload it seems a little high. Probably 3-5 seconds should be more than enough.
    How could I do this?

    You can install from synaptic startupmanager and then you choose what you want to boot first!

  10. I have a question tutorialul.dar good vis-a-vis this GRUB.Am windoes 7 the laptop and I 2 installation of ubuntu as th operare.insa system I installed on my own on the same partition with Windows site, in addition I installed wubi.exe.Apoi, when I did updates for Ubuntu, the system asked me something about a GRUB but knowing what it is, I checked tot.iar after I rebooted the laptop We need to introduce some order .... and other things that do not stiam.Am uninstalled everything and I just reinstalled Windows ul.Ubuntu closing speriat.In I want to mention that the tutorial is good, but not about how they should refer to proceed when ubuntu is installed with wubi.exe. waiting for an answer. thank you

  11. viorelpicu said

    Hi Adrian,
    V. good and interesting tutorial for Linux isti.Desi I wanted to adapt to Linux we did (I'm too old for that, I 62 years and I took my PC to 57 years) I have the PC 2 systems in dual boot: XP and WIN 7
    How many times do I have to reinstall XP I have to do and win7.Acum I understand that it is similar to GRUB.Ai could do a tutorial for Microsoft systems 2? Or some indications in a comentariu.Multumesc and you up the good work.

    • Adrian admin said

      viorelpicuHi Adrian,
      V. good and interesting tutorial for Linux isti.Desi I wanted to adapt to Linux we did (I'm too old for that, I 62 years and I took my PC to 57 years) I have the PC 2 systems in dual boot: XP and WIN 7
      How many times do I have to reinstall XP I have to do and win7.Acum I understand that it is similar to GRUB.Ai could do a tutorial for Microsoft systems 2? Or some indications in a comentariu.Multumesc and you up the good work.

      If you dual boot XP and 7 and you have to install XP, to restore boot manager and boot again to have the option to choose between the 2 operating systems, do what my colleague said in the tutorial with BootMgr. Click on the word BootMgr in red text above in this tutorial and you will go directly to the tutorial. Let me know if you was useful ...

  12. I use good treba f useful long dual bot linux and win da not know how to restore the GRB and Erma had to call and win when you install linux. as many tutorials linux

  13. viorelpicu said

    Thanks Adrian ptr. raspuns.Am watched the tutorials 2 of Christ but I thought these 2 methods use only the appearance messages (for XP NTLDR is mising-mising and Bootmgr is-for Win7) Now I realize that the method can be used for restoration ului.Intuiesc as dual boot mode is: introduce 7 Win DVD into the optical drive, restart your PC and follow the steps in the tutorial's Cristi.Daca wrong correct me get my PC rog.Momentan OK, so I can not try.
    Finally, Happy Holidays and Happy New Year.
    HAPPY BIRTHDAY team work from Videotutorial.ro but Videotutorial.ro's website
    Happy birthday to all who visit this site.

  14. restoration is simple: remove crap called linux and opt for a true: windows xp!

  15. neluclrs said

    useful tutorial
    like I did
    I installed XP on half-hard, the other three have Ubuntu partition when we're done, we introduced handsome Acronis CD and made a bakup in xp, when i restore my site bakup restored and preferences boot menu (xp or ubuntu)

    can anyone help

  16. by lilo not say anything. Weather and lilo. asap. you do not mind but I used "search button" and "black box" from him.
    greetings.

  17. Hello.
    Very useful tutorial, I appreciate!
    I needed to restore GRUB myself because I reinstalled windows XP proffesional SP3 that I use, but after what I wrote in terminal right thing (I checked some 5 times if doing well) besides me said he managed to install, and has told me the following issue: "This software May cause boot or other problems in future. Please ask ITS authors not to store date in the boot track. ". I use Ubuntu 11.04, could be had a bug or something not to be compatible with my system, for I could not even boot the Windows nor Ubuntu and had to reinstall Windows again. I hope I will not have that problem.

  18. Very good tutorial, there's no way to not be useful.
    Who installed Linux at some point encountered a problem all this, who is not, and will happen at some point too.
    All that started with Linux, tried dual boot ptr first time with the original.
    So it's inevitable that you hit the Grub.

  19. Unfortunately in Linux Mint 11 "Katia" goes thus restored grub gives me the following error: grub-probe: error: can not state `aufs'.
    / Usr / sbin / grub-probe: error: can not find a device for mnt / boot / grub (is / dev mounted?).

  20. Very good tutorial and look how many tutorials on Linux!
    I would be very happy if you make a tutorial on how to restore GRUB 5.5 a CentOS Linux server (server version without GUI).

    I did a full backup of the entire hard disk TAR:

    cd /
    mkdir backup
    cd backup
    tar-cvpf / backup / fullbackup.tar-directory = /-exclude = proc-exclude = sys-exclude = dev / pts-exclude = backup.

    Then, I extracted all the files on another hard (hard disk again), but we need to restore GRUB, otherwise Linux starts. It can make such a video tutorial?

    Thanks and keep up the good work ...! Make a good work here ... Congratulations!

  21. AdrianGudus said

    Denis:
    Very good tutorial and look how many tutorials on Linux!
    I would be very happy if you make a tutorial on how to restore GRUB 5.5 a CentOS Linux server (server version without GUI).

    I did a full backup of the entire hard disk TAR:

    cd /
    mkdir backup
    cd backup
    tar-cvpf / backup / fullbackup.tar-directory = /-exclude = proc-exclude = sys-exclude = dev / pts-exclude = backup.

    Then, I extracted all the files on another hard (hard disk again), but we need to restore GRUB, otherwise Linux starts. It can make such a video tutorial?

    Thanks and keep up the good work ...! Make a good work here ... Congratulations!

    If I'm not mistaken, CentOS command is: sudo grub2-mkconfig-o / boot / grub2 / grub.cfg

  22. Hello,
    you could do a tutorial on how to change the login window?
    Thank you!

  23. AdrianGudus said

    Cosmin:
    Hello,
    you could do a tutorial on how to change the login window?
    Thank you!

    There is already a tutorial on this subject. Use the SEARCH box in the upper right sidebar. It say "change the login window" hit enter and you will find the tutorial

  24. Stanciu said

    Respect to live with Mr. Adrian.
    Tell me please what should I do if I win.7 on Ubuntu altul.daca hard and want to have the option to choose how to boot leaving the hardware to win. 7 be master as the best.
    Sincerely, Stanciu.

    • Stanciu said

      Lord Adrian, All Stanciu are and I want to apologize because I was not explicit.
      I wanted to say that I want then when asked what system to boot there in grub option to have Windows 2 7 be the first that then begin to choose the default boot Win. 7.
      Thank you very much, Stanciu.

  25. I bought a desktop with linux fedora, I reformatted HDD and now I can not enter the boot menu nor del f2 nor probably have wiped out GRUB, please help, I tried the live cd, usb

  26. Congratulations tutorials.
    In the above we have a misunderstanding. For dual boot, in case when we have an external hard drive and have it installed on ubuntu, grub 2 being installed on the primary hard disk (the one with windows), if you remove the external hdd does not boot into any operating system. Probably grub2 installation, it deletes mbr of windows.
    Should when placing external hdd ubuntu to boot ubuntu, and if not insert external hdd when booting primary hdd (the one with windows in laptop).
    In this case that hdd to put grub 2 ???
    Thanks in advance to those who know the answer.

  27. Salamalichi Silviu-Valentin said

    I want to be with tutorilalele about linux version of Ubuntu Linux Mint instead that because Linux Mint looks about as Windows operating systems .In this way potential willing Linux will be attracted to this SO.Daca policy does not prohibit this Site .

  28. Gabor gabriel said

    Hello! I have two hard drives on one IDE and one SATA, IDE on the 20GB I put ubuntu, and the SATA xp in xp can enter, but in ubuntu can not, I'm a black window, and with linuta that would boot up as, you have a tutoarial about 2 operating systems on the same PC 2 hdd, Thanks in advance

  29. ionel bingolescu said

    So to be able to say a single command had to talk like baba flower even half an hour without saying anything?
    How do you talk so much? and more and stupid?
    I knew that women can speak much more than ... .and nothing .........
    brother as a man going to the topic, explain and ready.
    increasingly observe when you were younger you were doing so. what happened to you?

  30. This video is no longer true, I appear -> Server not found: rtmpt: // 89.45.193.77: 80 / simplevideostreaming / mp4:

  31. WinniePooh said

    Hello! This tutorial is no longer valid?

Trackbacks

  1. [...] This post WAS mentioned on Twitter by VIDEOTUTORIAL.RO, Ady. Said Ady: How to reinstall GRUB 2 if a dual boot between Windows and Ubuntu, after reinstalling Windows http://bit.ly/gplUuw #Maverick #Ubuntu [...]

  2. [...] About the correct partitioning and installing Ubuntu in dual boot with Windows and about how to restore grub if you do wrong installing Ubuntu first, then Windows. We also invite you to [...]

Speak Your Mind

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.