Date: Tue, 20 Apr 1999 14:36:21 +0100 (BST) From: Sebastien Maraux <smaraux@cpc.westminster.ac.uk> To: Doug White <dwhite@resnet.uoregon.edu> Cc: faq@FreeBSD.ORG Subject: Problems with sysinstall and install.cfg Message-ID: <Pine.BSF.3.96.990420141340.16972B-200000@seth.cpc.wmin.ac.uk> In-Reply-To: <Pine.BSF.4.03.9904141027330.15989-100000@resnet.uoregon.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] I currently use FreeBSD 2.2.8. I 'd like to setup a network automate installation, that's why I need install.cfg My strategy is to boot with netboot on a floppy, a bootp server answers the bootp request , gives IP adresses like gateway and DNS , mount a NFS slice as rootfs and finally specifies which kernel has to be booted (with path) a script copy a specific install.cfg from the network to the floppy, renaming it install.cfg Then I execute "sysinstall loadConfig" BUT : 1. sysinstall gives me an "unable to open (NULL): No such file or directory" -> where should I specify the file which has to be loaded ? 2. When I boot without the loadConfig option, sysinstall gives me "unable to add /dev/wd0s1b as swap device: device not configured" for the swap and "error mounting /dev/wd0s1e on /a/ : Invalid argument" when it tries to mount the devices on /a/, /a/usr, /a/var. I'd like to install a FreeBSD system on /a , then modify the fstab to boot on the last /a/ as / I join my install.cfg model. (sorry for the mistakes, I'm a French student) Thanks for any help you could bring me. [-- Attachment #2 --] # This is the installation configuration file for my tests IPv6 machines, # Turn on extra debugging. # debug=yes #say what kind of release must be installed #releaseName="2.2.8-RELEASE" ################################ # My host specific data hostname=MACHINE.DOMAIN domainname=cscs.wmin.ac.uk nameserver=IP_DNS defaultrouter=IP_GATEWAY ipaddr=IP_ADDR netmask=255.255.255.224 ################################ ################################ # Which installation device to use - ftp is pointed directly at my local # machine and the installation device is my 3com 509 ethernet interface. nfs=IP_SERVER:/data/2.2.8-RELEASE netDev=ep0 mediaSetNFS ################################ ################################ # Select which distributions we want. dists=bin # doc manpages info compat21 des src sbase slkm ssys distSetCustom ################################ ################################ # Now set the parameters for the partition editor on wd0. Set to use the # disk exclusively (could also be "all" to use the whole disk but # respecting the MBR or "free" to use only unallocated space for FreeBSD). disk=wd0 partition=exclusive bootManager=booteasy diskPartitionEditor diskPartitionWrite # Uncomment this instead to use only the free space and install boot manager. #partition=free #bootManager=booteasy #diskPartitionEditor ################################ ################################ # All sizes are expressed in 512 byte blocks! # A 32MB root partition wd0s1-1=ufs 65536 /a/ # And a 32MB swap partition wd0s1-2=swap 65536 none # then a 32MB var partition wd0s1-3=ufs 65536 /a/var # Followed by a /usr partition using all remaining space (size 0 = free space) wd0s1-4=ufs 0 /a/usr # Let's do it! diskLabelEditor diskLabelCommit ################################ # OK, everything is set. Do it! #installCommit # Install some packages at the end. package=bash-2.02.1 packageAdd package=emacs-20.3 packageAdd
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990420141340.16972B-200000>
