Subject: Re: Adding a hard drive to i386
To: Rose, Brian <Brian.Rose@icn.siemens.com>
From: Andrew Gillham <firstname.lastname@example.org>
Date: 08/27/2002 11:51:52
On Tue, Aug 27, 2002 at 02:12:47PM -0400, 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?
You can also just use sysinst to partition the drive. Either by booting
install media, or building sysinst in /usr/src and running it.