Ubuntu – Ubuntu 12.10 installation problem via usb


I had Windows 7, and I wanted to try Ubuntu 12.10. I downloaded the .iso file and used Universal USB Installer to make a bootable USB of Ubuntu. The installation was successful. I restarted my laptop to complete the installation and then, I got a black screen with white letters showing:

 Intel UNDI, PXE-2.1 (build 083)
 Copyright (C) 1997-2000 Intel Corporation 

 This product is coverd by one or more of the following patents:
 US5, 307,459,   US5,434,872,  US5,732,094,  US6,570,884,   US6,115,776
 and US6, 327, 625

 Realtek PCIe GBE Familly Controller Series v2.35 (06/14/10)
 PXE-E61: Media test fallure, check cable

 PXE-M0F: Exiting PXE ROM.

That message appears for about 2 seconds and the laptop restarts and this goes again and again.

When I put my USB back and click on Try Ubuntu before installing, I can see that my HDD is not empty. I can see that Ubuntu is installed, but won't start.

Also I check my bios and my priority for boot are set:

  1. HDD
  2. DVD
  3. USB
  4. PCI Lan

My laptop is a Lenovo B570.

Best Answer

The Solution

Reinstalling GRUB will fix this. This question explains how:

Or if you prefer, you can use any of these methods:

If you experience any further problems booting your new Ubuntu system, please go ahead and edit your question again (then you can comment on this answer to let me know).

Everything you need to know to fix this problem is there...but in case you're interested in what is wrong and why that will fix your situation, I've included an explanation below.

The Problem

The error message is actually telling you that it tried to boot via Ethernet and failed. This makes sense--to boot successfully from the fourth device in the boot list, PCI Lan, you'd have to have a boot server running on a local network.

This error message is useful to us not because it tells us it failed to boot from PCI Lan, but because it tells us it tried. That means it was unable to boot from all of the boot devices that are set before it in the list.

It makes sense that it didn't boot from USB--the Ubuntu live USB was disconnected, and you've reported that when it is connected, it boots. And it makes sense that it didn't boot from the CD/DVD drive--you probably didn't put a bootable disk in that drive.

The question is, why didn't it boot from the hard disk? We know the hard disk works, since it worked before, it worked when you installed, and you can access it from an Ubuntu live system. And it looks like the system was installed.

For the BIOS to move down on the boot device list from the hard disk, the disk must have appeared not bootable at all. That is, the problem isn't that the installed operating system begins to start and has a problem. Rather, the installed operating system cannot even start. Its boot loader, GRUB, is nowhere to be found.

While most installations go without anything going wrong, this is actually one of the more common installation problems. It can occur if you manually tell the installer not to install GRUB to the master boot record of the first hard drive, if it identifies the first hard drive incorrectly (its idea of first isn't necessarily what the BIOS tries to boot first), if it thinks a suitable boot loader is already in place (and is wrong), and possibly for other reasons.

Reinstalling the GRUB2 boot loader to the master boot record of the drive that the BIOS is trying to boot almost always solves this problem. When someone with a working Ubuntu system installs a Windows system alongside Ubuntu, the Windows installer will overwrite the master boot record with its own boot loader, which does not detect and provide an option to boot Ubuntu. That's what your situation has in common with that of users who've just installed Windows beside Ubuntu.

Related Question