Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 2010 10:28:26 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-hackers@freebsd.org
Cc:        Dirk Engling <erdgeist@erdgeist.org>, Aryeh Friedman <aryeh.friedman@gmail.com>, Jim Bryant <kc5vdj.freebsd@gmail.com>
Subject:   Re: disassembler
Message-ID:  <201008271028.26529.hselasky@c2i.net>
In-Reply-To: <4C7776FA.5070601@gmail.com>
References:  <AANLkTin%2BThKcG1n4-xVDbbj4N9VWq2BakunNxGT6S329@mail.gmail.com> <AANLkTikb_Zge=Wr1-%2BpN-gZQxZ0AehO1ysUuyJSGq5su@mail.gmail.com> <4C7776FA.5070601@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 27 August 2010 10:27:38 Jim Bryant wrote:
> ah, ok.
> 
> if it's a flash drive, the data may be toast.  depends on how many dead
> cells there are.
> 

Hi,

dd if=/dev/da0 of=/root/temp.mbr bs=512 count=1

Then use objcopy to convert /root/temp.mbr into something that objdump can 
read, and it should disassemble it for you :-)

You might want to look at photorec in ports too.

Good luck.

--HPS



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