[SOLVED] New debian11 install - now grub menu has gone
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have MX Linux already installed on my drive.
I used debian-installer on usb to install debian 11 onto the same drive for a dual-boot system.
On reboot the grub menu came up allowing both OSs to be booted.
After changing settings in the new Debian 11 fresh install - when I rebooted again the grub splash screen had disappeared.
Now I can only log into Debian 11.
I'm guessing the grub splash screen does appear for the default 5 seconds but I can't see it on my monitor - and debian 11 boots.
Debian has taken over control of the booting process and os-prober is most likely disabled by default. If you wanted to enable os-prober in debian add this to /etc/default/grub and rerun update-grub
Code:
GRUB_DISABLE_OS_PROBER=false
If you want mxlinux in control of booting process boot into mxlinux and run grub-install or use efibootmgr if it is a uefi system to change the boot order.
Last edited by colorpurple21859; 08-08-2022 at 07:22 AM.
Debian has taken over control of the booting process and os-prober is most likely disabled by default. If you wanted to enable os-prober in debian add this to /etc/default/grub and rerun update-grub
Code:
GRUB_DISABLE_OS_PROBER=false
If you want mxlinux in control of booting process boot into mxlinux and run grub-install or use efibootmgr if it is a uefi system to change the boot order.
Thank you. I have added the os-prober code into /etc/default/grub and run update-grub.
When I run os-prober it successfully finds MX21 on the drive.
When I reboot however there is no change.
I get a blank screen until debian 11 boots.
I've also lost the splash screen for the gigabyte motherboard - so I can't access uefi bios.
I thought it might be a display driver issue and installed non-free amd microcode - but hat hasn't done anything.
It's weird because I saw the grub menu initially.
But on subsequent reboots the grub menu can't be seen - although there seem to be a 5 second pause.
~$ cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
Remove the # at #GRUB_TERMINAL=console
And run update-grub
I've done this and re-booted but there is no change.
I tried using my MX21 live usb but this just gives me a blank screen.
Again I don't see the motherboard splash screen - so cannot access uefi bios.
Should grub be reinstalled?
Thank you. I have added the os-prober code into /etc/default/grub and run update-grub.
When I run os-prober it successfully finds MX21 on the drive.
When I reboot however there is no change.
I get a blank screen until debian 11 boots.
I've also lost the splash screen for the gigabyte motherboard - so I can't access uefi bios.
After the update-grub, you should also run grub-install. That is what solved a similar problem for me when I 'lost' the other installations after an upgrade.
If your not seeing the motherboard splash screen something else is going on, that is before grub boot loader. Maybe a loose connection or monitor turned off.
After the update-grub, you should also run grub-install. That is what solved a similar problem for me when I 'lost' the other installations after an upgrade.
If your not seeing the motherboard splash screen something else is going on, that is before grub boot loader. Maybe a loose connection or monitor turned off.
Agreed.
Just checked the hdmi cable.
There is certainly a 5 second delay with a blank screen before debian boots.
I'm wondering if the motherboard and grub screens are displaying but its's not being displayed on the tv.
I'm wondering if the motherboard and grub screens are displaying but its's not being displayed on the tv.
What TV would that be? You haven't mentioned a TV before. Is this a laptop, desktop and you have a monitor on the computer and also have it connected to a TV? Do you see a display or anything on the computer monitor?
Quote:
It's weird because I saw the grub menu initially.
Doesn't seem weird to me since in your initial post, you indicate that both MX and Debian booted successfully until you changed some setting in Debian. Use your notes from when you made the changes and change them back.
If you aren't seeing the BIOS firmware page on boot, you have a more serious problem. Has that happened before?
It isn't clear from your posts whether you have a UEFI BIOS, do you know if you are using UEFI? Use one of your usb drives to boot and run sudo fdisk -l or parted -l to list the partitions. You should see a partition named EFI. If you don't, you are not using UEFI.
The command you posted to install Grub failed because you did not tell it where to install. Also, the methods to install UEFI or Legacy are similar but not the same so you would have to find that out before someone could give you the proper command. The first grub-install you tried showed installing for i386-pc platform which would indicate a Legacy install.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.