From owner-freebsd-questions@FreeBSD.ORG Fri Jan 7 04:48:25 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 1E8EE1065672 for ; Fri, 7 Jan 2011 04:48:25 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id CB7BB8FC13 for ; Fri, 7 Jan 2011 04:48:24 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p074mK9w027273; Thu, 6 Jan 2011 21:48:20 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p074mKlF027270; Thu, 6 Jan 2011 21:48:20 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Thu, 6 Jan 2011 21:48:20 -0700 (MST) From: Warren Block To: Chris Brennan In-Reply-To: Message-ID: References: <20101229120038.3DFB0106591A@hub.freebsd.org> <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> <20110106230849.H49334@sola.nimnet.asn.au> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-902635197-1145199264-1294375700=:27251" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Thu, 06 Jan 2011 21:48:21 -0700 (MST) Cc: Bruce Cran , Adam Vande More , Ian Smith , FreeBSD Questions 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: Fri, 07 Jan 2011 04:48:25 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---902635197-1145199264-1294375700=:27251 Content-Type: TEXT/PLAIN; format=flowed; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT On Thu, 6 Jan 2011, Chris Brennan wrote: > On Thu, Jan 6, 2011 at 4:27 PM, Warren Block wrote: > On Fri, 7 Jan 2011, Ian Smith wrote: > > 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. > > > Aha! http://www.wonkity.com/~wblock/docs/html/disksetup.html > > May/may not be helpful, but the price is right.  Feedback welcome. > > > Can I bow at your feet?!? This gave me just enough of a clue to go back and arbitraility pass 'gpart delete -i 1 ad4' which actually deleted a partition! I then zeroed the first 73 and > the last 33 blocks of the drive. fdisk still complained about 'Class not found' which I googled and found to be an artifact of gpart(8). destroy -F is supposed to mean "Forced destroying of the partition table even if it is not empty." But compare to this thread on the forum earlier today: http://forums.freebsd.org/showthread.php?t=20731 Maybe -F isn't quite as brutal as it needs to be. > So my question is this now, once gpart has touched a disk, does it have the partition-aids now? GPT does seem to be tenacious, and I'm wondering if maybe there's something left in RAM that's written back to the disk on shutdown. > Moving on, I then continued the standard process listed by your link, bsdlabel'd my layout and saved it, when I do an 'ls -lsga /dev | grep ad4' I see that I have partitions a,b,d,e,f > and I was able to newfs each one of them > > Next question, from this point (at the fixit prompt) can I preform a manual install of just base? if I can get the system installed at this point then all should be good when I reboot. I would just boot the install CD, enter q and the fdisk screen, enter the mountpoints and q at the label screen, and let it do the rest. ---902635197-1145199264-1294375700=:27251--