Re: [Server-devel] Install from NFS server

2009-02-13 Thread David Leeming
Jerry

The USB install was prepared for me by someone else, loaded with version 0.5.0. 
It worked fine, but the install failed at the final stage due to some hardware 
issue which (I am told) is now fixed. 

When the 0.5.1 version became available, I replaced the XS image file in the 
/iso folder of the USB using my Windows PC.

Thereafter I have the problem as below, no matter what image file I put in the 
/iso folder (including the one that the USB drive came with and which worked 
before):

- when it asks for the drive and directory containing the image file, it 
reports That directory does not appear to contain any OLPC school server 
images (or words to that effect)

I am not finding any help on this issue so tried to use the NFS server option. 
I get to the similar stage when it asks where the iso file is, it obviously 
finds the NFS share but reports That directory does not appear to contain an 
OLPC school server installation tree

It's all a bit arcane to me. 

I could use a USB CDROM drive but I don't have one handy and you cannot buy 
them in this country. 
  

David Leeming
Technical Advisor, People First Network, Honiara, Solomon Islands


-Original Message-
From: Jerry Vonau [mailto:jvo...@shaw.ca] 
Sent: Friday, 13 February 2009 5:29 p.m.
To: David Leeming
Cc: 'XS Devel'
Subject: Re: [Server-devel] Install from NFS server

On Fri, 2009-02-13 at 16:40 +1100, David Leeming wrote:
 I am trying to install the server on a machine without CD drive via
 NFS server. I have set up the latter and the new machine seems to be
 finding the share. But it reports:
 
  
 
 “That directory does not seem to contain an OLPC school server
 installation tree”
 
  
 
 I have put only the 0.5.1 image in the shared folder. 
 
  
 
 Can U help. What else should be in the shared folder?
 
  
 
 I am using a USB flash drive to kick start but can’t get anywhere with
 that when it comes to the directory containing the school server
 image, it reports that the directory does not seem to contain any
 (whereas it does). So I am now pointing it at an NFS server when it
 gets to that stage

From your observations, I'd say that there might be a initrd/anaconda
mismatch. How are you creating the USB flash drive? The kernel and
initrd that is booting from the usb flash drive came from the iso image
that your trying as the installation source on the usbkey and/or nfs
share? 

Jerry
 


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Install from NFS server

2009-02-13 Thread Jerry Vonau
On Fri, 2009-02-13 at 19:03 +1100, David Leeming wrote:
 Jerry
 
 The USB install was prepared for me by someone else, loaded with version 
 0.5.0. It worked fine, but the install failed at the final stage due to some 
 hardware issue which (I am told) is now fixed. 
 
 When the 0.5.1 version became available, I replaced the XS image file in the 
 /iso folder of the USB using my Windows PC.
 
 Thereafter I have the problem as below, no matter what image file I put in 
 the /iso folder (including the one that the USB drive came with and which 
 worked before):
 

That is the initrd/anaconda mismatch I was suggesting. You need to use
the kernel and initrd from the iso your trying to install. You could use
mkusbinstall from:
http://dev.laptop.org/git?p=projects/xs-livecd;a=blob;f=util/mkusbinstall;hb=HEAD
OR doing it the long way, mount the usb drive, mount the iso image, and
copy vmlinuz and initrd.img from the iso to the usb drive, overwriting
what is present on the usbdrive. Unmount and retry.


Jerry


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Install from NFS server

2009-02-13 Thread David Leeming
Hi Jerry

All totally incomprehensible to me! 

David Leeming
Technical Advisor, People First Network, Honiara, Solomon Islands
Alternative email address: leemingda...@yahoo.com.au 


-Original Message-
From: Jerry Vonau [mailto:jvo...@shaw.ca] 
Sent: Friday, 13 February 2009 9:31 p.m.
To: David Leeming
Cc: 'XS Devel'
Subject: RE: [Server-devel] Install from NFS server

On Fri, 2009-02-13 at 19:03 +1100, David Leeming wrote:
 Jerry
 
 The USB install was prepared for me by someone else, loaded with version
0.5.0. It worked fine, but the install failed at the final stage due to some
hardware issue which (I am told) is now fixed. 
 
 When the 0.5.1 version became available, I replaced the XS image file in
the /iso folder of the USB using my Windows PC.
 
 Thereafter I have the problem as below, no matter what image file I put in
the /iso folder (including the one that the USB drive came with and which
worked before):
 

That is the initrd/anaconda mismatch I was suggesting. You need to use
the kernel and initrd from the iso your trying to install. You could use
mkusbinstall from:
http://dev.laptop.org/git?p=projects/xs-livecd;a=blob;f=util/mkusbinstall;hb
=HEAD
OR doing it the long way, mount the usb drive, mount the iso image, and
copy vmlinuz and initrd.img from the iso to the usb drive, overwriting
what is present on the usbdrive. Unmount and retry.


Jerry


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Install from NFS server

2009-02-13 Thread Martin Langhoff
On Fri, Feb 13, 2009 at 9:03 PM, David Leeming
leem...@pipolfastaem.gov.sb wrote:
 Thereafter I have the problem as below, no matter what image file I put in 
 the /iso folder (including the one that the USB drive came with and which 
 worked before):

That's probably the problem. As Jerry suggested, re-make the usb disk
with the new iso rather than just replacing the iso.

In terms of debugging the NFS-based install process, I can recommend 2 things

 - Anaconda has serveral virtual terminals you can look at to see its
logs. It will report things going wrong there. So Ctrl-Fn1 (and
2/3/4/5/6) will show you the various terminals. If you are usign the
graphical installer, it's Ctrl-Alt-Fn#. Look at the terminal that has
the logs, and it will talk about attempting the NFS connection - and
tell you of any errors.

 - Crank up debugging on the NFS server to see what the client is
trying to read.

cheers,



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel