I've got a hundred systems that I'm looking at upgrading to 4.4 from
4.1.  These systems were originally setup with pxe, with the following
partioning scheme (install.cfg format):

################################
# Now set the parameters for the partition editor on mlxd0
disk=mlxd0
partition=exclusive
bootManager=standard
diskPartitionEditor
################################

################################
# All sizes are expressed in 512 byte blocks!
#
mlxd0s1-1=ufs 400000 /
mlxd0s1-2=swap 4096000 none
mlxd0s1-3=ufs 400000 /var
mlxd0s1-4=ufs 8192000 /usr
mlxd0s1-5=ufs 0 /virtual
# Let's do it!
diskLabelEditor

For the upgrade, I'd like to leave the /virtual partition alone (it
contains user's home directories and such).  According to the
sysinstall(8) manpage I should be able to add a N to the end of the
/virtual partition line and it will not newfs the drive.  The following
line does not work (i.e. all the data on /virtual goes bye bye):

mlxd0s1-5=ufs 0 /virtual N

Has anyone used pxe to upgrade a system and leave one or more existing
FreeBSD partitions alone?  How should I go about this?

Thanks for any help you can provide.

Jason


Full install.cfg:
# FreeBSD installer for Mylex drives

# Turn on extra debugging.
debug=YES

# Ok, this ought to turn off ALL prompting, don't complain to me that 
# you
# lost a machine because you netbooted it on  the same subnet as this
# box
nonInteractive=YES
noWarn=YES
tryDHCP=YES

################################
# My host specific data
hostname=NameMe
domainname=perlwizard.org
################################

################################
# Which installation device to use
nfs=10.15.100.4:/virtual/perlwizard1.4.0
netDev=fxp1
tryDHCP=YES
mediaSetNFS
################################

################################
# Select which distributions we want.
dists= bin doc manpages catpages proflibs dict info des compat1x
compat20 compat21 compat22 compat3x comp
at4x crypto
distSetCustom
################################

################################
# Now set the parameters for the partition editor on mlxd0
disk=mlxd0
#partition=all
partition=exclusive
bootManager=standard
diskPartitionEditor
#diskPartitionWrite
################################

################################
# All sizes are expressed in 512 byte blocks!
#
mlxd0s1-1=ufs 400000 /
mlxd0s1-2=swap 4096000 none
mlxd0s1-3=ufs 400000 /var
mlxd0s1-4=ufs 8192000 /usr
# The following line newfs's /virtual, the second line does not
#mlxd0s1-5=ufs 0 /virtual
mlxd0s1-5=ufs 0 /virtual N
# Let's do it!
diskLabelEditor
#diskLabelCommit

# OK, everything is set.  Do it!
installCommit

#package=perlwizard-1.4.0
#packageAdd

package=pxe-perlwizard-kludge-1.3.0
packageAdd

###THE OLD STUFF###
#package=ports-1.0
#packageAdd
#package=linux_base-6.1
#packageAdd
#package=perlwizard-password-1.0
#packageAdd

shutdown
n


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to