I'm using grub-pc to boot 3 OSes: win7, ubuntu and LMDE. The two linuxes were both installed with grub, ubuntu being the last one. This worked fine, everything booted and I added a custom menu to setup the boot order and I preferred. Again this worked fine for some weeks. A few days ago, the LMDE grub-start-menu began appearing at boot instead of the custom one I set up on ubuntu. Everything still boots, but this was not my preference or expectation.
To trouble-shoot this, I did grub-update on each system, and even an apt-get reinstall, but no change. I did notice that grub-pc on LMDE is ver 1.99 and the ubuntu ver is 1.98, but I don't understand enough about grub-pc to know if that matters. Any way to restore my original setup? Any idea why this happened?
thx,
feffer
GRUB seeing the wrong start-menu
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
GRUB seeing the wrong start-menu
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: GRUB seeing the wrong start-menu
Probably one of the Linux updates, or if you added an OS, and changed partition data..Any way to restore my original setup? Any idea why this happened?
Not if you didn't, when editing grub to make a custom version, saved the original grub with a new file name, such as grub.cfg_sav
- That is in order to restore what was there initially, you either have to have saved the original file (GRUB2, setup file), or you should just repeat your custom settings again..
- something you might want to try out, customizer for grub..
--not using the command line
http://members.iinet.net/~herman546/p20 ... mands.html
Re: GRUB seeing the wrong start-menu
hmmm, I think I have backups of everything, but I'm still puzzled. I think the grub confusion starts very early in the boot process. Grub used to immediately move to files on sdb1, ubuntu and show the menu configured there. Now it loads files on sbd3, LMDE and shows the menu configured there. All the configuration files are intact, grub is just pointing to a different place than before to start.
I never edit grub.cfg directly, of course, but still, something earlier in the process must be pointing to the grub.cfg on LMDE instead of ubuntu as before. I agree, it could have been caused by an update, but no OS has been added. I'm not sure how I could have inadvertently modified partition data either.
I greatly prefer understanding the process and manually modifying the configuration. And I thought I did, but this blind-sided me!
thx,
feffer
I never edit grub.cfg directly, of course, but still, something earlier in the process must be pointing to the grub.cfg on LMDE instead of ubuntu as before. I agree, it could have been caused by an update, but no OS has been added. I'm not sure how I could have inadvertently modified partition data either.
I greatly prefer understanding the process and manually modifying the configuration. And I thought I did, but this blind-sided me!
thx,
feffer
Re: GRUB seeing the wrong start-menu
feffer,
LMDE just had in the last days a grub update (to v.rc1-13) that among other issues brought the one you are talking about (and i also mentioned here http://forums.linuxmint.com/viewtopic.p ... 40#p414121 )
LMDE just had in the last days a grub update (to v.rc1-13) that among other issues brought the one you are talking about (and i also mentioned here http://forums.linuxmint.com/viewtopic.p ... 40#p414121 )
Re: GRUB seeing the wrong start-menu
Nevermind mixed up stuff, lol and no delete option. Sure you'll get it sorted though OP. Ya doing better than a lot of people. As recent lmde updates seemed to have messed many folks grub up altogether. At least yours is still booting etc.
Last edited by lmintnewb on Fri Apr 29, 2011 7:48 pm, edited 3 times in total.
Re: GRUB seeing the wrong start-menu
There was an update to LMDE's grub just a few days ago. When it updated, do you recall if it asked you where to update? Or did you originally let LMDE's grub install to the MBR and subsequently when Ubuntu installed it also installed to the MBR ? If LMDE originally had grub installed on the mbr, when it updated a few days ago it would update the grub on that location, not knowing that you had subsequently installed a different grub in the same place.
If you want to go back to using Ubuntu's grub, you'll probably want to make sure you have the current grub installed on the LMDE partition (grub-install /dev/sdax -- using the pertinent partition number in place of x) and then when you're booted to Ubuntu run the grub-install /dev/sda (or sdb -- as the case may be), with no partition number. That will then install, or re-install Ubuntu's grub to the MBR of that drive.
If you want to go back to using Ubuntu's grub, you'll probably want to make sure you have the current grub installed on the LMDE partition (grub-install /dev/sdax -- using the pertinent partition number in place of x) and then when you're booted to Ubuntu run the grub-install /dev/sda (or sdb -- as the case may be), with no partition number. That will then install, or re-install Ubuntu's grub to the MBR of that drive.
Re: GRUB seeing the wrong start-menu
Check grub.conf to make sure that it's using UUID's and not mount points. That should fix your custom grub problems one it points to the UUID.
Kernel Linux Tex 5.12.14-zen1-1-zen, XFCE
Arch
Dual GTX1070 8Gb
AMD Ryzen 1800X
32Gb RAM
Arch
Dual GTX1070 8Gb
AMD Ryzen 1800X
32Gb RAM
Re: GRUB seeing the wrong start-menu
OK, thx all. I do check the LMDE issues posts, but evidently not diligently enough
Probably I did choose "install everywhere" -- and should have just picked the mint partition. Since, I don't really have a problem other than getting an unexpected grub screen, I just went ahead and added a custom entry file in mint like the one I had in ubuntu (actually just copied it over) and updated grub.
I might try CiaW's suggestion later
feffer
Probably I did choose "install everywhere" -- and should have just picked the mint partition. Since, I don't really have a problem other than getting an unexpected grub screen, I just went ahead and added a custom entry file in mint like the one I had in ubuntu (actually just copied it over) and updated grub.
I might try CiaW's suggestion later
thx,If you want to go back to using Ubuntu's grub, you'll probably want to make sure you have the current grub installed on the LMDE partition (grub-install /dev/sdax -- using the pertinent partition number in place of x) and then when you're booted to Ubuntu run the grub-install /dev/sda (or sdb -- as the case may be), with no partition number. That will then install, or re-install Ubuntu's grub to the MBR of that drive.
feffer