Re: mount error trying to use fai-cd

2008-08-21 Diskussionsfäden Tim Edwards
Replying to my own post, I've found the problem, somehow 
/srv/fai/config/etc/apt/sources.list was created as a directory. It was 
probably something I did before when I was fiddling around with the 
script :-[


Tim

Tim Edwards wrote:
I've upgraded to the 3.2.9 packages now and still getting the same 
error. I've taken a copy of the fai-cd script and added in some 
debugging statements above the mount command, ie:

file $tmp1
file $nfsrootdir/etc/apt/sources.list
mount -v --bind $tmp1 $nfsrootdir/etc/apt/sources.list

Interestingly I get:
Bind mounting all required parts
NFSROOT /srv/fai/nfsroot/live/filesystem.dir mounted
Config space /srv/fai/config/ mounted
Mirror /srv/fai/debian/ mounted
Trying mount --bind /tmp/tmp.vvccSG8734 
/tmp/fai-cd.Wa8712/live/filesystem.dir/etc/apt/sources.list

/tmp/tmp.vvccSG8734: ASCII text
/tmp/fai-cd.Wa8712/live/filesystem.dir/etc/apt/sources.list: directory
mount: Not a directory

how come the sources.list file appears as a directory all of a sudden? 
Could this be something to do with the way the rest of it is mounted?


Thomas Lange wrote:
On Wed, 20 Aug 2008 17:36:00 +0200, Tim Edwards 
[EMAIL PROTECTED] said:



 fai-setup -v
 fai-mirror /srv/fai/debian/

 export FAI_CONFIGDIR=/srv/fai/config/
You do not need to set this variable. The file /etc/fai/fai.conf is
sourced by fai-cd which will set this variable.


 However I keep getting this:

 faiserver:/srv/fai# fai-cd -m /srv/fai/debian/ /tmp/faiclient1.iso
 Bind mounting all required parts
 NFSROOT /srv/fai/nfsroot/live/filesystem.dir mounted
 Config space /srv/fai/config/ mounted
 Mirror /srv/fai/debian/ mounted
 mount: Not a directory

 This is on Debian Etch, any idea why it's happening?
Which FAI version are you using?

  


Re: Installs being dropped straight into a busybox shell

2008-08-21 Diskussionsfäden Thomas Lange
 On Thu, 21 Aug 2008 16:38:46 +0200, Tim Edwards [EMAIL PROTECTED] said:

 I'm trying to install etch from an FAI CD image but am not having much 
 luck. I got past one error by adding live-initramfs as instructed at 
 http://faiwiki.informatik.uni-koeln.de/index.php/FAI_3.2_Usage_Changes 
 but am now just having the installation drop into a busybox shell almost 
 straight after starting. I have a screenshot if necessary. The prompt in 
 the shell is (initramfs), I'm really not sure what's going on here?
You have a shell can type some commands to track down the error. The
best thing would be that you join the IRC channel #fai, there we can
help you much faster.

I guess something went wrong with creating the ISO image, or you have
hardware that is not fully detected by the kernel.

-- 
regards Thomas