I'm trying to install Ubuntu 14.04 LTS on my desktop pc, but it wan't connect to the internet, and I keep getting a fatal error

Asked by MrBlack

Hello, i'm trying to install Ubuntu 14.04 LTS 64Bit on my home desktop pc as my main work OS. When I boot into the installer it says I have no internet connection, My computer is directly connected to my router, and my router is working fine, so i'm not sure why this keeps happening. I tried to install Ubuntu without internet anyways, and the installation seemed to be going fine at first, but right before the installation finishes a fatal error pops up saying "grub-install /dev/sda failed". I looked this error up and fond some fixes online, but none of them seemed to work for me. I tried running the installer again a few more times in and out of live boot mode, but with no luck. At first I thought maybe my Ubuntu disc was messed up, I tried re-burning it. After I made the new disc I tried installing Ubuntu again, but I still ended up with the same problems. I then tried burning Ubuntu to a USB, but once again I ended up having the same issues as I had with using a disc. After struggling with trying to get Ubuntu installed, I decided to try to install a few different linux distributions in hopes to get at least one to work. I tried Lubuntu, Xubuntu, Manjaro, and Arch Linux, but sadly they all seemed to have the same problems, no internet connection and some type of fatal error at the end. Does anyone know how to fix this? I've been running Ubuntu on my laptops for a long time now, and i'd live to be able to use it on my desktop to.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

Just because you have a wire going from your system to a router doesn't mean you have an Internet connection. There is a type of software called a "driver" which tells the OS how to communicate with the network hardware which is either missing or needs some configuration to work.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Have you tried manually installing GRUB?
What disk setup are you using?

Thanks

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#4

Hello,

from what you are describing, seems like a hardware problem to me, not for sure but it could be. Specifically with the HDD.

This is independent from the "no Internet connection" problem. This is related to the fatal error with GRUB installation.

First, I suppose you don't have (nor want) to install Ubuntu alongside Windows. If yes, please tell us what is the version of Windows you have installed and if this PC has a BIOS or UEFI firmware.

Could you please load an Ubuntu live CD/USB , then open a terminal and execute the following commands:

$ lspci -nnk | grep -ie vga -ie net -A2 > system-info.txt
$ /bin/bash -c 'echo -e "\n#### PARTED ####\n" && sudo parted -l' >> system-info.txt
$ /bin/bash -c 'echo -e "\n#### LSHW ####\n" && sudo lshw' >> system-info.txt
$ /bin/bash -c 'echo -e "\n#### DMESG ####\n" && dmesg' >> system-info.txt

Please copy-paste above commands one-by-one from here into the terminal skipping the dollar sign ($).

Then open system-info.txt file with an editor (ie gedit) and copy-paste the results here. You can transfer the system-info.txt file in a USB stick and manage it from another PC , in which you have Internet connection.

Regards
NickTh

P.S. Don't forget to mark the question as [SOLVED], when done.

Revision history for this message
MrBlack (k0die80ck) said :
#5

Actually, it had to do with my BIOS settings. After I enabled IOMMU in BIOS all seemed to work, and I now have Ubuntu working fine. Also can I even install drivers on a live cd?

Revision history for this message
MrBlack (k0die80ck) said :
#6

Hello, thanks for all the feed back guys! :) I found the fix to my problem, I had to enable IOMMU in my BIOS.