Ubuntu: Fixing the Blank Screen on Installation Bug

I had the pleasure of installing Ubuntu onto two old computers this weekend. One laptop and one desktop. Both resistant to Doctor Dion's orders.

The Ubuntu graphical installer is poor at detecting and setting up old graphics cards and monitors. It is a strange and frustrating problem because once Ubuntu is installed it detects and configures them effortlessly. The installation issue shows itself through symptoms which include any of the following:

  1. A perpetually blank screen that prevents any set-up questions from being answered
  2. A continuously moving animated gif that suggests "something amazing is about to happen"; which it is - the computer is about to get a boot from its frustrated user!
  3. An error message that reads
    vesamenu.c32: attempted DOS system call
    boot:

Whatever the symptom, I am sure that it will have prompted you to clean your disc, to clean your disc drive, to re-download your installation iso, to reburn it at increasingly slower speeds, to Google umpteen times with search terms like

"Blank screen on installation"

"Black Ubuntu installation screen"

"vesamenu.c32 prevents Linux installation"

"Help! My computer's playing dumb"

"Why can't I get past the first screen when installing Ubuntu", or

"Linux graphical installer goes blank but disc keeps on spinning"

The solution is easier than you might think. And I owe thanks to both HapiHakr at the LinuxMint Forum and the people at UbuntuGeek for posting solutions to these problems.

Fixing the Blank Screen on Installation Bug

Let's deal with the vesamenu issue first. The next time you try to install Linux onto a computer and the installer drops to a terminal prompt with the message

vesamenu.c32: attempted DOS system call
boot:

Type at the prompt

live vga=ask

Then wait, and wait some more... After a few minutes you will be greeted with a usable graphical interface. Just be patient with it while waiting for it to load.

Next on the list is a bug that is specific to Ubuntu 10.04 and its many variants. It manifests in one of at least two ways:

  1. The computer boots up, the disk whirs around in its drive, the picture of a keyboard and a human at the bottom of the screen displays then the screen goes blank and stays blank for quite a long time. You go and get a drink, come back to your computer and the screen is still blank so you sit and stare at it for 30 minutes or so then boot your computer out of frustration before you restart it and begin the process again. Or,
  2. You press a key when the picture of the keyboard and human shows up so the boot menu displays. You specify your language and choose your boot option then as soon as the installation begins your computer either displays a black screen or it shows an Ubuntu logo gif with flashing dots beneath it and nothing else happens from that point onwards.

The problem is the same for both symptoms - poor graphics card detection or configuration.

There are three solutions to this. I am only going to explain the one that I used and which worked for me on two occasions.

  1. Put your installation media into the computer
  2. Switch on the computer
  3. Press the spacebar as soon as the picture of the keyboard and human display at the bottom of the screen
  4. Choose your language
  5. Select "Try Ubuntu without any changes"
  6. Press F6
  7. Select "nomodeset"
  8. Press Escape (Esc)
  9. Type
    i915.modeset=0 xforcevesa
  10. Press Enter (Return) and be amazed as Ubuntu loads.

Two more fixes are explained at UbuntuGeek.

I hope those solutions help you to install Ubuntu. They might even work for other Linux distros. If you encounter any other solutions then please post them in the comments.


No related posts.

  • Pingback: Tweets that mention Ubuntu: Fixing the Blank Screen on Installation Bug -- Topsy.com

  • Pingback: Links 1/8/2010: GNU/Linux Reviews and GhostBSD 1.5 Screenshots | Techrights

  • Berat

    it doesnt work for me
    live vgs=ask
    couldnt find image live

    • http://journalxtra.com Dion de Ville

      Beret, you need to replace the "s" in "vgs" with an "a". Type "live vga=ask" at the prompt instead of "live vgs=ask"

  • Kevincaulfield01

    It got rid of the black screen for me but now it never stops loading undder the Ubuntu logo. in my case the hard drive may be shot...

    • http://journalxtra.com Dion de Ville

      It could be your hard drive, depending on whether you have a full installation or not. It could just be a desktop configuration error. I wrote a guide to solving desktop loading problems a few days ago. You can view it here. If it doesn't solve your desktop problems it will at least teach you a few things about Ubuntu and Linux.

      The Ubuntu alternate installer works slightly differently to the standard disc. Maybe you could try it.

  • http://twitter.com/alex_taubenkorb Alexander Taubenkorb

    Thank you, the solution with "i915.modeset=0 xforcevesa" allowed me to install Ubuntu. 

    However after the installation, I tried to boot Ubuntu. I only get a black screen again. So I booted the live Ubuntu again. I tried to change grub to boot like the live version did.
    1) change /etc/default/grub: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.modeset=0 xforcevesa"
    2) Update-Grub: (see http://robertbeal.com/562/rebuilding-grub2-grub-cfg-from-ubuntu-live-cd for details)
     - sudo mount /dev/sda1 /mnt
     - sudo grub-install --root-directory=/mnt /dev/sda

    However that did not work...

    • http://journalxtra.com/ Dion de Ville

      Restore grub to its original setting before you edited it. Reboot the system (without the Live Disc). It should boot in under 30 seconds. Give it 5 minutes then press Alt+F1 to access a terminal. Let me know what you see there. If you have a prompt, type "startx" or "sudo startx" to begin an X11 Window session. This will allow you to run updates.

      A guide to fixing Ubuntu (Linux) display and startup errors is available at http://journalxtra.com/computer-advice/getting-your-desktop-back-the-almost-definitive-guide-3723/

WPMU DEV - The WordPress Experts
All original content on these pages is fingerprinted and certified by Digiprove