Bullseye booting wrong grub but current is installed

Discussion in 'all things UNIX' started by Palancar, Aug 13, 2021.

  1. Palancar

    Palancar Registered Member

    Joined:
    Oct 26, 2011
    Posts:
    2,525
    Trying to figure out why a few of my Bullseye VM's are still booting from grub 2.02 ....... beta3-5 when the latest grub 2.04 is installed. These systems were updated from Buster and again I verified and even tried to re-install grub 2.04, but the terminal showed the latest 2.04 is already there. Maybe I selected or clicked an incorrect button during the upgrade to Bullesye. Many of my other Bullseye systems are correctly booting from 2.04.

    Lets assume I made an operator error during upgrade. NOW ---- how to I go about getting these systems to boot grub 2.04 since its already good to go according to Debian's apt-get and the terminal. Booting these systems on grub 2.02 leaves them working fine and everything. I would appreciate direction here.
     
  2. fblais

    fblais Registered Member

    Joined:
    Jul 31, 2008
    Posts:
    1,371
    Location:
    Québec, Canada
    You did a « sudo grub-install \dev\sda » followed by a « sudo update-grub » ?
    (Replacing \dev\sda with your own drive choice)
     
  3. Palancar

    Palancar Registered Member

    Joined:
    Oct 26, 2011
    Posts:
    2,525
    I will look at this when I get back home in a day or two. I did notice that for some reason my bare metal Bullseye systems are all running 2.04X, BUT the VM's are booting 2.02X. I am curious if this has anything to do with the VirtualBox config's. Never heard of such a thing but just making note of an observation in case anyone else see it on their systems.
     
  4. Palancar

    Palancar Registered Member

    Joined:
    Oct 26, 2011
    Posts:
    2,525
    I recreated the issue by upgrading a saved Buster VM again just to watch it. At one point you have the option to keep the grub the same OR to update to the new one. I clicked to keep the grub since it appeared to be the default recommendation. That is where the issue came from on my end. Once I realized what I did, I manually updated Grub. A "bone head" move during the update.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.