Sysinstall with install.cfg

Andreas Nilsson andrnils at gmail.com
Wed Apr 1 14:52:21 PDT 2009


Hello,

I've been tasked with building a modified FreeBSD release, which among other
things should have a scripted sysinstall. However when I try to use a basic
one I get an error saying something like:

"No such device /dev/da0s1b", but in the debug output I see that it was
created. The install.cfg I'm using is:

debug=yes

################################
# Which installation device to use
mediaSetCDROM
################################

################################
# Select which distributions we want.
#dists=
#distSetCustom
distSetDeveloper
################################

################################
# Now set the parameters for the partition editor on da0.
disk=da0
partition=all
bootManager=none
diskPartitionEditor
diskPartitionWrite
################################

da0s1-1=ufs 62914569 /
da0s1-2=swap 16777216 none
da0s1-4=ufs 0 /usr
diskLabelEditor
installCommit

What am I missing?

Best regards
Andreas Nilsson


More information about the freebsd-questions mailing list