Booting Linux without a Graphics Card

I have a spare Pentium 4 computer lying around. Unfortunately, it has no video card; nor did it have an onboard integrated graphics card. In order to install CentOS 6, I had to ‘borrow’ a card from another computer. While I had the card installed, I ensured the BIOS did not halt on any errors and it booted off PXE after HD. After testing the boot process a few times, I ‘returned’ the card to its rightful place – leaving the pentium 4 without a card and me hoping the computer still works.

Upon turning the computer on, the POST process would beep a morse code “long short short” signifying there is no graphics card and the computer would freeze (The numlock key on the keyboard froze). After unplugging the hard drive and hard resetting the computer, it would by default boot via PXE without a problem (I can see tftp and nfs traffic as it began booting ubuntu). This proved that the computer indeed was getting past POST without a problem.

After hitting my head against the wall for a few hours, it appears that grub needs to be set into console mode otherwise grub will cause the boot process to hang. To resolve this, the following changes were made in /boot/grub/menu.lst

default=0
timeout=5
#splashimage=(hd0,0)/grub/splash.xpm.gz
serial --unit=0 --speed=9600 --parity=no --stop=1
terminal --timeout=2 serial

Note that the splash image is commented out and the boot mode is now set to use the serial port (which the computer doesn’t have)

Once this was set, the computer boots without a problem.

4 thoughts on “Booting Linux without a Graphics Card

  1. for centos 6.5, 6.6

    just comment out the spashimage stuff… nothing else needed :)

    no serial, no terminal, etc.

    this as of 4/2015

    -Joe

Leave a Reply

Your email address will not be published.