/srv/fai/nfsroot/live/filesystem.dir

John G. Heim jheim at math.wisc.edu
Tue Jun 11 22:32:57 CEST 2013


According to the fai guide:

 > It may help to enter the chroot environment manually using this
 > command.
 >
 > faiserver# chroot /srv/fai/nfsroot/live/filesystem.dir

After rebuilding my nfsroot with fai 4.0.6, I have no 
/srv/fai/nfsroot/liv/filesystem.dir. It seems to have built the root 
directly in /srv/fai/nfsroot. So I can do ths:

chroot /srv/fai/nfsroot

My problem is clients will no longer boot.  Here's what the screen says:

[   11.050268] aufs: module is from the staging directory, the quality 
is unknow
n, you have been warned.
[   11.051385] aufs 3.2-20130204
[   11.108491] aufs test_add:264:mount[356]: uid/gid/perm /live/image 
0/65534/07

/init: 42: //lib/dracut/hooks/pre-pivot/50mount-usr.sh: cannot open 
/sysroot/etc

rpcbind: rpcbind terminating on signal. Restart with "rpcbind -w"

rpcbind: cannot open file = /run/rpcbind/rpcbind.xdr for writing
rpcbind: cannot save any registration
rpcbind: cannot open file = /run/rpcbind/portmap.xdr for writing
[   13.195847] dracut: Switching root

switch_root: failed to execute /sbin/init: Not a directory
[   13.221333] Kernel panic - not syncing: Attempted to kill init!
[   13.221462] Pid: 1, comm: switch_root Tainted: G         C 
3.2.0-4-amd64 #1
  Debian 3.2.41-2+deb7u2
[   13.221651] Call Trace:
[   13.221761]  [<ffffffff81347188>] ? panic+0x95/0x1a2
[   13.221884]  [<ffffffff81049b24>] ? do_exit+0x95/0x713
[   13.222007]  [<ffffffff8104a422>] ? do_group_exit+0x74/0x9e
[   13.222132]  [<ffffffff8104a45c>] ? sys_exit_group+0x10/0x10
[   13.222260]  [<ffffffff813529d2>] ? system_call_fastpath+0x16/0x1b


More information about the linux-fai mailing list