Subject: Re: Adding a hard drive to i386
To: Rose, Brian <Brian.Rose@icn.siemens.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-users
Date: 08/27/2002 11:24:37
On Tue, 27 Aug 2002, Rose, Brian wrote:
> I just bought a hard drive and I need to add it to my already running
> NetBSD-1.5.2. When I attempt to do anything, I find that the programs
> (mbrlabel) complain about there being no disklabel. Doing research on
> disklabel, it seems I need to edit the /etc/disktab file and add an entry
> for my particular hard drive geometry.
>
> Is there a more elegant program that will query the drive and generate a
> proper disklabel? Or am I stuck with this method?
Is this a brand new disk with nothing on it?
If so, then try:
disklabel -I -i wd1 # use device of your new disk
Then when done, use newfs.
Jeremy C. Reed
http://www.reedmedia.net/