Black screen after express installation of Ubuntu Server 14.04.4 LTS

17 users found this article helpful

Symptoms

Black screen on first boot of virtual machine after installing Ubuntu Server 14.04.4 LTS in express mode.

alttext

Cause

Ubuntu Server installs Plymouth splash, which uses 7tty (7-th console window) by default. But in case of server distributions, there is no GUI for system to use:

Resolution

Issue can be resolved by using either one of two methods listed bellow.

1. Editing bootloader menu options method:

  1. Open OS X System Preferences > Keyboard, and make sure Use all F1, F2 etc. keys as standard function keys option is enabled (checked):

  2. Open the virtual machine Configuration pane > Hardware > Boot order and check "Select boot device on startup".

  3. Start the virtual machine and make its window active (click on it).

  4. Start Ubuntu server virtual machine, then press Esc when prompted. Press 1 to select boot from Sata drive 1.

  5. Press Tab to access you grub boot loader:

  6. Press e to edit boot options for kernel:

    t
  7. Find kernel options string similar to:

    `linux /boot/vmlinuz-4.2.0-27-generic root=/dev/mapper/ubuntu--vg-root ro vt.handoff=7` 
    
  8. Remove parameter vt.handoff=7, then save changes by pressing F10.

  9. Boot system as usual. If there are many boot configurations in GRUB, remove vt.handoff=7 from all of them in the same manner.

2. Switching Linux console window and manual editing grub.cfg method.

  1. Start Ubuntu server virtual machine. Wait till you get the black screen.

  2. Press Alt+F1. This will allow you to switch to a different Ubuntu server console.

  3. Input your username and press Return/Enter, now enter your password, then press enter.

  4. Type in the following command and press Enter:

    sudo nano /boot/grub/grub.cfg
    
  5. Find the necessary string vt.handoff=vt.handoff=7 (you can use Ctrl+W to find it in grub.cfg) and remove vt.handoff=7 part

  6. Save changes you've made to grub.cfg. Press Ctrl+O, then press y and press Return/Enter

  7. Boot system as usual.

Was this article helpful?

Tell us how we can improve it.