Package: fai-server Version: 4.3.1 Severity: normal Hi,
So, my NFSROOT is now higher than the server on which I'm running fai-server. My NFSROOT is Ubuntu Trusty and my fai-server is Ubuntu precise. The fai-cd script seems to be checking the kernel.img for the GRUB modules path in my FAI server rather than the kernel.img inside the $NFSROOT. Current version of /usr/sbin/fai-cd: 100 # check for jessie path 101 if strings /usr/lib/grub/i386-pc/kernel.img | grep -q i386-pc/%s.mod; then 102 grubtarget=$tmp/boot/grub/i386-pc 103 else 104 # wheezy 105 grubtarget=$tmp/boot/grub 106 fi Change to this? 100 # check for jessie path 101 if strings $NFSROOT/usr/lib/grub/i386-pc/kernel.img | grep -q i386-pc/%s.mod; then 102 grubtarget=$tmp/boot/grub/i386-pc 103 else 104 # wheezy 105 grubtarget=$tmp/boot/grub 106 fi Without this change, booting off the resultant FAI CD results in GRUB stopping with an error of "error: file '/grub/i386-pc/normal.mod' not found". A simple ls of (cd0)/boot/grub shows that the modules are indeed present, just not in the i386-pc directory that Trusty/jessie expects them. Also, I apologize for the previous bug reports - it does look like those paths are valid even with the two slashes in the middle of the filesystem path. Thanks, -Kevin ______________________________________________ See http://www.peak6.com/email_disclaimer/ for terms and conditions related to this email