Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jan 2011 21:48:20 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Chris Brennan <xaero@xaerolimit.net>
Cc:        Bruce Cran <bruce@cran.org.uk>, Adam Vande More <amvandemore@gmail.com>, Ian Smith <smithi@nimnet.asn.au>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: a new hard-drive in a 2y/o laptop
Message-ID:  <alpine.BSF.2.00.1101062143420.27251@wonkity.com>
In-Reply-To: <AANLkTi=1Zk2-Us=z9vyR6RcoodaPOxj=4BtXvCtYosKh@mail.gmail.com>
References:  <20101229120038.3DFB0106591A@hub.freebsd.org> <AANLkTinCZuupW%2BGFMeL70nPO90tZAAJNj8g0SaOztsR3@mail.gmail.com> <20101231105353.S36121@sola.nimnet.asn.au> <AANLkTinSbE8d=iYES78GJmYO2PyOAGHMjwQ%2B2HT45yxc@mail.gmail.com> <20110102102255.00004f57@unknown> <20110102230702.N49334@sola.nimnet.asn.au> <20110103022619.O49334@sola.nimnet.asn.au> <AANLkTimkCdtULT9jfNtwKcfxF8R-TQ_j=qZgS-Y-YGfu@mail.gmail.com> <20110104143245.P49334@sola.nimnet.asn.au> <AANLkTi=Aqh4cpmdkHx1QsTyoYh7nhinEfDUuPO3fUAh5@mail.gmail.com> <alpine.BSF.2.00.1101041840310.14633@wonkity.com> <20110105152725.U49334@sola.nimnet.asn.au> <AANLkTinfVLGomOj-Nanvr4sgei-p=HQ9-Mh0rXQQ7E%2Bw@mail.gmail.com> <20110106160720.B49334@sola.nimnet.asn.au> <AANLkTimXQXmk2t8xBN1H7fWkyNo%2BFyasU8KaSeakpnUJ@mail.gmail.com> <20110106230849.H49334@sola.nimnet.asn.au> <alpine.BSF.2.00.1101061423570.23404@wonkity.com> <AANLkTi=1Zk2-Us=z9vyR6RcoodaPOxj=4BtXvCtYosKh@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  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 <wblock@wonkity.com> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1101062143420.27251>