DESY HOME IT HOME Print Preview Print Window
Last modified: Fri Feb 21 09:30:49 MET 2003

Automated Linux Installation at DESY

This is a quick guide to installing a Linux PC at DESY using the automated installation service.

Before Installing a New PC

There are a few administrative prerequisites before an AFS based installation can take place:

Before Upgrading an Existing Linux PC

Please check the upgrade hints before you start doing anything else.

Boot Floppy

To build yourself a desktop boot disk, log into any centrally installed Linux PC, put an empty floppy into the disk drive and type:
   cd /net/linux/disks
   dd if=desyboot.desk.SuSE63 of=/dev/fd0

Installation Procedure

This has to be done for every (re)installation:
  1. Insert boot floppy disk (see above) and boot.

  2. After loading the kernel, linuxrc will try to do a bootp lookup. If this fails (very likely in early SuSE 6.3 installations), you will have to enter your IP address and gateway manually. Check the troubleshooting section below for assistance.

  3. If you are asked about a partitioning scheme, choose 'Automatic' on new PCs. If you are upgrading, you will be asked whether you want to preserve the existing partitioning scheme. Please check the partitioning considerations before proceeding. Be cautious since all data on local disks (not in AFS) can be lost! Normally, the /data partition is preserved. While the hard disk is being partitioned, remove the boot floppy from the drive. If you do not do this now, the procedure will hang after package installation instead of rebooting.

  4. After package installation, there may be a blue window with an OK prompt waiting to be confirmed for the commissioning of the installation. Press RETURN.

  5. After a few more packages have been installed, there will be a message 'Installation completed'. Press the tabulator key to continue. The system will reboot. If you see a mount error message afterwards, contact unix@desy.de. There may be a typo in the boot configuration information or DNS entry which breaks your access to the installation server.

  6. Normally, the system will enter the DESY postinstallation script during reboot which installs AFS, mail, printing, kerberised login binaries like ssh, and configures device permissions so that you can use floppy and cdrom. Don't lose patience! The postinstallation may take 15 to 20 minutes. After the first start of the AFS daemon, you will see nothing happen for several minutes while the AFS cache partition is initialised. Do not interrupt this procedure by rebooting, or you will have to start from scratch. After the postinstallation, the system may go through another reboot to update AFS.

  7. When the X11 login appears a few minutes later, you are done.

User Specific Post-Installation

This can be done by the group administrator after installation:
  1. Change keyboard layout and X-server resolution if needed using the chxlocal tool.
  2. Change permissions on the /data partition to make it writeable for local users. Note that this is scratch space, i.e. there is no backup!

Troubleshooting During Installation

Bootp Fails

There are two possible reasons:
  1. Your MAC address has not been registered correctly (due to a typo or an exchanged network board). Check the equipment database.
  2. The bootp server does not respond temporarily. Give it one more try.
  3. Bootp does not work on your subnet. This is a consequence of the ongoing network restructuring at DESY. As a last resort, you can enter the setup information manually

Hostname Lookup Fails

Again, there may be several reasons for this:
  1. Use nslookup <your_IP_address> to verify that your DNS entry is correct. The IP address must be known to the nameserver and your hostname must be written in lowercase letters.
  2. If bootp did not work either, make sure that your network connection is working and that you are plugged into the correct wall outlet. If necessary, use an other device to verify that it is working.

Mount to Installation Server Fails

If this happens after the standard packages have been installed, your PC is probably not registered in a netgroup and the final mount request to the installation server is blocked. Do a ypcat netgroup | grep <hostname>. If this does not show a list of hosts including your's, something went wrong with the registration. Either the netgroup entry has not been created or it disagrees with the DNS name of your PC (netgroups are case sensitive!). In either case, send mail to zdv-install@desy.de to solve this.


DESY | DESY -IT- | -IT- Systems Group | DESY Linux
Maintained by the DESY Linux Team
Imprint © 2010 Last update: 15. Aug. 2003 www-it@desy.de