# http://www.phys.ethz.ch/~franklin/Projects/dphys2/dphys2 # - configuration for dphys2[root|rescue@cd|pxe] and dbootstrap # some fields transfered by dbootstrap into lilo.conf and debconf-preload # copyright ETH Zuerich Physics Departement, # use under either BSD or GPL license # author Neil Franklin, last modification 2004.10.14 # *** WARNING *** # this file should be chmod 600 because it contains LILO and root password! # --- server to get our original Debian files from and later apt-get from # base URL from which all Debian stuff can be downloaded #CONF_DEBSERVER=http://ftp.debian.org/debian # --- which kernel images and modules drivers archive version to get # are we using an 2.2 or 2.4 style kernel # if Debian kernels, this selects whether standard 2.2.20 or bf24 2.4.18 # if own kernels, this determines which Debian .config to use as base # if no own config is provided in CONF_KERNEL_CONFIG # so set this allways, if using or making an 2.4 kernel, instead of 2.2 #CONF_KERNEL_24=no # use this to select an own (2.2 or 2.4) kernel source, to self compile # only needed if making own kernel #CONF_KERNEL_OWN="" # and take this kernel .config to use, for the self compile # if not set, extract .config File from Debian rescue floppy image # only may be needed if making own kernel # your kernel config is NOT ALLOWED to have in it: # - devfs (CONFIG_DEVFS_FS), as old style /dev/* names are used and needed # your kernel config MUST HAVE COMPILED IN in it (= not as modules): # - floppy device (CONFIG_BLK_DEV_FD), for reading 2nd/root floppy # (only needed if you are going to make boot floppies) # - loopback devide (CONFIG_BLK_DEV_LOOP), for getting kernel from resc image # - RAM disk device (CONFIG_BLK_DEV_RAM), for root filesystem while install # - initrd support (CONFIG_BLK_DEV_INITRD), for loading root filesys # (only needed if you are going to make an boot CD) # - FAT filesystem (CONFIG_FAT_FS + CONFIG_MSDOS_FS), for extracting kernel #CONF_KERNEL_CONFIG="" # --- uploading dphys2 generated rescue image and drivers archive # server where we upload our compiled floppy images and driver archives to #CONF_INST_SERVER=not-configured-server # user as which we login to above server #CONF_USER=not-configured-user # make sure multiple users (group of them) can install files on package server # if this is set, chgrp directories and files to this group and chmod g+w #CONF_GROUP="" # base directory on server where we put our floppy images and driver archives # this is the base directory for adding dists/woody/local/
/*/*/*.deb # paralleling Debians use dists/woody/main/
/*/* on their servers # and so should appear in the http:// space of the server # dphys2rescue -u and dphys2root -u upload everything relative to this #CONF_INST_BASE=/not/configured/directory # --- fetching dphys2 generated rescue image and drivers archive # base URL from which the dphys2 rescue root and drivers can be fetched # used for generating the URLs. to access our packages web server # the end result should parallel the scp login@server:/basedir above #CONF_OWNSERVER=http://not-configured-server/not/configured/directory # this is the directory to use, within dists/woody/local/main/disks-i386 tree # vary this for multiple sets of rescue images and drivers archives # naming schemes maybe by subnets, or by kernel options, or by compiling user #CONF_DISKSVERSION=custom # --- "Configure the Keyboard" menu # what keyboard layout you use # filename is relative to /usr/share/keymaps/ and without the .kmap.gz ending #CONF_KEYBD=i386/qwerty/us # --- "Partition a Hard Disk" menu # where we want our final system on the target system to be installed on to # if empty, try to auto-select, use /dev/hda if existant, else /dev/sda # so most people can leave this unset as it is # if above fails, set an specific disk by hand # you will need CONF_DISK=/dev/hd or sd, usually = a #CONF_DISK="" # use this to force DMA usage on some stupid hd disk drives #CONF_DISK_IDEDMA=no # amount of disk to use for the swap partition, if wanted, in MBytes # set to 0 or "", will make no partition and disable its use # this defaults to off, because we use swap files around here # as they are more flexible, auto-resizable, and not relevantly slower # to autogenerate/mount/umount swapfiles install the dphys-swapfile package: # http://www.phys.ethz.ch/~franklin/Projects/dphys-swapfile/ #CONF_SWAP_SIZE=0 # ---"Configure Device Driver Modules" menu # what net drivers we want included in our install root floppy drivers archive # net is needed to install from, to fetch files # this can be left empty if needed drivers are compiled into kernel #CONF_MODULESNET="" # --- "Configure the Network" menu # what network interface we are using, most people can leave this as it is #CONF_IF=eth0 # use DHCP to get IP-addr/netmask/network/broadcast/gateway/nameservers # to use static IP config, set this to "no" #CONF_DHCP=yes # site specific network stuff # only needed if *no* DHCP is being used #CONF_DOMAIN=not-configured-domain #CONF_NAMESERVER1=not-configured-server #CONF_NAMESERVER2="" #CONF_NAMESERVER3="" #CONF_NAMESERVER4="" # subnet specific network stuff # only needed if *no* DHCP is being used # for each subnet generate its own(!) replacement root floppy # you are advised to write on the floppy "replacement root /" #CONF_NETMASK=not-configured-netmask #CONF_NETWORK=not-configured-network #CONF_GATEWAY=not-configured-gateway #CONF_BROADCAST=not-configured-broadcast # --- "Make System Bootable" menu # *** 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="" # --- debconf preloading for 2nd boot stage # this replaces the various config menues after rebooting # the 2 digit numbers are from the scripts run by base-config # debconf-preload - 15tzconfig - timezone stuff # where we are # directoryname and filename relative to /usr/share/zoneinfo/ #CONF_TIMEZONE_AREA=not-configured-area #CONF_TIMEZONE_PLACE=not-configured-place # debconf-preload - 20passwd - password setup stuff # security as we like it #CONF_PASSWORD_MD5=yes #CONF_PASSWORD_SHADOW=yes # we assume that many will use twice the same password # enable this for actual use, else it will stay set to the default #CONF_PASSWORD_ROOT=${CONF_PASSWORD_LILO} # debconf-preload - 25pcmcia - PCMCIA remove stuff # remove PCMCIA support if not a notebook # change this to CONF_REMOVE_PCMCIA=false if you want to keep it #CONF_PCMCIA_REMOVE=yes # debconf-preload - 40apt-setup - apt config what stuff we use # what additional package types we want to use, main is allways in # use packages that are not strictly by the GPL religion #CONF_USE_CONTRIB=yes #CONF_USE_NON_FREE=yes # use new packages being added to woody, for next dot release #CONF_USE_PROPOSED=yes # debconf-preload - 40apt-setup - apt set non-US and security package servers # we use our own local mirror here, the same server as for normal packages # works for exeryone, so save us time reconfiguring for tests # add non-US if wanted #CONF_DEBSERVER_NON_US=http://non-us.debian.org/debian-non-US # add security if wanted #CONF_DEBSERVER_SECURITY=http://security.debian.org/ # --- fix up debconf for no questions # this is not part of the normal Debian installation process # prevent questions while installing packages from woody-proposed-updates # this is also then active later when installing random stuff # install everything with maintainers defaults, then fix up with own scripts #CONF_SILENCE_DEBCONF=yes # --- run a user script (or binary) at end of first install stage # this is not part of the normal Debian installation process # automagically run this script (or binary) at end of first install stage # use with script filename like this: CONF_ENDFIRSTRUN=endfirstrun # this may generate base-config scripts to run at end of second install stage # see example files endfirstrun.simple or endfirstrun.dphys-admin for how to #CONF_ENDFIRSTRUN="" # --- disks to install generated rescue, root or .iso images to # install floppy drive, where our generated rescue or root image goes # 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 # install CD drive, where our generated .iso image goes # this should be the drive on the install generating system, not on target(s) # this line contains the drive ID and whatever options the drive needs # config for no burnproof and CD-R (no blank=fast): # CONF_INST_CD=dev=0,0,0 # config for burnproof and CD-RW (blank=fast): # CONF_INST_CD="-driveropts=burnfree blank=fast dev=0,0,0" #CONF_INST_CD=dev=0,0,0 # install directory for PXE, where our generated files go # we upload via ssh/scp, as this is most likely available on boot servers # so this line needs to be format for an scp login@server:/basedir #CONF_INST_PXE=not-configured-user@not-configured-server:/not/configured # make sure multiple users (group of them) can install files on boot server # if this is set, chgrp files to this group and chmod g+w #CONF_INST_GROUP=""