fai-setup failed

Robert Markula robert.markula at gmx.net
Wed Jul 15 09:41:44 CEST 2009


Hi Riza,
there is no need to edit the NFSROOT file. The nfsroot has nothing to do
with the system later installed (it is the base.tgz that is relevant for
the system to be installed). Leave it to the default [1] and see if
fai-setup -v continues to throw any errors. Btw, make sure that
FAI_DEBOOTSTRAP is set to "lenny http://ftp.debian.org/debian" in your
/etc/fai/make-fai-nfsroot.conf.

Cheers,
Robert


[1] The NFSROOT defaults:

<snip>
# package list for creating the NFSROOT

PACKAGES aptitude
nfs-common fai-nfsroot module-init-tools dhcp3-client ssh rdate lshw portmap
bootpc rsync lftp less dump reiserfsprogs e2fsprogs usbutils
hwinfo psmisc pciutils hdparm smartmontools parted mdadm lvm2
dnsutils ntpdate dosfstools cvs jove xfsprogs xfsdump
procinfo dialog discover mdetect
console-tools console-common
expect iproute udev subversion liblinux-lvm-perl

# needed for the simple examples
cfengine2 libapt-pkg-perl

# you should not edit the lines below
# architecture dependend list of packages that are installed

PACKAGES aptitude I386
grub lilo read-edid
linux-image-486 aufs-modules-2.6-486

PACKAGES aptitude AMD64
grub lilo
linux-image-2.6-amd64 aufs-modules-2.6-amd64

PACKAGES aptitude IA64
elilo gnu-efi efibootmgr

PACKAGES aptitude SPARC
silo sparc-utils

PACKAGES aptitude ALPHA
aboot

PACKAGES aptitude POWERPC
linux-image-2.6-powerpc aufs-modules-2.6-powerpc
yaboot
</snip>

Riza Nuari wrote:
> i tried to make fai server with ubuntu, and i using step-by-step on
> http://faiwiki.informatik.uni-koeln.de/index.php/UbuntuJauntyInstallationHowTo
> 
> I used repo from my local country (http://kambing.ui.ac.id). But when i
> execute fai-setup -v , i've got this error:
> 
> ============================================================
> 
> cp: cannot stat `/srv/fai/nfsroot/live/filesystem.dir/boot/vmlinuz-*':
> No such file or directory
> cp: cannot stat
> `/srv/fai/nfsroot/live/filesystem.dir/boot/initrd.img-*': No such file
> or directory

[...]

> this is my /etc/fai/NFSROOT file :
> 
> =================================================
> 
> # package list for creating the NFSROOT
> 
> PACKAGES aptitude
> nfs-common fai-nfsroot module-init-tools dhcp3-client ssh rdate lshw
> portmap
> bootpc rsync lftp less dump reiserfsprogs ext2resize usbutils
> hwinfo psmisc pciutils hdparm smartmontools parted mdadm lvm2
> dnsutils ntpdate dosfstools cvs jove xfsprogs xfsdump
> sysutils dialog discover mdetect
> console-tools console-common
> expect iproute udev subversion
> sysvinit upstart-
> live-initramfs
> initramfs-tools
> vim
> linux-firmware
> module-init-tools
> sysvinit-utils
> linux-image-generic
> 
> # needed for the simple examples
> cfengine2 libapt-pkg-perl
> 
> # you should not edit the lines below
> # architecture dependend list of packages that are installed
> 
> PACKAGES aptitude I386
> grub lilo read-edid
> 
> PACKAGES install AMD64
> grub lilo
[...]


More information about the linux-fai mailing list