LinuxMCE Forums

General => Installation issues => Topic started by: pw44 on July 28, 2017, 09:04:58 pm

Title: Upgrading from 10.04 to 16.04
Post by: pw44 on July 28, 2017, 09:04:58 pm
Hi all,

after a long time, i'm back and would like to upgrade from 10.04 to 16.04.

Is there a tool where i can preserve the configurations, like phone lines, extensions, etc, or do i need to install from scratch and configure all again?

With best regards,

Paulo
Title: Re: Upgrading from 10.04 to 16.04
Post by: tschak909 on July 30, 2017, 06:26:30 am
you could try upgrading to 14.04 by changing the package repositories to trusty in /etc/apt/sources.list, doing an apt-get update and apt-get dist-upgrade.

I would suggest backing up the system disk, before doing this.

16.04 is still being debugged, so it shouldn't be used, at present.

-Thom
Title: Re: Upgrading from 10.04 to 16.04
Post by: posde on July 31, 2017, 04:44:25 am
To add to what Tschak said: Phenigma had good success moving from system to the next by using the regular LinuxMCE Backup and Restore which is available from the web admin.
Title: Re: Upgrading from 10.04 to 16.04
Post by: pw44 on August 18, 2017, 08:44:10 pm
Thanks and based on the answer, i downloded the dvd image of 14.04.

It boots, splash screen, i choose hybrid install, and runs but does nothing.

Any hint for 14.04?

BR.
Title: Re: Upgrading from 10.04 to 16.04
Post by: posde on August 19, 2017, 07:54:02 pm
The preferred way of installing LinuxMCE these days is:

* Install regular (*)Ubuntu 1404 Desktop (32 or 64)
* Run netinstall.

Enjoy :-)
Title: Re: Upgrading from 10.04 to 16.04
Post by: pw44 on August 20, 2017, 12:34:03 am
The preferred way of installing LinuxMCE these days is:

* Install regular (*)Ubuntu 1404 Desktop (32 or 64)
* Run netinstall.

Enjoy :-)

Thank you Posde. I thought only 32 bit would work. Ok, 64 bits prefered :)

Netinstall = wget mce-install.sh ?

Thanks!
Title: Re: Upgrading from 10.04 to 16.04
Post by: posde on August 20, 2017, 03:30:50 am
Code: [Select]
wget -q https://git.linuxmce.org/linuxmce/linuxmce/raw/master/src/install-helpers/mce-install.sh && chmod +x mce-install.sh
Title: Re: Upgrading from 10.04 to 16.04
Post by: pw44 on August 20, 2017, 06:08:36 pm
ok, installed 14.04 64 bits, apt-get update, apt-get upgrade, ubunt-drivers autoinstall, mce-install.sh, and at the end, rebooted. now i get mouse pointer, black screen with 0, mouse pointer, black screen with 0, and so on, endless.....

any clue?

Thanks,
Title: Re: Upgrading from 10.04 to 16.04
Post by: pw44 on August 20, 2017, 07:54:36 pm
another try. installed 14.04 fresh, not updates, mce-install.sh, went to the end, reboot and 0, mouse pointer, 0,  mouse pointer, endless

nvidia 210 is my card....
Title: Re: Upgrading from 10.04 to 16.04
Post by: posde on August 21, 2017, 04:46:33 am
Define endless.

Do you have another option of a graphics adapter?
Title: Re: Upgrading from 10.04 to 16.04
Post by: pw44 on August 21, 2017, 02:20:20 pm
endless.... looping ;)

no i don't have another graphic card.

I can enter rescue mode at boot and remove the nvidia drivers. any hint which driver shall i use for it?

blacklisted nouveau, removed nvidia*, installed drivers from NVIDIA NVIDIA-Linux-x86_64-340.102.run, same thing... 0, pointer, 0, pointer in a loop.

it seams that nvidia-install.sh is installing the removed drivers again.

did not give a try, but can i disable nvidia-install.sh so the NVIDIA NVIDIA-Linux-x86_64-340.102 stays? is it supported by lmce?

TIA
Title: Re: Upgrading from 10.04 to 16.04
Post by: pointman87 on August 21, 2017, 09:56:43 pm
try this: http://forum.linuxmce.org/index.php?topic=14520.0
Title: Re: Upgrading from 10.04 to 16.04
Post by: pw44 on August 21, 2017, 10:11:23 pm
i did some minutes ago.

removed the nvidia drives (NVIDIA NVIDIA-Linux-x86_64-340.102.run --uninstall), removed all nvidia drives (304, 375, etc), downloaded from pastebin, used and the result was the same, with 340. Changed to 304, and the result was the same.

From ssh i could see AVWizard installing 340. did not work. Could see installing 304. Did not work either.

Any driver your recomend?

This hardware configuration worked with 10.04 (well, i build it and used the HD with lmce 10.04).

TIA
Title: Re: Upgrading from 10.04 to 16.04
Post by: ardirtbiker on August 22, 2017, 01:40:09 am
i did some minutes ago.

removed the nvidia drives (NVIDIA NVIDIA-Linux-x86_64-340.102.run --uninstall), removed all nvidia drives (304, 375, etc), downloaded from pastebin, used and the result was the same, with 340. Changed to 304, and the result was the same.

From ssh i could see AVWizard installing 340. did not work. Could see installing 304. Did not work either.

Any driver your recomend?

This hardware configuration worked with 10.04 (well, i build it and used the HD with lmce 10.04).

TIA
Last I looked, in nvidia-install.sh, the selection of which nvidia driver version is based on the version of Ubuntu.  Even though I'm running 14.04, my graphics card only works with the 302 driver.  I edited nvidia-install.sh to only be able to install the 302 driver. 

You may have similar situation

Sent from my SM-G900V using Tapatalk

Title: Re: Upgrading from 10.04 to 16.04
Post by: pw44 on August 22, 2017, 04:34:01 am
Thank you ardirtbiker. Where do i find 302? seached and did not find.



Title: Re: Upgrading from 10.04 to 16.04
Post by: ardirtbiker on August 23, 2017, 12:27:33 am
I made a mistake... it is actually nvidia 304.135 (not 302)

When my MD was doing this, I was watching the dmesg log (on my core) at the file  /usr/pluto/diskless/35/var/log and saw that there were messages stating that no NVIDIA card was found supported by the driver (340 and 352)
in nvidia-install.sh there is this
Code: [Select]
case " $Driver_Current_Supported " in *" $PCI_Id "*)
                case $(lsb_release -cs) in
                        precise)
                                echo "nvidia-340"       ;;
                        trusty)
                                echo "nvidia-352"       ;;
                        xenial)
                                echo "nvidia-361"       ;;
                esac
                return 1
and there is
Code: [Select]
        case $(lsb_release -cs) in
                precise)
                        echo "nvidia-340"
                        return 1
                        ;;
                trusty)
                        echo "nvidia-352"
                        return 1
                        ;;
                xenial)
                        echo "nvidia-361"
                        return 1
                        ;;
        esac
 

I changed them all to "nvidia-304" in the nvidia-install.sh that was in  /usr/pluto/diskless/35/usr/pluto/bin/ directory (for my media director device 35...yours may be different if MD).   You should also be able to edit this file on the core /usr/pluto/bin/nvidia-install.sh


If I remember, it wasnt until i modified /etc/pluto.conf and changed either 'firstboot' or 'avwizarddone' values (or both) to get it to re-install the correct nvidia-304 driver.
Title: Re: Upgrading from 10.04 to 16.04
Post by: pw44 on August 23, 2017, 02:18:23 pm
yes, i did it also, trying 304 and 340. did not work.

is nvidia-install.sh really necessary if a nvidia driver is already installed and working (lightdm)?

Title: Re: Upgrading from 10.04 to 16.04
Post by: ardirtbiker on August 24, 2017, 01:37:41 am
One of the programmers would know that answer.  I know it gets called to run in certain conditions.

Sent from my SM-G900V using Tapatalk

Title: Re: Upgrading from 10.04 to 16.04
Post by: pw44 on August 27, 2017, 01:18:44 am
well, i could not find the way to install it..... :-[

it simply does not start avwizard. it loops from mouse pointer to black screen with 0 on the toop left corner.

tried 304, 340, nothing works.
Title: Re: Upgrading from 10.04 to 16.04
Post by: ardirtbiker on August 27, 2017, 10:51:08 pm
Did you edit nvidis-install.sh?  Or temporarily rename it?  It's set to run automatically and can reinstall over the other nvidia driver.  You can also switch to another terminal and observe log messages...that is how I determined that my card was not supported by the drivers Tgat nvidia-instsll.sh was installing.

Sent from my SM-G900V using Tapatalk

Title: Re: Upgrading from 10.04 to 16.04
Post by: pw44 on August 29, 2017, 09:24:33 pm
yes, i did edit nvidia-install.sh and did not work. Did also rename it, and created a nvidia-install.sh with "exit 0". did not work either.

purchased a nvidia 6800 and as soon i receive it will try again.
Title: Re: Upgrading from 10.04 to 16.04
Post by: ardirtbiker on August 29, 2017, 11:21:46 pm
Strange indeed.  My core has older nvidia card that only works with 304 driver.  My MD in living room has a card that will only go as high as 340 driver.  Editing nvidia-install.sh has always worked for my situation..  trying other card may resolve your issue

Sent from my SM-G900V using Tapatalk

Title: Re: Upgrading from 10.04 to 16.04
Post by: maverick0815 on September 01, 2017, 07:33:55 pm
I have quite a similiar experience....fresh install of 14.04. i tried the last image as well as net install. Its booting...displays 0 in the top left, goes blank, reboots. All of this continuously. The graphicscard in this case is a cheap gt710.
Title: Re: Upgrading from 10.04 to 16.04
Post by: ardirtbiker on September 04, 2017, 02:50:45 pm
I have quite a similiar experience....fresh install of 14.04. i tried the last image as well as net install. Its booting...displays 0 in the top left, goes blank, reboots. All of this continuously. The graphicscard in this case is a cheap gt710.
Along with modifying nvidia-install.sh, delete  /etc/X11/xorg.conf file AND in /etc/pluto.conf, change Firstboot = false to Firstboot = true...and then reboot

Sent from my SM-G900V using Tapatalk

Title: Re: Upgrading from 10.04 to 16.04
Post by: phenigma on September 06, 2017, 07:15:44 pm
If we can get the PCI id's of the cards in question then lmce can automatically choose the correct driver.

`lspci -nn | grep VGA`

I think that gives what we need.

J.
Title: Re: Upgrading from 10.04 to 16.04
Post by: ardirtbiker on September 08, 2017, 02:43:17 am
here you go Phenigma:

my CORE (that will only run driver up to version 304.135)
Code: [Select]
00:18:00.0 VGA compatible controller [0300]: NVIDIA Corporation G71 [GeForce 7950 GT] [10de:0295] (rev a1)
my MD (that will only run driver up to version 340.102):
Code: [Select]
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF116 [GeForce GTX 550 Ti] [10de:1244] (rev a1)
Title: Re: Upgrading from 10.04 to 16.04
Post by: phenigma on September 08, 2017, 05:52:57 pm
Could I get you to create an Issue in GitLab at https://git.linuxmce.org/ so we can track this and not lose it?

Thanks!

J.
Title: Re: Upgrading from 10.04 to 16.04
Post by: ardirtbiker on September 09, 2017, 12:55:03 am
 Issue #2793
Title: Re: Upgrading from 10.04 to 16.04
Post by: pw44 on September 11, 2017, 09:05:18 pm
tried with nvidia 6800. same issue.