Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2001 17:23:28 -0800
From:      dannyman <dannyman@toldme.com>
To:        freebsd-stable@freebsd.org
Subject:   sysinstall hassles
Message-ID:  <20010314172328.L3500@dell.dannyland.org>

next in thread | raw e-mail | index | archive | help
I am trying to invoke sysinstall with a config file, like so:

/sysinstall loadConfig=/etc/install.cfg

It'll run through the blue screen that says "Probing devices ... (this may
take a while) and then it exists with 0 return code, not doing anything at
all.

Any idea?

I get farther with:

/sysinstall `/usr/bin/egrep '^[a-zA-Z]' /etc/install.cfg | /usr/bin/awk \
'$2 {print "\""$_"\""} $2 == "" {print $_}'`

Which comes out to:
/sysinstall debug=YES nonInteractive=YES noWarn=YES disk=da0 partition=all bootManager=standard diskPartitionEditor "da0s1-1=ufs 2000000 /" "da0s1-2=swap 2000000 none" "da0s1-3=ufs 10000000 /var" diskLabelEditor diskLabelCommit installCommit

But sysinstall bombs on any line with a space in it:
da0s1-1=ufs 2000000 /

How to express my point to sysinstall?

Or, how to compile sysinstall?  Maybe I can compile it to read my config file,
but alas, I cd /usr/src/release/sysinstall ; make clean ; make obj ; make and
I get this:

mv makedevs.tmp makedevs.c
cc -O -pipe -Wall -I/usr/src/release/sysinstall/../../gnu/lib/libdialog -I/usr/obj/usr/src/release/sysinstall   -I/usr/tftpboot/diskless//usr/include -c makedevs.c
makedevs.c:314: syntax error before `,'
*** Error code 1

Stop in /usr/src/release/sysinstall.

AUGHGHG!!!

Or, failing that, what's a handy way of creating myself a single
partition and laying the slices out like so:

da0s1-1=ufs 2000000 /
da0s1-2=swap 2000000 none
da0s1-3=ufs 10000000 /var
da0s1-4=ufs 0 /usr

Meaning, 1G for /, 1G for swap, 5G for /var and everything else for /usr
...

Thanks,
-danny

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010314172328.L3500>