Date: Fri, 24 Feb 2012 13:11:03 -0500 From: Michael Powell <nightrecon@hotmail.com> To: freebsd-questions@freebsd.org Subject: Re: 8.3-BETA1 installation problem Message-ID: <ji8jr6$2q0$1@dough.gmane.org> References: <CAG%2Br6L_OfGASNwbtpysGfwaSEy0zP8=obVQN2zeWFCaPgDe3%2BA@mail.gmail.com> <alpine.BSF.2.00.1202221325120.79418@wonkity.com> <ji3tke$7g9$3@dough.gmane.org> <CAG%2Br6L8LLW-d6dx27qEgU95xp_agMFwgbEx=VB_4E=5GSR-WSw@mail.gmail.com> <alpine.BSF.2.00.1202240827150.92924@wonkity.com>
index | next in thread | previous in thread | raw e-mail
Warren Block wrote:
> On Fri, 24 Feb 2012, Omer Faruk SEN wrote:
>
>> Already done that but still habe the same issue. I can dd and sysctl but
>> after installing without using W at disk label screen still no luck. I
>> have also done
>> sysctl kern.geom.debugflags=16 on fixit and restarted installation but
>> still getting the same error.
>
> [Please don't top-post, it makes responding more difficult.]
>
>>> If you need to clear the old MBR the "old way", use a LiveFS or Fixit
>>> shell and do this (as root):
>>>
>>> sysctl kern.geom.debugflags=16 and:
>>>
>>> dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1
>
> The sysctl is not necessary. The dd may not erase enough of the disk.
> It will erase a bsdlabel, but not the MBR/PMBR. As always, be warned
> that this will erase the partition table on that disk, so make sure it's
> the correct target disk and that you have full backups:
>
> dd if=/dev/zero of=/dev/adX bs=512 count=34
^^^^^^^^
Excellent idea here. It covers GPT too, for as if a Linux distro was on the
disk previously, or anything else using GPT. For me I only needed the one
because my problem was only a change from FBSD 6.2 to 7.x something,
no GPT involved - my problem was only disklabel related.
> Replace X with the correct drive number.
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ji8jr6$2q0$1>
