LinuxMCE Forums

General => Users => Topic started by: kyfalcon on September 16, 2011, 04:03:33 pm

Title: MD setup fails in 10.04
Post by: kyfalcon on September 16, 2011, 04:03:33 pm
Getting Diskless setup failed on both of my MD's in 10.04.

Is this working?

I installed 10.04 on my core.
did apt-get update /upgrade

then ran Diskless_CreateTBZ.sh

when I boot the MD's I get "Diskless Setup Failed".

I checked fstab-diskless and it is correct.

Can I rerun Diskless_CreateTBZ.sh or do I need to start from scratch?

Title: Re: MD setup fails in 10.04
Post by: bongowongo on September 16, 2011, 05:42:09 pm
Network is configured properly?
Title: Re: MD setup fails in 10.04
Post by: kyfalcon on September 16, 2011, 05:56:11 pm
Same system I have 8.10 running on. Just a different drive. Is there something I am missing in your question?
Title: Re: MD setup fails in 10.04
Post by: tkmedia on September 16, 2011, 10:15:28 pm
I wonder if a kernel change under 1004 could cause this?



Tim
Title: Re: MD setup fails in 10.04
Post by: kyfalcon on September 17, 2011, 02:13:46 am
What should the /etc/apt/sources.lst look like for an MD?

If I have this right and do an apt-get update/upgrade will this potential fix things?

Title: Re: MD setup fails in 10.04
Post by: Newguy2 on September 17, 2011, 03:04:13 am
I had the same issue about a month ago, never really tried to to bug anybody on here to resolve because i assumed it was something that would be worked out in a later alpha.
Title: Re: MD setup fails in 10.04
Post by: dextaslab on September 17, 2011, 08:52:02 am
bit of a silly question, but if Diskless_CreateTBZ.sh completed sucessfully, and it still trys to run Diskless Setup anyway (and fails), is the mac address in webadmin for the MD correct?
Title: Re: MD setup fails in 10.04
Post by: kyfalcon on September 19, 2011, 03:59:26 pm
MAC Address is correct.

Went ahead and did a complete reinstall of 10.04 on the core. Followed the steps above and I am getting the same thing. It looks like none of the nvidia drivers are installed.
Title: Re: MD setup fails in 10.04
Post by: fibres on September 24, 2011, 10:52:21 pm
Now this is an interesting one.

I have just connected the first md to my 10.04 System.

It booted, ran diskless_setup and said it had failed.

I rebooted the machine and in a min or so the av wizard came up.

I have completed that and got into the md setup screen and heard sarah. I am just letting it install do all the download and install bits.

But it seems to be working even though the script fails. So I wonder if this is failing on some minor issue and is actually working ok?

Regards
Title: Re: MD setup fails in 10.04
Post by: Murdock on September 25, 2011, 03:13:09 am
MD setup will fail in 1004 for now due to issues with the asterisk issues with 1004. Foxi352 is heading an effort to remedy this issue for this and future releases and consolidating the multiple MCE asterisk packages from multiple down to one comprehensive package.

At any rate, the MD setup will not complete until the Foxi completes his work, or if you do some workarounds and get the asterisk packages to install correctly during your 1004 core build.
Title: Re: MD setup fails in 10.04
Post by: fibres on September 25, 2011, 09:44:14 pm
Hi Murdock.

Thanks for the info.
Are there any instructions on the workarounds needed??

Regards
Title: Re: MD setup fails in 10.04
Post by: kyfalcon on September 26, 2011, 03:37:57 pm
Once the md builds go to the core and chroot to the mds directory and do apt-get update and apt-get upgrade. You might have to do some manual tweeking, but I have both mine up and running. Be carefule xconf may break keyboard functionality check the forum for fixes. Also I currently have no remote functionality. Working on getting that fixed.

One other thing to get the latest nvidia driver you need to do a apt-get install nvidia-glx-260
Title: Re: MD setup fails in 10.04
Post by: Murdock on September 26, 2011, 05:10:00 pm
Im testing a workaround now with the updated installer. The 1004 asterisk packages via mce are pretty horked so this workaround would only be to get an md up and running and not to get asterisk usable. For asterisk usable we will need to wait on foxi's work to be completed. Ill post an update when my testing completes.
Title: Re: MD setup fails in 10.04
Post by: fibres on September 28, 2011, 06:58:41 pm
Hi Murdock.

I installed last night using your new installer, as per your other post.

I have left Diskles_CreateTBZ.sh runnning while im in work. I will try booting my md when I get home.

So should it work out of the box with the new installer?

If not

Do the instructions you suggest kyfalcon,

Do I run these after the diskless setup fails message before trying to boot the md?

As in power up MD.
Let it run till the Diskless failed message.
Power off MD

Run the apt-get update upgrade
Install the nvidia drivers.

The power the MD back up?

Regards
Title: Re: MD setup fails in 10.04
Post by: kyfalcon on September 28, 2011, 09:39:43 pm
I did the update/ upgrades on my md's through the core by chrooting into the diskless image after the diskless setup failed.

Try Murdock's script first it may fix the issues I was seeing.
Title: Re: MD setup fails in 10.04
Post by: fibres on September 28, 2011, 11:26:57 pm
Well I installed using murdocks script.

I then ran Diskless_CreateTBZ.sh

Diskless setup still failed when I boot the MD.

Ill try your tip kyfalcon.

Regards
Title: Re: MD setup fails in 10.04
Post by: fibres on September 29, 2011, 01:52:24 am
Ok

First try failed.

Second time round I noticed on the apt-get update it came up with a medibuntu gpg error and a missing packages.gz. So I copied these from the Core and rerun apt-get update and it finished

I didnt install the nvidia-glx-260.

I ran upgrade and it told me something about Flash having unmet dependencies. I ran apt-get install -f and this fixed that.

I ran apt-get upgrade and told me there was nothing.

I booted the MD and it came up with the kubuntu logo for ages.
When I ssh'ed to the MD i could see it was installing nvidia-glx-260 automatically and was installing kernel-headers. After a long time the md rebooted and came up with the av wizard. I will run that and the install over night and post the outcome in morning.

Regards
Title: Re: MD setup fails in 10.04
Post by: Murdock on September 29, 2011, 02:15:10 am
here are the manual steps I've made to this point:
Code: [Select]
cp /usr/pluto/deb-cache/Packages.gz /usr/pluto/diskless/58/usr/pluto/deb-cache/
chroot /usr/pluto/diskless/58/
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | apt-key add -
apt-get -f install
adduser public #for pluto-mythtv package postinst script
apt-get -y upgrade

Title: Re: MD setup fails in 10.04
Post by: fibres on September 29, 2011, 02:18:49 am
Interesting.

I have done similar to that. Everything started ok. It installed the nvidia-glx-260 rebooted gave avwizard.
Generated the orbiters.
Now its just coming up with Orbiter failed to initialize OpenGL

Regards
Title: Re: MD setup fails in 10.04
Post by: kyfalcon on September 29, 2011, 02:29:57 am
check your xorg.conf. i betcha it is not using nvidia device.

i had to create mine from my 810 setup for this md
Title: Re: MD setup fails in 10.04
Post by: fibres on September 29, 2011, 02:41:31 am
Ok

Thanks to TKMEDIA on mirc.

I ssh'd onto the md and ran nvidia-xconfig

Rebooted and I now see Sarah!!

Now ill set most things. Let it do the downloads and installs in the setup wizard overnight as I have a slow 3mb ADSL here and see where we are in morning.

Hopefully it will all be working. I have got this far before but it had not installed the nvidia glx drivers and I had no VDPAU so nothing played as the md is an Atom based Zotax Zbox ID11 HD

Regards
Title: Re: MD setup fails in 10.04
Post by: fibres on September 29, 2011, 03:20:41 am
Ok. Rebooted and all seems to be working.

I can play media and watch TV!!

Title: Re: MD setup fails in 10.04
Post by: Murdock on September 30, 2011, 07:16:21 pm
fyi - updates for MD setup/creation I'm tracking here: http://svn.linuxmce.org/trac.cgi/ticket/1265