Is there any way to force grub menu to show it's content in external monitor (for selecting the os to boot on win or ubuntu), I use my laptop more like a desktop with a monitor connected to it because of broken laptop fan socket. Either HDMI or VGA would work.
1 Answer
Here is a bad way to do this, for most, that may just be good for you.
On desktop, open this file as root
gksu gedit /etc/default/grub
and find this line
GRUB_CMDLINE_LINUX_DEFAULT=...
and add a this to the end
video=LVDS-1:d
my whole line is
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
so I would add it here
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=LVDS-1:d"
Change lvds-1
for you monitors name, if it is different, find it with
xrandr -q
Save and exit, and run the command
sudo update-grub
This will disable the Laptop display for both grub
and the desktop and force it to the external display, even if you remove the HDMI
cable, the laptop screen will not work. You can remove the change to change it back to using the laptop screen.
I can't test this as I don't have a laptop, but I took it from an question at arch
, where the issue was no laptop display after forcing grub
to an external monitor.
I don't recommend this for most users who want there laptop to still be portable.
-
-
2I tried this but it did not work: the menu is not displayed on the external monitor. The external monitor is only activated after Linux has booted.– GiorgioSep 28, 2016 at 19:54
-
1I just dealt with the same problem and the answer by @Mark Kirby helped a lot! For me it was essential to replace
LVDS-1
with the name of the built-in laptop screen provided byxrandr -q
. I would additionally advise to runsudo update-grub
after you made the changes and before you reboot.– Felix S.Oct 17, 2020 at 16:37 -
@Mark could you precise what is the
d
inLVDS-1:d
? By the way, if you have time, I asked a related question in askubuntu.com/questions/1286892/… Thanks!!– MatifouOct 25, 2020 at 21:28 -
@Matifou I am not 100% sure because this was a while ago and I can't find any documentation right now but I think d is for "disable" and using e would be "enable", so LVDS-1:d would disable the laptop display. Oct 28, 2020 at 20:07
bios
of the laptop to display on an external monitor ? That should do it forgrub
too. This is the only real solution I found on Google, but not all laptops have this option.