From owner-freebsd-questions@freebsd.org Sun Sep 16 15:51:33 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 79D1210A4715 for ; Sun, 16 Sep 2018 15:51:33 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D2DAC8F161 for ; Sun, 16 Sep 2018 15:51:32 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.102.102]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPA (Nemesis) id 1MqsGv-1fX8LL182T-00ms7W; Sun, 16 Sep 2018 17:51:30 +0200 Date: Sun, 16 Sep 2018 17:51:29 +0200 From: Polytropon To: Victor Cc: FreeBSD List Subject: Re: Recover Fat32 files from a usb hd overwritten with a Freebsd image Message-Id: <20180916175129.317930e4.freebsd@edvax.de> In-Reply-To: <49506F64-CF77-413E-8CDC-1BC58E824E2B@gmail.com> References: <778CC5A8-0C53-4FF3-80E4-5F4C73BF3BD3@gmail.com> <20180915211030.35fdf96a.freebsd@edvax.de> <49506F64-CF77-413E-8CDC-1BC58E824E2B@gmail.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:rI7YoUOsH6rSa614VXRxbz/JmR8D6gk56NSfBDTjSK2nPpiEzPx eg69ZLxBW/lm16xsY/mTTmbwpIiQOkmmlxC28StSTCAThtMmG4WQEsXfZXnHFQGJR0H8e5h tfk5k94ukH2qaMXQGVSkI7zPrNAmX1dKsvxHwLrlBO2cD+4aFZyZoPV+PgHVnqXOrgRbPOr nOznRrxGK3F+Uwdm0ahhg== X-UI-Out-Filterresults: notjunk:1;V01:K0:aj7JNSzALdQ=:8UkYEXkXEwhuUkyYg+JYnQ DIzvoN7G8qswHSYsmWCZguPR/nr+N1P2QQ9bc9stzoy6imKL8usCEzPb1aHo5YstZThhDCIhj 0KLojg52+OuNAVd6jlsJ+iCumonqermw5nqDbaoV2nzzh68pFFUusKRmNP/g4ArNquiuQSoZr PNVMo6CrVMAhPbaCld3rnwuzq6h+H3ZIj03m7Id2W+FuJW/NzCni6pv7tIX6CRjlWc0lfd36W /cWtB9B8OCkOXuVN0Ik2Qc8alWX4IdUKaESWU8MiPENmJewjgrMhy9lwuopUUoHBmS+aK3wBx qx9XHEV5G7c7PfhDumSo5fulZvMat0KbaK9Rk1Z8Z417nk7dR1p/R8qSx6rpUOQJXNeouisv3 glrQINok2YKrh94ViR+OSjT9fLcHqkFlXr/gHjJf2Mzn8PfBu0zylcafdkih/jfgW6JYx0eYE g23nZ5FALJxIF0t5HPThPRZSyAEWTL9c3vqi+w/a+uwhLfe6vQU4hjd6danNChHAesSc4YGzL vN/Ny6ZlMQjUl1TBlJ8cLcHQ0dwgva+CFZGOWcIiSPgRvgdO/rAbl4MXMaDK3Z75+e4kJ2K43 3q4YKxgpWpGrYFSINO3HTv81JyeteU3szXMfFxxmif5tnTdK8efGirkgS7zzq+AlLYrLUKBkz IRq6IC0J7FRJm1Y1JjYcGdhdOwrcCJ8bbUXHk0dkZcDy6SyiEGTukMEjlrgekHLh8hC2XphT9 9huUiL7iljgutWDl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Sep 2018 15:51:33 -0000 On Sun, 16 Sep 2018 17:37:27 +0200, Victor wrote: > > Il giorno 15/set/2018, alle ore 21:10, Polytropon ha scritto: > > ........... > > By the way, are you sure it's FAT? Who uses FAT today? In > > "Windows" land, external disks tend to be formatted with > > NTFS, so in addition to the following information, you > > might consider checking if tools from the "ntfsprogs" > > package (here: ntfscat, ntfsinfo, ntfsclone, ntfsfix, > > or ntfsundelete) could be usable. > > > > > > Thank you very much indeed for your detailed instruction. > I'll have a go at magicrescue. Yes, that seems to be the best bet so far. When you have the result files, check them with an image viewer. Also keep in mind that magicrescue _can_ (and will) recover files that have been deleted intendedly, so prepare for duplicate files. (The script I wrote would deal with those special cases, too.) > By the way the reason why I think I initially had formatted > the usb device as Fat32 is that I used Disk Utility of Mac OS X > where the format is labelled as "MSDOS(FAT)" (the other windows > format is "exFAT"). Maybe I could be wrong .... No, that is fully correct. This setting will create a FAT-32 filesystem, which "Windows" can typically use (with the specific limitations of FAT and "Windows", of course). "ExFAT" is a proprietary extension of FAT aimed primarily at SSDs, USB sticks, and memory cards. You can forget about the NTFS part. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...