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

0810 alpha 2 no /usr/pluto/diskless

Started by chrisbirkinshaw, April 11, 2009, 01:10:27 AM

Previous topic - Next topic

chrisbirkinshaw

I have defined an MD and clicked rebuild but it seemed to be instant. I had a snoop around the system and saw /usr/pluto/diskless does not exist. No warning is given by /usr/pluto/bin/Diskless_Setup.sh, yet nothing is created for that MD. I tried creating /usr/pluto/diskless and running the Diskless_Setup again but still nothing is created.

Has anyone seen this?

Chris


tkmedia

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

For LinuxMce compatible  systems and accessories
[url="http://lmcecompatible.com/"]http://lmcecompatible.com/[/url]

schaferj

And - give it some time, it's slow.
joseph

chrisbirkinshaw

Quote from: tkmedia on April 11, 2009, 01:22:42 AM
Did you follow?

http://wiki.linuxmce.com/index.php/LinuxMCE-0810_alpha1#Setup_Diskless_MD

I have done this many times sucessfullly

Tim

Yes, it looks like it worked, but then /usr/pluto/diskless is empty. It also seems odd that it was not created in the first place.

I want to try the install again, but do I need to wipe everything or can I run the scripts again?


pigdog

Hi chrisbirkinshaw,

After you run the Diskless script boot the MD again.

If that doesn't work try the script again before re-installing.

Cheers.

ProfFalken

I can confirm that this does not work on a fresh install of LMCE-0810-alpha2.

The device shows up as a media director in the web interface, however there is no data created in /usr/pluto/diskless and the reboot of the MD tries to re-run diskless_setup.

I had to create /usr/pluto/diskless as root and still no joy.

output from console when running Diskless_Setup.sh is as follows:


22217 Thu Apr 16 19:34:02 BST 2009 TryLock 'Diskless_Setup' (Diskless_Setup)
22217 Thu Apr 16 19:34:02 BST 2009 Lock 'Diskless_Setup' (Diskless_Setup)
22217 Thu Apr 16 19:34:02 BST 2009 Lock 'Diskless_Setup' (Diskless_Setup) success
22217 Thu Apr 16 19:34:02 BST 2009 TryLock 'Diskless_Setup' (Diskless_Setup) success
Getting list of Media Directors
22302 Thu Apr 16 19:34:02 BST 2009 WaitLock 'PlutoDHCP' (PlutoDHCP.sh)
22302 Thu Apr 16 19:34:02 BST 2009 WaitLock 'PlutoDHCP' (PlutoDHCP.sh) success
22302 Thu Apr 16 19:34:02 BST 2009 Unlock 'PlutoDHCP' (PlutoDHCP.sh)
22302 Thu Apr 16 19:34:02 BST 2009 Unlock 'PlutoDHCP' (PlutoDHCP.sh) success
22217 Thu Apr 16 19:34:02 BST 2009 Unlock 'Diskless_Setup' (Diskless_Setup)
22217 Thu Apr 16 19:34:02 BST 2009 Unlock 'Diskless_Setup' (Diskless_Setup) success
dcerouter_112298:~# 22313 Thu Apr 16 19:34:02 BST 2009 WaitLock 'PlutoDHCP' (PlutoDHCP_config)
22313 Thu Apr 16 19:34:02 BST 2009 WaitLock 'PlutoDHCP' (PlutoDHCP_config) success
Device 1 has bad mac address
* Stopping DHCP server dhcpd3                                                                                                                                            [ OK ]
* Starting DHCP server dhcpd3                                                                                                                                            [ OK ]
22313 Thu Apr 16 19:34:07 BST 2009 Unlock 'PlutoDHCP' (PlutoDHCP_config)
22313 Thu Apr 16 19:34:07 BST 2009 Unlock 'PlutoDHCP' (PlutoDHCP_config) success


Hope that's of some use.

chrisbirkinshaw

I also tried booting an MD and letting it auto create, rather than use the web interface, however I get a "unable to load config file" from the PXE boot.

pigdog

Hi,

Just curious.  Did you get the "we announce ourselves to the router" message?

chrisbirkinshaw

Doesn't even PXE boot. PXE fails to get a config file. I have to dash out but can debug it over the weekend.

ProfFalken

pigdog,

I get the "we announce ourselves to the router" message however it immediately tries to run the Diskless_Setup.sh and then fails regardless of how many times I've tried to rebuild the disk image.

pigdog

Hi ProfFalken,

If I remember correctly I think one of my MD's did something like this.

Was an entry created in webadmin but mostly blank?

pigdog

Hi chrisbirkinshaw,

If it doesn't PXE boot check your BIOS settings.

If it tries to PXE boot you get a DHCP message with MAC addresses and stuff, then some messages.

Do you get at least that far?

Cheers.

ProfFalken

PigDog,

Yup, I've just noticed that there's no information for this MD apart from the following:

Diskless boot
Architecture
Extra Parameters Override     
Model
Last Update
Release
IP     
MAC

Is it worth deleting the MD from the webadmin and retrying the addition process?

PF.

tkmedia

#13
Ok here's how it works currently. for me  at least.


If you boot a MD from a fresh install. It will not pxe boot, it fails looking for a config file iirc.
If you run /usr/pluto/bin/Diskless_BuildDefaultImage.sh

It should now enable the pc's to boot.
You should see announce to router

Alot of MD's will fail while running the Diskless Setup ..... this is due to the lack of a 64bit diskless image.

After the diskless failure you will have an entry for the new MD in web admin.

Change the Arc to i386 select update, then press the rebuild image button.
Once finished the web admin will say so.

At this point the directory structure should exist for that MD.


Follow the 0810 MD instructions regarding the password and updating of drivers.


HTH

Tim

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

For LinuxMce compatible  systems and accessories
[url="http://lmcecompatible.com/"]http://lmcecompatible.com/[/url]

pigdog

Yes,

To agree with tkmedia, he was faster with the post.

Hope this works for you.