# http://www.phys.ethz.ch/~franklin/Projects/dphys2/setup-dphys2 # - configuration for Makefile, makeroot, makerescue and dbootstrap # some fields transfered by dbootstrap into lilo.conf and debconf-preload # copyright ETH Zuerich Physics Deparement, use under either BSD or GPL license # author Neil Franklin, last modification 2002.12.18 # *** WARNING *** # this file should be chmod 600 because it contains LILO and root password! # ------ influence how the program behaves # if set to 1, this will output debug info and wait after each section # is set to 2, run normal , but wait before the reboot at end of first stage DEBUG=0 #DEBUG=1 #DEBUG=2 # set this to wait after displaying headers, number is in seconds SLEEP=0 #SLEEP=1 #SLEEP=2 #SLEEP=3 # ------ set various site or subnet dependant variables # --- set where we will be working while creating root floppy # this must be a directory that root can access (not a root-squash NFS mount) # and there should be about 50MByte free space in its filesystem PREFIX=/usr/local # you usually leave this one allone WORKDIR=${PREFIX}/src/dphys2/work # --- server to get our original Debian files from and later apt-get from # this results in http://${CONF_DEBSERVER}/${CONF_DEBDIR}/* being used # standard would be: ftp.debian.org debian CONF_DEBSERVER=debian.ethz.ch CONF_DEBDIR=mirror/debian # --- handling modules # what net drivers we want included in our install root floppy drivers.tgz # net is needed to install from, to fetch files # this is our site-specific list of card types, you will need to change this MODULESNET="3c59x.o eepro100.o rtl8139.o tulip.o" # --- keyboard layout # what keyboard layout you use # filename is relative to /usr/share/keymaps/ and without any .kmap.gz #CONF_KEYBD=i386/qwerty/us-latin1 CONF_KEYBD=i386/qwertz/sg-latin1 # --- target disks # install floppy where we will copy our generated replacement root image to # this should be the drive on the install generating system, not on target(s) # most people can leave this as it is CONF_INST_FLOPPY=/dev/fd0 # where we want our final system on the target system to be installed to # you may need CONF_DISK=/dev/sda or hd or sd CONF_DISK=/dev/hda # amount of disk to use for the swap partition, in MBytes CONF_SWAP_SIZE=512 # --- network configuration # site specific network stuff CONF_DOMAIN=ethz.ch # if you do not have 3 name servers just comment unused lines out CONF_NAMESERVER1=129.132.250.2 CONF_NAMESERVER2=129.132.98.12 CONF_NAMESERVER3=129.132.250.220 #CONF_NAMESERVER4= # subnet specific network stuff # for each subnet generate its own(!) replacement root floppy # you are advised to write on the floppy "replacement root /" # we are generating here "replacement root 129.132.189.0/25" CONF_NETMASK=255.255.255.0 CONF_NETWORK=129.132.189.0 CONF_GATEWAY=129.132.189.1 CONF_BROADCAST=129.132.189.255 # --- lilo password # *** WARNING *** # this file should be chmod 600 because it contains LILO and root password! # ensure it stays that way when you edit it! # if you don't want an LILO password, comment out the next line # of course this is _not_ the password we actually use, not even similar :-) #CONF_PASSWORD_LILO= CONF_PASSWORD_LILO=secret # --- debconf preloading for 2nd boot stage # - timezone stuff # where we are CONF_TIMEZOME_AREA=Europe CONF_TIMEZOME_PLACE=Zurich # - password setup stuff # security as we like it CONF_PASSWORD_MD5=true CONF_PASSWORD_SHADOW=true CONF_PASSWORD_ROOT=secret # - PCMCIA stuff # remove PCMCIA support if not a notebook # change this to CONF_REMOVE_PCMCIA=false if you want to keep it CONF_PCMCIA_REMOVE=true # - apt config stuff # what additional package types we want to use CONF_USE_CONTRIB=true CONF_USE_NON_FREE=true # set our non-US, security and local package servers # we default here to using the same server as for normal packages # if you have no such server, or do not want to use one, comment out line # standard Debian would be: non-us.debian.org and debian-non-US CONF_DEBSERVER_NON_US=${CONF_DEBSERVER} CONF_DEBDIR_NON_US=mirror/debian-non-US # standard Debian would be: security.debian.org and "" CONF_DEBSERVER_SECURITY=${CONF_DEBSERVER} CONF_DEBDIR_SECURITY=mirror/debian-security # standard Debian would be: does not exist in standard #CONF_DEBSERVER_LOCAL=${CONF_DEBSERVER} #CONF_DEBDIR_LOCAL=mirror/debian-local # ------ set various system internal values, so things are easy to change later # * you can ignore everything below here in normal operation * # --- what files we will base our work on # note: this has only been designed for and tested with i386 # others at own risk, I expect them to fail badly ARCH=i386 # paths for files we fetch from server DEBRESCUE=dists/woody/main/disks-${ARCH}/current/images-1.44/rescue.bin DEBROOT=dists/woody/main/disks-${ARCH}/current/images-1.44/root.bin DEBDRIVERS=dists/woody/main/disks-${ARCH}/current/drivers.tgz # --- handling modules # where modules go MODULEDIRMISC=lib/modules/2.2.20/misc MODULEDIRNET=lib/modules/2.2.20/net # standard misc drivers we need included in our install root drivers.tgz MODULESMISC="unix.o af_packet.o" # --- putting together our root disk # where we will place the drivers archive within root floppy DRIVERS_TGZ=/drivers-dphys.tgz LILO_CONF=/lilo.conf # --- modifying debconf for 2nd stage without dialogs # where we will place the preload script PRELOAD_ON_FLOPPY=/debconf-preload PRELOAD_ON_TARGET=/debconf-preload # where we shall modify DEBCONF_DB=/var/cache/debconf/config.dat # what subdirectories we use as woody/CONF_DEBCLASS_* CONF_DEBSUBDIR_NON_US=non-US CONF_DEBSUBDIR_SECURITY=updates CONF_DEBSUBDIR_LOCAL=local