Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Mar 1998 21:01:14 -0500 (EST)
From:      "Brian Dean" <brdean@unx.sas.com>
To:        jkh@time.cdrom.com
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: sysinstall problem - umount /dist
Message-ID:  <199803240201.VAA18768@dean.pc.sas.com>
In-Reply-To: <27205.890695367@time.cdrom.com> from "Jordan K. Hubbard" at "Mar 23, 98 03:22:47 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> > I'm using a scripted installation to install FreeBSD and find that
> > when the system boots for the first time after the install, 'fsck'
> > complains that the disks have not be unmounted cleanly and begins
> 
> 1. Can you verify that this is happening with the latest 2.2-stable
>    bits?

I haven't had a chance to see what happens on 2.2-stable.

> 2. Can I see your script?

Here's the script:

------------------------------------------------------------
# dean.cfg
#

debug=yes

ipaddr=10.16.2.60
hostname=dean.pc.sas.com
domainname=pc.sas.com
defaultrouter=10.26.0.1

netDev=fxp0
nfs=freebsd.pc.sas.com:/pub/FreeBSD
nameserver=149.173.52.113
netmask=255.255.0.0
mediaSetNFS

# select distribution sets
dists=bin doc manpages proflibs info des compat21 ssecure sebones sbase scontrib sgnu setc sinclude slib slibexec slkm srelease sbin ssbin sshare ssys subin susbin ssmailcf ports X3329set X332bin X332cfg X332doc X332f100 X332fcyr X332fnon X332fnts X332fscl X332fsrv X332html X332jdoc X332jset X332lib X332lk98 X332lkit X332man X332nest X332prog X332prt X332ps X332set X332upd X332vfb Servers/X3328514 Servers/X332AGX Servers/X332I128 Servers/X332Ma32 Servers/X332Ma64 Servers/X332Ma8 Servers/X332Mono Servers/X332P9K Servers/X332S3 Servers/X332S3V Servers/X332SVGA Servers/X332VG16 Servers/X332W32
distSetCustom

# first, clear off any existing partitions
disk=sd0
partition=exclusive
diskPartitionEditor

# now set up the disk parition using a partition table entry for FBSD
disk=sd0
partition=all
bootManager=booteasy
diskPartitionEditor

# now the slices

# 256 Meg /root partition
sd0s1-1=ufs 524288 /

# 256 Meg swap partition
sd0s1-2=swap 524288 none

# 256 Meg /var partition
sd0s1-3=ufs 524288 /var

# all remaining space for /usr partition
sd0s1-4=ufs 0 /usr

# label the disk
diskLabelEditor

# finish the install
installCommit

# install a few packages
package=perl-5.00401
packageAdd
package=emacs-19.34b
packageAdd
package=less-332
packageAdd
------------------------------------------------------------

-- 
Brian Dean                      brdean@unx.sas.com
Process Engineering
The SAS Institute Inc.          919.677.8000 x5235

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



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