FAI 2.3 and make-fai-bootfloppy

Arto Teras ateras at niksula.hut.fi
Mon Apr 15 19:37:52 CEST 2002


Hi, 

I upgraded FAI to version 2.3 and fai-kernels to version 1.2. Then I tried
to make a new boot floppy with make-fai-bootfloppy. The problem is that the
program silently exits after asking which network interface I should use. 

The problem seems to be on this line:

unset SERVERINTERFACE ndevices devices dev BROADCAST NETMASK GATEWAY TARGETIP

The execution of the script ends here, I don't know why. Commenting the line
out allowed it to proceed. 

Then there was a second problem:

mke2fs $mkfsopt -q -i 8192 -m 0 $floppydev || die "Can't create ext2 file
   system on $floppydev"
mount $mountopts $floppydev /floppy || die "Can't mount floppy
   $floppydev"
   
For some reason the mount command doesn't detect the filesystem correctly
and mounts the floppy as fat (I have "auto" in /etc/fstab). Despite that the
script is able to copy files on the floppy (!) but creating the link to
boot/vmlinuz-$KERNELVERSION fails. When I defined explicitly "-t ext2" on
the mount line above the script succeeded.

There was still one minor issue: 

cp -dp map chain* ...

There is no such file as "map" in my nfsroot, should there be? At least the
boot disk seemed to work fine without it. 

The server I was running the script on is running woody, if that makes any
difference here. 

AJT

-- 
Arto Teräs --- See http://www.iki.fi/ajt/ for contact info



More information about the linux-fai mailing list