Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 2011 07:29:35 +1100
From:      Jerahmy Pocott <quakenet1@optusnet.com.au>
To:        Steve Randall <srandall52@gmail.com>
Cc:        Warren Block <wblock@wonkity.com>, perryh@pluto.rain.com, freebsd-stable@freebsd.org, freebsd-usb@freebsd.org
Subject:   Re: USB Drive not showing up correctly in 8.1 (works in 7.3)
Message-ID:  <94EE29D5-260E-496E-9E20-DECB220F1370@optusnet.com.au>
In-Reply-To: <20110116125931.76472050@locust.local>
References:  <659F3C99-CA41-4685-B981-115802734D02@optusnet.com.au> <4d329926.9Qq/rSteVFLlBlYm%perryh@pluto.rain.com> <alpine.BSF.2.00.1101161043110.21158@wonkity.com> <20110116125931.76472050@locust.local>

next in thread | previous in thread | raw e-mail | index | archive | help

On 17/01/2011, at 5:59 AM, Steve Randall wrote:

> On Sun, 16 Jan 2011 11:00:01 -0700 (MST)
> Warren Block <wblock@wonkity.com> wrote:
> 
>> On Sat, 15 Jan 2011, perryh@pluto.rain.com wrote:
>> 
>>> Jerahmy Pocott <quakenet1@optusnet.com.au> wrote:
>>> 
>>>> I have a USB Drive that was working fine under 7.3, but since
>>>> updating to 8.1 no longer has the correct /dev entries. Under
>>>> 7.3 it was da0s1, in 8.1 there is now only da0 and da0a, which
>>>> shouldn't exist...
>> 
>> da0s1 is MBR, da0a is "dangerously dedicated".  I would not expect 
>> differences between 7 and 8 USB to show that on an existing drive.  If 
>> the drive was reworked during the 7-to-8 upgrade--maybe with "bsdlabel 
>> auto"--that would be a more likely explanation.
> 
> The actual explanation is the new geom partitioners introduced in 8.0.
> 
> The disk has an MBR in block 0 and a forgotten BSD label (dangerously
> dedicated) in block 1. 8.x sensibly ignores one of them; unfortunately
> it ignores the MBR, not the unwanted BSD label.
> 
> The solution is:
> 
> # dd if=/dev/zero of=/dev/da0 seek=1 count=1

Thank you, this does indeed correct the issue.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?94EE29D5-260E-496E-9E20-DECB220F1370>