From owner-freebsd-questions@FreeBSD.ORG Thu Jan 6 02:52:08 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 456DB16A4CE for ; Thu, 6 Jan 2005 02:52:08 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id E365A43D2F for ; Thu, 6 Jan 2005 02:52:07 +0000 (GMT) (envelope-from cjalmond@gmail.com) Received: by rproxy.gmail.com with SMTP id i8so205017rne for ; Wed, 05 Jan 2005 18:52:07 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=Z5paUFGhBonSB9VOU+CCKg3Wqe7A8OYGE4tFuoY2SoBtG6QhUkP1q13GpRlwa66nc35Vwo4xOzHjBJd0n+SuXe30BNvgv5qL0PmJB/JQ+cMcHYY38GGLwQB3AX8gqJIqqJo1yRgf/OC4Ix/i6hckGVp/NFLmFh1ked9tqf+7x18= Received: by 10.38.75.52 with SMTP id x52mr116472rna; Wed, 05 Jan 2005 18:52:06 -0800 (PST) Received: by 10.38.97.21 with HTTP; Wed, 5 Jan 2005 18:52:06 -0800 (PST) Message-ID: <92b67e1b05010518523b6bbcf1@mail.gmail.com> Date: Wed, 5 Jan 2005 20:52:06 -0600 From: Curtis Almond To: Matthew Seaman In-Reply-To: <41DBC39B.5010604@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <92b67e1b050104152322d7beac@mail.gmail.com> <41DBC39B.5010604@infracaninophile.co.uk> cc: freebsd-questions@freebsd.org Subject: Re: install.cfg disklabel customization question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Curtis Almond List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jan 2005 02:52:08 -0000 Good suggestion on using bsdlabel. Unfortunately I am required to use FreeBSD 4.6.2 which does not contain this utility and disklabel requires one to invoke an editor to define the new label. What I resorted to doing was having netboot create /usr100 and then later overwrite the /etc/fstab via an installation package that sets noauto for the label. Curtis On Wed, 05 Jan 2005 10:38:19 +0000, Matthew Seaman wrote: > Curtis Almond wrote: > > > Anyone know how to make /usr100 not mounted at boot time? > > Edit /etc/fstab and add the 'noauto' flag to the appropriate line. > Something like this: > > /dev/ad0s2f /usr100 ufs rw,noauto 2 2 > > > Or even better.... > > How can I create the ad0s2-4 (ad0s2f after boot) label but have > > sysinstall not newfs it during netboot? > > You shouldn't need to recreate the disk or partition labels every time > you reboot, unless you are wiping and re-installing most of the disk > each time. > > If you're using sysinstall(8) to do an automatic install as part of your > netboot process, then as far as I can tell, there's no way using the > scripted interface to tell it to create a UFS partition but not newfs or > mount it -- although that's easy enough using sysinstall interactively. > > I'd be thinking more along the lines of ditching sysinstall(8) entirely > for that purpose and using fdisk(8), bsdlabel(8) and newfs(8) directly. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 8 Dane Court Manor > School Rd > PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone > Tel: +44 1304 617253 Kent, CT14 0JL UK > > >