From owner-freebsd-hackers Sat Sep 27 00:23:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA06289 for hackers-outgoing; Sat, 27 Sep 1997 00:23:41 -0700 (PDT) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA06272 for ; Sat, 27 Sep 1997 00:23:35 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.8.5) with SMTP id AAA16100; Sat, 27 Sep 1997 00:23:26 -0700 (PDT) Date: Sat, 27 Sep 1997 00:23:26 -0700 (PDT) From: Doug White Reply-To: Doug White To: Coi Giovanni cc: freebsd-hackers@freebsd.org Subject: Re: wd1: invalid primary partition table: no magic In-Reply-To: <199709241932.VAA24695@prometeo.prometeo.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I was wondering if I was going to end up with this. It is my document after all :-) > I have a strange (for me) message when I execute > some command like disklabel (or fsck) > it display on console > > wd1: invalid primary partition table: no magic > > for example: > > dd if=/dev/zero of=/dev/rwd1 count=2 > (this is ok) > > disklabel -e -r /dev/rwd1 > (this rise the error/warning messages, then I edit the > partition table and...) The message is totally normal if it appears after running the above command. > What does it means? It means that the partition table doesn't contain the necessary identifying bits for the PC partition table. Which is true. By running the dd if=/dev/zero... command you effectively destroyed anything that may have been present. But it doesn't mean anything is wrong, it's for your information only. It's bad if your primary boot disk spits this out ;-) > Any suggestions? Enjoy your new 2GB filesystem. :-) Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major