OT: fdisk

Brandon Gooch jamesbrandongooch at gmail.com
Sun Oct 3 06:15:08 UTC 2010


On Sat, Oct 2, 2010 at 9:45 PM, Robert <traveling08 at cox.net> wrote:
> On Sat, 2 Oct 2010 19:09:27 -0600 (MDT)
> Warren Block <wblock at 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


More information about the freebsd-questions mailing list