I've had a strange issue with an Ubuntu 14.04 server installation recently, and would like some pointers to diagnose the cause of the problem.
The OS will not boot unless a monitor is connected via the VGA port.
I believe that the boot process may be stalled at the grub menu, as the server turn off immediately when the power button is pressed, whereas power off when the OS is running takes a few seconds through the normal ACPI process.
As the OS isn't starting, there are no logs to guide me through a debugging process. What can I do to begin to understand where the problem lies?
Make a backup of
/etc/default/grub
and then edit the file with ...and then find the line ...
and remove
quiet
andsplash
if they are there (doubt that they are cuz otherwise it would never work) and add ...From comments for you this would be
You will need to do a
to reload grub. A reboot should let the system pass grub without a monitor.
This is quite likely a hardware issue and not related to the OS
Many older motherboards, especially non-server ones require a connected monitor on boot during the P.O.S.T sequence otherwise the motherboard will halt during the boot sequence never reaching the boot loader.
This often unfortunately holds true even if you enable the Don’t halt on Error option in the Bios.
Since a small amount of current is sent through the pins to check for connectivity you can make a dummy connector by simply connecting three 50-100O Ohm resistors between the pins shown below
That's how I solved this issue with a "server" I had ;)
For HDMI you can buy a HDMI dummy plug,Headless Ghost, Display Emulator from Amazon or elewhere. HDMI Headless Plug
@Rinzwind's answer worked for me in part. I also had to uncomment
GRUB_TERMINAL=console
in/etc/default/grub
to have a headless ubuntu server install on my system.Note this change made it so that my computer no longer booted with a monitor plugged in(!) Make sure your system is ssh ready before making this change.