Subject: Re: Installation problems on Compaq Presario 7220
To: None <fulcrum@mbnet.fi>
From: Robert Elz <kre@munnari.OZ.AU>
List: netbsd-users
Date: 06/23/2003 21:35:46
    Date:        Mon, 23 Jun 2003 16:15:01 +0300
    From:        fulcrum@mbnet.fi
    Message-ID:  <B26B5184-A57C-11D7-8BE8-000393BC8AA2@mbnet.fi>

  | # disklabel -I -i wd0
  | partition>
  | [... editing of the partitions ...]
  | partition> W
  | Label disk [n] y
  | Label written
  | partition> Q

You'd guess from the man page (etc) that this would work as a method
to install a label on an unlabelled drive, but I don't think it ever has.

The method that seems to work, and work best is

	disklabel wd0 >/tmp/file
	<edit /tmp/file to make a basic label>
	disklabel -r -R wd0 /tmp/file

At that point you should have a label on the drive, than you can
then edit using disklabel -e (and other methods).

There's a chance that
	disklabel -r -i -I wd0
might work, I don't think I've ever tried that one.

kre

ps: the disklabel man page is truly horrid.