fai-make-nfsroot fails

Michael Pfeiffer pfeiffml at iis.fhg.de
Wed Feb 6 14:44:34 CET 2013


Hi,

I am trying to set up fai (4.0.5) for Ubuntu 12.04, first of all trying 
to build the nfsroot... but I'm kind of stuck here. Could someone give 
me a hint here? I'm trying to build the nfsroot on a virtual machine, 
also running Ubuntu12.04.

If you need further information, like my NFSROOT or nfsroot.conf or 
sources.list or anything else, let me know. I copied what I think may be 
valuable information from the fai-make-nfsroot.log below.

Kind regards,
Michael


The fai-make-nfsroot.log looks ok for the first 1400 lines, but then:

1403 The following packages have unmet dependencies:
1404  console-tools : Conflicts: console-utilities which is a virtual 
package.
1405                  Conflicts: open which is a virtual package.
1406  kbd : Conflicts: console-utilities which is a virtual package.
1407        Conflicts: open which is a virtual package.
1408 The following actions will resolve these dependencies:
1409
1410      Remove the following packages:
1411 1)     console-setup
1412 2)     kbd
1413 3)     ubuntu-minimal

and then, another 300 lines later:

1708 dracut: Generating /boot/initramfs-3.2.0-37-generic-pae.img^M
1709 E: Directories consolefonts, consoletrans, keymaps, unimaps not 
found.  Please inform us about the issue including your OS name and 
version.^M
1710 E: FATAL: Could not load 
/lib/modules/3.2.0-37-generic-pae/modules.dep: No such file or directory^M

the last line is repeated some 20 times then, occasionally find jumps in 
and reports:

1717 find: `/lib/modules/3.2.0-37-generic-pae/': No such file or directory^M

which is strange, because the directory (as well as the modules.dep 
file, for that matter) exists (on the host - not inside the nfsroot!)

At the end, I get

1894 E: FATAL: Could not load 
/lib/modules/3.2.0-37-generic-pae/modules.dep: No such file or directory
1895 E: FATAL: Could not load 
/lib/modules/3.2.0-37-generic-pae/modules.dep: No such file or directory
1896 E: FATAL: Could not load 
/lib/modules/3.2.0-37-generic-pae/modules.dep: No such file or directory
1897 E: FATAL: Could not load 
/lib/modules/3.2.0-37-generic-pae/modules.dep: No such file or directory
1898 E: FATAL: Could not load 
/lib/modules/3.2.0-37-generic-pae/modules.dep: No such file or directory
1899 find: `/lib/modules/3.2.0-37-generic-pae/': No such file or directory
1900 find: `/lib/modules/3.2.0-37-generic-pae/': No such file or directory
1901 find: `/lib/modules/3.2.0-37-generic-pae/': No such file or directory
1902 find: `/lib/modules/3.2.0-37-generic-pae/': No such file or directory
1903 E: FATAL: Could not load 
/lib/modules/3.2.0-37-generic-pae/modules.dep: No such file or directory
1904 F: Failed to install wget
1905 dpkg: error processing dracut (--configure):
1906  subprocess installed post-installation script returned error exit 
status 1
1907 dpkg: dependency problems prevent configuration of dracut-network:
1908  dracut-network depends on dracut; however:
1909   Package dracut is not configured yet.
1910 dpkg: error processing dracut-network (--configure):
1911  dependency problems - leaving unconfigured
1912 Errors were encountered while processing:
1913  dracut
1914  dracut-network
1915 ERROR: 256 256
1916 ERROR: chroot /srv/fai/nfsroot dpkg --configure --pending return code 1
1917 install_packages: executing chroot /srv/fai/nfsroot dpkg -C
1918 The following packages have been unpacked but not yet configured.
1919 They must be configured using dpkg --configure or the configure
1920 menu option in dselect for them to work:
1921  dracut-network       A new initramfs infrastucture
1922
1923 The following packages are only half configured, probably due to 
problems
1924 configuring them the first time.  The configuration should be 
retried using
1925 dpkg --configure <package> or the configure menu option in dselect:
1926  dracut               A new initramfs infrastructure
1927
1928 install_packages: executing chroot /srv/fai/nfsroot apt-get clean
1929 2 errors during executing of commands




More information about the linux-fai mailing list