Subject: Re: disklabel: Invalid signature in mbr record 0
To: None <port-amd64@NetBSD.org>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: port-amd64
Date: 12/18/2006 08:19:21
On Sun, Dec 17, 2006 at 08:27:32PM -0600, Heron Gallegos wrote:
> Hello
> 
> I got this strange response when I disklabel my second hard disk:
> disklabel: Invalid signature in mbr record 0
> I dont know if I am doing some in an erroneous way.
[..]

> This is my procedure:
> 1) Install NetBSD from cdrom in sd0 and reboot
> 2) disklabel -t sd0 >> /etc/disktab
> 3) disklabel -w -r sd1 mydisk
> and the message occurs

You missed the fdisk part.

disklabel needs a MBR on that disk.
Make sure that you reserve some space at the begining of the disk
(63 sectors) when you create the mbr label for NetBSD (type 169).
You could get into trouble if you do not reserve this space, like
windows overwritting these sectors.

Bernd