Author Topic: Update 10.04 to 12.04 = success (at least to me)  (Read 38551 times)

polly

  • Administrator
  • Guru
  • *****
  • Posts: 209
    • View Profile
Re: Update 10.04 to 12.04 = success (at least to me)
« Reply #45 on: April 04, 2013, 11:30:16 am »
is "DesktopActivated=1" the setting that tells me its a Headless Core or a Hybrid?

Found in the Forum:

Code: [Select]
DesktopActivated = 1 means that there are two desktops running in the same time (or could run).
« Last Edit: April 04, 2013, 11:32:09 am by polly »

sambuca

  • Guru
  • ****
  • Posts: 462
    • View Profile
Re: Update 10.04 to 12.04 = success (at least to me)
« Reply #46 on: April 04, 2013, 12:38:16 pm »
Foxi wrote in his post:

AutostartMedia=0

This disables the MD part of the machine, thereby making it a core and not a hybrid.

br,
sambuca

polly

  • Administrator
  • Guru
  • *****
  • Posts: 209
    • View Profile
Re: Update 10.04 to 12.04 = success (at least to me)
« Reply #47 on: April 04, 2013, 01:13:43 pm »
okidok! ....  ::)

i will integrate this in the script...

thanks!

coley

  • Guru
  • ****
  • Posts: 492
    • View Profile
Re: Update 10.04 to 12.04 = success (at least to me)
« Reply #48 on: April 04, 2013, 01:30:54 pm »
Btw, howto setup a MD when Core is running on the same Machine/VM?
When you set up your core VM ensure 2 nics, the first set up as NAT, and the second on the Internal network provided by the VM.
Then set up a 2nd VM for an MD with no HD and one nic on the Internal network. I don't know what you use for running your VMs but you'll need to specify this MD boots from the Network.

-Coley.

polly

  • Administrator
  • Guru
  • *****
  • Posts: 209
    • View Profile
Re: Update 10.04 to 12.04 = success (at least to me)
« Reply #49 on: April 04, 2013, 03:31:54 pm »
I'm using VirtualBox.
Thanks for your hints ... still a lot of space for improvements in the script .... :-P

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: Update 10.04 to 12.04 = success (at least to me)
« Reply #50 on: April 04, 2013, 04:59:09 pm »
Upgrade of the MD not so successful, log here http://paste.ubuntu.com/5674981/
I'm left with an MD attempting to start KDE desktop and failing.

-Coley.

hmm, issue there with plymouth not wanting to upgrade.  Something to try, edit the sources.list file on your MD, prior to upgrade, and comment out the /usr/pluto/deb-cache line.  The 1004 packages in the deb-cache could be interfering with upgrades.  Let us know if this fixes things, we may have to wipe the deb-cache prior to upgrading.

J.

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Update 10.04 to 12.04 = success (at least to me)
« Reply #51 on: April 04, 2013, 05:36:49 pm »
I would say, yes.

-Thom

Foxi352

  • Veteran
  • ***
  • Posts: 52
    • View Profile
Re: Update 10.04 to 12.04 = success (at least to me)
« Reply #52 on: April 04, 2013, 05:40:42 pm »
As anyways the packets in the deb-cache are useless after the upgrade we should maybe wipe it, and rebuild it with the new packets after upgrade ?

polly

  • Administrator
  • Guru
  • *****
  • Posts: 209
    • View Profile
Re: Update 10.04 to 12.04 = success (at least to me)
« Reply #53 on: April 05, 2013, 01:06:02 pm »
just to summarize all things left to do:

- For Headless installs: set AutostartMedia=0
- wipe the deb-cache prior to upgrading
- Headless/Hybrid/MDs: wipe deb-cache, and "apt-get update" to rebuild ?

i hope to get this done on the weekend.

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: Update 10.04 to 12.04 = success (at least to me)
« Reply #54 on: April 05, 2013, 02:22:17 pm »
As anyways the packets in the deb-cache are useless after the upgrade we should maybe wipe it, and rebuild it with the new packets after upgrade ?

The rebuild will happen automatically, the wipe needs to be done in the upgrade script, and the Packages and Packages.gz files recreated with no entries, prior to the upgrade happening.

J.

coley

  • Guru
  • ****
  • Posts: 492
    • View Profile
Re: Update 10.04 to 12.04 = success (at least to me)
« Reply #55 on: April 16, 2013, 01:24:52 am »
i hope to get this done on the weekend.
Did you get any further with your script?
Last time I tried the MD upgrade it took an eon - and even with that don't recall it completing successfully.
Anything specific I can try?

-Coley.

polly

  • Administrator
  • Guru
  • *****
  • Posts: 209
    • View Profile
Re: Update 10.04 to 12.04 = success (at least to me)
« Reply #56 on: April 16, 2013, 09:13:33 am »
Hey coley,

- Core Upgrade (hybrid and headless) works
- MD Upgrade works (at least for me), ran it yesterday and it finished within 8 hours....... could be worse! ;-)

Only one tiny thing is missing, you need to set permissons for initrd.img and vmlinuz for every MD!
This was the reason for my test yesterday!

No permission, no MD boot! ...

do:

chmod +r /usr/pluto/diskless/<number>/initrd.img
chmod +r /usr/pluto/diskless/<number>/vmlinuz
chmod +r /usr/pluto/diskless/boot/initrd.img
chmod +r /usr/pluto/diskless/boot/vmlinuz

cheers,
ochorocho

coley

  • Guru
  • ****
  • Posts: 492
    • View Profile
Re: Update 10.04 to 12.04 = success (at least to me)
« Reply #57 on: April 16, 2013, 12:08:33 pm »
did you do the MD upgrades via chroot? or on the actual machines themselves?
-Coley.

polly

  • Administrator
  • Guru
  • *****
  • Posts: 209
    • View Profile
Re: Update 10.04 to 12.04 = success (at least to me)
« Reply #58 on: April 16, 2013, 03:34:53 pm »
on the actual machine itself! ...

Thanks for Testing!

darkwizard864

  • Veteran
  • ***
  • Posts: 131
    • View Profile
Re: Update 10.04 to 12.04 = success (at least to me)
« Reply #59 on: April 16, 2013, 06:25:12 pm »
does asterisk work ( i mean telecom) ?