Author Topic: Recovering from a failed install  (Read 6795 times)

Pob

  • Newbie
  • *
  • Posts: 11
    • View Profile
Recovering from a failed install
« on: February 17, 2010, 07:03:02 am »
I have successfully installed kubuntu using the bottom option on 8.10b2 DVD and did the apt-get update and apt-get dist-upgrade.

I had not noticed that my internet interface eth0 had stopped working after rebooting.  It was working prior to updating kubuntu.

When I clicked the LinuxMCE icon on the destop, the installation started but returned quite a few errors due to not having an internet connection, I assume.

I have since rebooted the PC which now goes straight to the console prompt user@computername:~$
How can I get back to the kubuntu desktop from here?

I have tried to ping my router with no success.
How can I check and activate the configuration of eth0 from the console?  I have tried using the ifconfig command but am not too sure how to use this properly.  eth0 just needs to be DHCP.

If I can get this going I can try to re-run full-install.sh from the console instead.


Any help would be greatly appreciated.

Cheers,

Pob


tkmedia

  • wants to work for LinuxMCE
  • **
  • Posts: 937
    • View Profile
    • LMCECompatible
Re: Recovering from a failed install
« Reply #1 on: February 17, 2010, 08:41:29 am »
Try sudo ifup eth0
then startx
with any luck that will bring you to kde with network support




HTH



Tim
My Setup http://wiki.linuxmce.org/index.php/User:Tkmedia

For LinuxMce compatible  systems and accessories
http://lmcecompatible.com/

Pob

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Recovering from a failed install
« Reply #2 on: February 17, 2010, 09:44:30 am »
Thanks for the quick reply Tim.

sudo ifup eth0

returned

Ignoring unkown interface eth0=eth0

and

xstart

returned

-bash: xstart: command not found

Seems like I might need to dig a bit deeper.

When I do

ifconfig

it does list eth0 and lo

eth0 is listed as ethernet with a hardware address, UP BROADCAST RUNNING MULTICAST, all stats 0 except RX dropped is increasing.

Any ideas?

Pob

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Recovering from a failed install
« Reply #3 on: February 17, 2010, 10:51:37 am »
Further to the above,

I checked /etc/network/interfaces for an entry for eth0.  There was none.

So I added iface eth0 inet dhcp then tried sudo ifup eth0 again.
This time it initiated a broadcast for an ip address but failed to recieve one.

I did a check using ifconfig.
This time it lists eth0 as well as eth0:avahi.

eth0 is still showing nil for all packet stats except rx drops still rising.
eth0:avahi has the same hardware address as eth0.

If I can at least get the network connection going, I can try to run full-install.sh again.

Is anybody able to shed some light on this issue?
Any pointers will be gladly received.

Thanks,

Pob


Pob

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Recovering from a failed install
« Reply #4 on: February 17, 2010, 10:58:43 am »

xstart

returned

-bash: xstart: command not found


Maybe if I could read it might help.

startx works fine when typed correctly.  :-[

Thanks again Tim.

Pob

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Recovering from a failed install
« Reply #5 on: February 17, 2010, 12:32:39 pm »
I have since found that the eth0 connection to be rather temperamental.

For some reason the DNS info is not being passed on.
So when the LinuxMCE install starts.  All the host addresses can not be resolved, resulting in a failed install.

I check the response from dig, but got none.  I could ping my router fine. 
I kept trying to ping ntp.ubuntu.com (the first host on the install) until for some reason it started to reply.


I immediately started the installation again, and no there have been no errors so far. (ongoing)
Fingers crossed this will be a successfull install, but I am expecting the DNS issue to come back and bite me later.

Time to dig up some info on dig, so I can work out what the problem may be.

-Pob

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: Recovering from a failed install
« Reply #6 on: February 17, 2010, 01:45:41 pm »
If you have two NIC cards, the problem may be NIC switching, and if it's the case, edit file /etc/udev/rules.d/70-persistent-net.rules and change eth1 to eth0 on first entry (mobo interface) and change eth0 to eth1 (Gb Intel interface) - after reboot, it works like it should.

Pob

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Recovering from a failed install
« Reply #7 on: February 18, 2010, 08:40:07 am »
If you have two NIC cards, the problem may be NIC switching, and if it's the case, edit file /etc/udev/rules.d/70-persistent-net.rules and change eth1 to eth0 on first entry (mobo interface) and change eth0 to eth1 (Gb Intel interface) - after reboot, it works like it should.

Thanks pw44

Unfortunately this is not the case.  I only have one onboard NIC and no others.
I have hit another hurdle for the time being, so I will have to sort this out later.

-Pob

macaroni

  • Regular Poster
  • **
  • Posts: 33
    • View Profile
Re: Recovering from a failed install
« Reply #8 on: February 18, 2010, 02:24:36 pm »
IF you only have one nic, you will have problems. two nics are required for the lmce installation whether or not you have any other MD's.

dlwhite9

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Recovering from a failed install
« Reply #9 on: February 18, 2010, 05:19:40 pm »
I'm starting with a new installation of LMCE 8.10b2 and I'm also having problem installing and getting LMCE to come up. 

Hardware:
Pentium Dual Core - 4GB Memory
GeForce 9500 GT Video Card
Hauppauge 1600 Tuner
2 - Ethernet ports - one on Gigabyte board, 1 in PCI slot

I have installed the LMCE DVD Beta2, apt-get update, dist-upgrade and network LMCE install.   This all goes well.  The reboot happens and then I get a "Avwizard" popup with "Failed to Setup x".   I have done the following:

dcerouter_1:~# sudo ifup eth0

ifup: interface eth0 already configured

dcerouter_1:~# startx

I got a lot of messages, but that last few are:  (See attachement for screen shot)

Fatal server error:
no screens found
giving up.
xinit:  Connection refused (errno 111): unable to connect to X server
xinit:  No such process (errno 3):  Server error.

Any ideas?   Thank you in advance....

dlwhite9

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Recovering from a failed install - NEW INSTALLATION
« Reply #10 on: February 18, 2010, 08:59:11 pm »
Additional information for my post above....

I also received the following "Fail" messages on boot up before I got the "AVWizard" message with "Failed to Setup X"....

Starting NFS common utilities  - Fail
Starting domain name service ... bind9   --- Fail
Starting NFS common utilities    -- Fail
Starting NFS kernel daemon        -- Fail    (After about a 1 or 2 minute wait)
Starting Samba daemon  --- Fail

Again, thank you in advance, Don

Pob

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Recovering from a failed install
« Reply #11 on: February 19, 2010, 04:40:48 am »
Don,

I am by no means an expert at this but as a fellow head scratcher in a simular situation.  I might be able to help.

I had that problem, because of my network connection.

From the console, try to ping your router to confirm connectivity to it (assuming your web connection is through a router).

ping 10.1.1.1  (or whatever address you have to ping to)

Then if that is okay check that DNS is working.

ping www.google.com (or whatever)

If not, check interfaces file as below.

My problem was that I had only one NIC, and the settings in /etc/network/interfaces was incorrect.

I edited the file so that I was using DHCP (router provided address and DNS)

auto eth0
eth0 inet dhcp


Saved it then,

sudo ifdown eth0 (may not be needed)
sudo ifup eth0

Then it was a goer.

I got the failed to Setup X too, but I think I checked the other screens (Ctrl + ALT + F1 through F?) and found that there were things still going on.

I have learnt that if the PC seems to have hung, I wait, go make a coffee, check if anything is going on in the other screens.
Then but only then do I reluctently reboot.

Hope this helps

Let me know how you go.

nickleboyblue

  • Making baby steps
  • Posts: 3
    • View Profile
Re: Recovering from a failed install
« Reply #12 on: February 20, 2010, 07:29:49 pm »
This sounds like a driver issue with the device you are using for eth0.  Try this:

$:lspci -v

Check to see where your ethernet controller is.  It should have the pertinent device information on the first line.  mine reads like this:

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)

Notice the device numbers, ie "RTL8111/8168B."  The last two lines under the Ethernet controller device should indicate which drivers are in use.  For me:

Kernel driver in use: r8169
Kernel modules: r8169

This driver does not work for this device in earlier ubuntu distributions, as the device is 8168B and not 8169.  If you have a similar problem, google your device and driver and see what you come up with in the regular ubuntu or kubuntu forums.  You might be able to replace the driver from the command line and hopefully that will get your Internet connection up and running, though I don't know for sure if LMCE uses the same Ethernet drivers as ubuntu does.

(this computer is running on ubuntu 9.10, due to my failure to install LMCE on it)