News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

update problems/mistakes made(solved)

Started by S4Howie, March 09, 2017, 05:10:55 AM

Previous topic - Next topic

S4Howie

In a nighly crazyness i acidently applied the LTS security updates on 1 MD.It told me Warning i should apply security updates to my hardware stack to get LTS support.But now this MD is somekind of broken. If i want to boot up it loads the vmlinuz but then it
stoping and telling me Could not find ramdisk image;   XX/initrd.img

If i look into the tftp folder the symlinks are there for initrd.img. I tried to copy the symlinks from a folder of another MD then the broken MD boots up but its then updating itself again and rebooting and then again telling Could not find ramdisk image;   XX/initrd.img

so i went into LinuxMCE admin to MD Section and rebuild the image. The rebuild MD boots up but its then updating itself again and rebooting and then again telling Could not find ramdisk image;   XX/initrd.img

I even deleted the MD,setup a new with all new Device names. It boots up applying itself updates reboots and same again Could not find ramdisk image;   XX/initrd.img.

Is there a way to get it back normal?Why even after delete and new setup it seems to apply the security updates?How can i stop that now?And just let it do the normal updates when i setup a new 1 or rebuild the image?I hope there is a way.

Thanks so far

phenigma

What version of lmce are you running and please post the contents of your pluto.conf file.

Sent from my Nexus 5 using Tapatalk

My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

Marie.O

I had issues with the LTS stack as well. It was caused by the newer initrd images being larger than 32M, which causes issues with tftp. To fix it, I switched back to the old initrd and vmlinuz.

kernel upgrade brought me initrd.img-4.4.0-62-generic, now I am back at initrd.img-3.16.0-77-generic - same for the vmlinuz.

That fix helped me, but is just a band aid.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

S4Howie

Thanks for the fast awnsers.

@phenigma build is 14.04 Version: 2.0.0.47.201609281853+9638f5bc on the core

   pluto.conf from core is:
   
PK_Device = 1
MySqlDBName = pluto_main
Display = 0
PlutoVersion = 2.0.0.47.201702201459+325cc736
LogLevels = 1,5,7,8
AutostartMedia = 1
AVWizardDone = 1
Bookmark_Media = 4,5
RA_CheckRemotePort = 1
MySqlHost = localhost
MySqlUser = root
MySqlPassword =
DCERouter = localhost
MySqlPort = 3306
DCERouterPort = 3450
Activation_Code = 1111
PK_Installation = 1047743
PK_Users = 1
PK_Distro = 21
UseVideoWizard = 1
AutostartCore = 1
LTS_HES = -lts-utopic
fw_blocklist=0
DisableIPv4Firewall=1
DisableIPv6Firewall=1
AdvancedFirewall=0
Show_all_rules=0
fwVersion=ipv6
FirstBoot = false
TimeZoneSet = 1
DesktopActivated = 1
LastSearchTokenUpdate=1489087065
OfflineMode = false
AVWizardOverride = 0
DVDKeysCache = /home/.dvdcss
AddInternetRadio=0
fwVersion=ipv4
DisableIPv4Firewall=1
DisableIPv6Firewall=0
DisableIPv4Firewall=0
DisableIPv6Firewall=0
DisableIPv4Firewall=1
DisableIPv6Firewall=0
DisableIPv4Firewall=1
DisableIPv6Firewall=1
fwVersion=ipv6
DisableIPv4Firewall=1
DisableIPv6Firewall=0
DisableIPv4Firewall=0
DisableIPv6Firewall=0
fwVersion=ipv4
DisableIPv4Firewall=1
DisableIPv6Firewall=0

@posde Yes excactly the newer init.rd is a bit over 32 MB,looks like you are all right with this.
             But i dont understand how to switch back now?

Thank you

Marie.O

I just re-linked the older (3.x) init.rd and vmlinuz files and rebooted. And take care not to apt-get autoremove them ;)
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

Marie.O

Maybe running

apt-get install --reinstall linux-image-3.16.0-77-generic

on your MD will fix the issue for you.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

S4Howie

posde that worked!!
Since i had deleted the MD i need to do following:

Step1: Setup new md,reload the core,let the md boot and update and reboot till its stuck in tftp boot then power off
Step2: re-link the older (3.x) init.rd and vmlinuz files and reboot
Step3: MD comes up again but shows no picture
Step4: apt-get install --reinstall linux-image-3.16.0-77-generic over core console and reboot
Step5: having a lot of joy seeing the MD boot again over pxe(but no picture no xserver)
Step6: since i have a nvidia card installing the latest nvdia package and driver reboot several times
Step7: drink a beer and enjoy your reborn MD with showing picture again

Thank you once again posde,i would be lost without you guys.
awesome work and support,keep LinuxMCE alive pls

Marie.O

Glad I could help and things are back to normal. And thanks for the feedback.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

tschak909

#8
We are trying as hard as we can to keep LMCE going, there are only a few of us who can work on it in our free time. If you know other interested hackers programmers (changed by posde), it sure would help. :)

-Thom

phenigma

If there are problems with the xenial lts stack then it can be set back to wily (or other pre-4.0 kernel) until aftpd can be replaced/upgraded.

J.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]