Installing Debian Squeeze (i386) - No $HOSTNAME set

Karl Wallner fai at karlwallner.de
Tue Sep 28 12:51:02 CEST 2010


Hallo Michael,

Am 25.09.2010 17:53, schrieb Michael Tautschnig:
 > It would be fantastic if you could provide the full logs of your installation,
 > it seems that not too many people have used FAI on full squeeze systems before.
 > We definitely need to resolve these issues before the release.

here is a list of problems/annoyances during installation of Debian Squeeze with fai 3.4.2:

1. Use uppercase hostname/ip parameters in boot command line.
    Change to uppercase in "/srv/tftp/fai/pxelinux.cfg/*" or "/etc/fai/grub.cfg"
 > APPEND boot=live FAI_FLAGS="verbose,createvt" FAI_ACTION=install IP=192.168.148.100:::::eth0:off HOSTNAME=gnomehost 
root=/dev/nfs nfsroot=192.168.148.11:/srv/fai/nfsroot

2. ftp-logserver does not default to install server.
    Need to set Logserver explicitly in file /etc/fai/fai.conf.
 > # Name of log-server. If undefined, the install server will be used.
 > LOGSERVER=faiserver

3. ssh-command for fai-chboot (Calling task_chboot) requires user input.
 > The authenticity of host 'faiserver (192.168.148.11)' can't be established.
 > RSA key fingerprint is ...
 > Are you sure you want to continue connection (yes/no)?
Solution is to append the line "StrictHostKeyChecking no" to /etc/ssh/ssh_config (for nfsroot).

4. Some packages missing in squeeze
 > fai.log:No candidate version found for iceweasel-gnome-support
 > fai.log:No candidate version found for icedove-gnome-support
 > fai.log:No candidate version found for gnome-apt
These packages are not available for debian squeeze.

5. Error when running fai-setup
 > df: Warning: cannot read table of mounted file systems: No such file or directory
 >
No /etc/mtab inside nfsroot.
Solution is to add a softlink: "ln -sf /proc/mounts /etc/mtab"

6. Error when running fai-setup
 > Creating config file /etc/default/grub with new version
 > grub-probe: error: cannot find a device for / (is /dev mounted?).
 > grub-probe: error: cannot find a device for /boot (is /dev mounted?).
 > grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
No idea on this errors. Can't detect any problems caused by this.

7. Error messages on modules.dep missing (but file exists!)
 > fai.log:FATAL: Could not load /lib/modules/2.6.32-5-486/modules.dep: No such file or directory
 > fai.log:FATAL: Could not load /lib/modules/2.6.32-5-486/modules.dep: No such file or directory
 > fai.log:FATAL: Could not load /lib/modules/2.6.32-5-486/modules.dep: No such file or directory
Reason was 5.

8. Final reboot (task_faiend) produces some messages (Messages only visible for a moment).
    Messages like: "Unmounting ...", "Failed to unmount ...", "Remount read only".
    But everything works find after it.


Regards,

Karl


More information about the linux-fai mailing list