Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2012 16:10:19 +0400
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        Norihiko Murase <mur1080224@inter7.jp>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: (8.3-RELEASE,9.1-BETA) Can't mount the partitions created via 4. 11-RELEASE
Message-ID:  <500D3F2B.9090509@yandex.ru>
In-Reply-To: <20120723174321.22c65ae%mur1080224@inter7.jp>
References:  <20120723134658.153fa6c%mur1080224@inter7.jp> <500CE556.10105@yandex.ru> <20120723174321.22c65ae%mur1080224@inter7.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23.07.2012 12:43, Norihiko Murase wrote:
> I've obtained the result mentioned above respectively for 
>   - "old" HDD (the partitions were created by FreeBSD 4.11-RELEASE.)
>   - "new" HDD (the partitions were created by FreeBSD 8.3-RELEASE.)
> I attach these results to this e-mail message.
> 
> I hope this is helpful...
> 

Hi,

if i understand correctly, you have bsdlabel's metadata just after MBR,
and it overlaps MBR (maybe you have configured dangerous dedicated disk?).
You can try backup first 16 sectors and try to overwrite second sector
(where bsdlabel is) with zeroes. I.e.:

# dd if=/dev/ada0 of=./backup count=16
# dd if=/dev/zero of=/dev/ada0 count=1 seek=1

After that your MBR should appear and you will see ada0s1 and ada0s2.
If this will not help, or you will get not what you have wanted,
then you can restore sectors from the backup.

-- 
WBR, Andrey V. Elsukov





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?500D3F2B.9090509>