Re: Read-only filesystem after moving to new server

2009-10-13 Diskussionsfäden Leen Smit




Hey All,

Thanks ever so much for the pointers. Indeed the missing bnx2 driver
was the problem.. On the old system we had a custom kernel with the
driver build in. Im still not sure as to why I couldn't boot with this
kernel anymore (the missing initrd..) but adding the firmware-bnx2 to
/etc/fai/NFSROOT and creating a NFSROOT was sufficient to get
everything working again.. Rather silly of me I didnt think of that (I
was trying to recreate a custom kernel without success). 

One more question: Since when, and why, is FAI looking for the config
files in $NFSROOT/var/lib/fai/config ? I had to copy my config over to
that dir to get the FAI install working again, simply leaving the
config in /srv/fai/configĀ  resulted in a "cant find config" error...

Again, thanks for all your help!

Leen


Russ Allbery wrote:

  "Thomas Neumann"  writes:

  
  
P.S.: It may be necessary to add bnx2 to /etc/initramfs-tools/modules
prior to updating the initrd. I'm not sure.

  
  
It shouldn't be if /etc/initramfs-tools/initramfs.conf has MODULES=most.

  


-- 

Leen Smit
 Systems Admin
 
 Service2Media B.V.
 Arnhemseweg 2
 3817 CH Amersfoort
 
 Capitool 41
 7521 PL Enschede
 
 Tel  +31 (0)35 626 46 12 
Fax +31 (0)35 626 46 13







Re: Read-only filesystem after moving to new server

2009-10-13 Diskussionsfäden Thomas Lange
> On Tue, 13 Oct 2009 10:22:06 +0200, Leen Smit  
> said:

> One more question: Since when, and why, is FAI looking for the config 
> files in $NFSROOT/var/lib/fai/config ? I had to copy my config over to 
> that dir to get the FAI install working again, simply leaving the config 
> in /srv/fai/config  resulted in a "cant find config" error...

Maybe you have upgraded from a very old FAI version to a new
one. Since 3.0 FAI_LOCATION is replaced by FAI_CONFIG_SRC. Check if
you have set the later in your fai.conf.

>From fai.conf:

# how to access the fai config space
# If undefined here, make-fai-nfsroot/fai-setup will use default value
# nfs:///$FAI_CONFIGDIR
# supported URL-types: nfs, file, cvs, cvs+ssh, svn+file, svn+http,
# git, git+http, hg+http
#FAI_CONFIG_SRC=nfs://yourservername/path/to/config/space

So, make-fai-nfsroot should have set it to nfs://yourservername/srv/fai/config 
in
$NFSROOT/etc/fai.conf if you didn't defined it in /etc/fai/fai.conf.

-- 
regards Thomas