From owner-freebsd-questions@FreeBSD.ORG Thu Jan 6 13:11:38 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA9671065673 for ; Thu, 6 Jan 2011 13:11:37 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 466358FC14 for ; Thu, 6 Jan 2011 13:11:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id p06DBQ3U025758; Fri, 7 Jan 2011 00:11:27 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Fri, 7 Jan 2011 00:11:26 +1100 (EST) From: Ian Smith To: Adam Vande More In-Reply-To: Message-ID: <20110106230849.H49334@sola.nimnet.asn.au> References: <20101229120038.3DFB0106591A@hub.freebsd.org> <20101230133126.O36121@sola.nimnet.asn.au> <20101231105353.S36121@sola.nimnet.asn.au> <20110102102255.00004f57@unknown> <20110102230702.N49334@sola.nimnet.asn.au> <20110103022619.O49334@sola.nimnet.asn.au> <20110104143245.P49334@sola.nimnet.asn.au> <20110105152725.U49334@sola.nimnet.asn.au> <20110106160720.B49334@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Bruce Cran , FreeBSD Questions , Chris Brennan Subject: Re: a new hard-drive in a 2y/o laptop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jan 2011 13:11:38 -0000 On Thu, 6 Jan 2011, Adam Vande More wrote: > On Thu, Jan 6, 2011 at 3:06 AM, Ian Smith wrote > > > Your dd of the first 71 sectors looked right, MBR looks ok, sectors 1-62 > > are zeroes, boot1 and boot2 from sector 63-70 seem normal, after you > > used 'W' to write anyway; can't say for sure that the bsdlabel is ok, > > but see no reason to suppose otherwise. What says 'bsdlabel ad4s1' > > while you've still got one? > > > > This is a pretty easy problem to replicate if you are pressing W, and that > "issue" has existed for quite some time. If you press W then Q at > sysinstall fdisk then attempt to force write disklabel screens you will get > the error. Just setup the slices and partitions as you want and let > sysinstall handle the writing of information. There is a big warning box > that says not to use force write except under certain conditions and this is > not one of them. Adam, I think you may have missed a lot from the earlier messages in this thread. Admittedly it's long and likely tedious, but trying to help somebody get the OS installed is about as basic as it gets for me; I'd be hugely relieved if someone with more / better clues took it on. We didn't get to try W)rite from the fdisk and label screens until long after all attempts at letting sysinstall deal with things had failed to even slice the disk, bombing on this error every time. Chris' disk is brand new, nothing installed. W)riting from sysinstall succeeded at least in creating ad4s1 in the MBR and writing the bootblocks to that slice. I made it very clear this is not something to do without due care; in the circumstances there was absolutely nothing to be lost. And then the GPT issue, of which I was totally ignorant. Fixed. > If you google the error message in the OP, the first result is: > > http://forums.freebsd.org/showthread.php?t=1675 I can't see anything there that informs any solution to this issue, that doesn't cover everything Chris has tried. If you can, please elaborate? > Failing that, I can't see other than a hardware issue, unless somehow > > sysinstall is broken and you may do better manually running fdisk and > > bsdlabel and newfs per Handbook and manuals? > > > > This doesn't say hardware error to me at all, at least not a disk hardware > issue. The message was present across two disks, and if there truly is a > problem writing to the media a complete zeroing of the drive would be > apparent then. Chris has this issue with one disk only, so I'm not sure what you mean? If it's not hardware related (or HP firmware, as Mike suggested), maybe it is an issue with sysinstall. Manual fdisk & bsdlabel & newfs would confirm that or otherwise, but Chris will have to hunt up mans, docs and howtos on doing that himself, they're out there. On the other hand it's useful learning, and nothing he tries can make matters any worse. [ I can't comment on auto-allocated partitions, the last time I thought that was even vaguely a useful idea was my first install of 2.2.6 :^] If you have any spare magic dust to sprinkle on this, please do so. cheers, Ian