Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Oct 2010 01:15:06 -0500
From:      Brandon Gooch <jamesbrandongooch@gmail.com>
To:        Robert <traveling08@cox.net>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: OT: fdisk
Message-ID:  <AANLkTi=7rTJ%2BjYGSJS_P4s9pUi1yV558M-hwfSKREd1y@mail.gmail.com>
In-Reply-To: <20101002194502.24e0f9da@asus64>
References:  <20101002113640.2ab36871@asus64> <alpine.BSF.2.00.1010021658060.83540@wonkity.com> <20101002165150.01e0cac0@asus64> <alpine.BSF.2.00.1010021857440.83826@wonkity.com> <20101002194502.24e0f9da@asus64>

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

On Sat, Oct 2, 2010 at 9:45 PM, Robert <traveling08@cox.net> wrote:
> On Sat, 2 Oct 2010 19:09:27 -0600 (MDT)
> Warren Block <wblock@wonkity.com> wrote:
>
>
>> It's weird that da1 can be mounted, but da1s1 can't.  Maybe a problem
>> with the filesystem.  Might be repairable, although probably it would
>> need proprietary programs.  Don't experiment with the original drive,
>> make a copy with dd for experimenting.
>
> Warren
>
> I should have mentioned that before. dd was the first thing I tried.
> I had an unused drive setup as UFS. Then did
>
> dd if=/dev/da1s1 of=/dev/ad12s1d bs=1m count=2000

I believe that the above 'if' operand to dd should instead be /dev/da1
(without the 's1' slice). Also, the operand 'of' will need to point to
a device, such as /dev/ad12, or a file on a mounted file system, such
as /mnt/my_disk_image.img

-Brandon


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=7rTJ%2BjYGSJS_P4s9pUi1yV558M-hwfSKREd1y>