*BSD News Article 62647


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!uunet!in2.uu.net!newsfeed.internetmci.com!news.mathworks.com!fu-berlin.de!news.belwue.de!news.uni-stuttgart.de!uni-regensburg.de!newsserv.uni-bayreuth.de!uni-erlangen.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: New User needs help setting up SCSI HD as second HD....
Date: 2 Mar 1996 19:48:49 GMT
Organization: Private BSD site, Dresden
Lines: 30
Message-ID: <4ha8n1$af@uriah.heep.sax.de>
References: <DnEKxq.Iny@clark.zippo.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

ckolos@howpubs.com (Chris Kolosiwsky) writes:

> I've looked in the faqs and the handbook, but they are a little
> unspecific as to the steps involved when adding a second HD in a
> system.

Yeah, this is since there's no elegant solution available in the base
system... :-/

If you don't care about DOS (i.e., are going to dedicate the entire
disk to BSD), and basically know about disklabel(8) and disk
partitions (_not_ slices!), you can grab /sbin/disklabel from
-current, then:

	disklabel -Bwb sd0 auto	# Might cause a kernel warning about
				# an ``invalid primary partition table'',
				# nevermind.
	disklabel -e sd0	# Edit your partitions, leave partition
				# `c' alone as it is-
	newfs -d0 /dev/rsd0e	# ...or whatever you have.

If you care about DOS and want to install slices, `disklabel auto'
won't work.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)