Date: Fri, 3 Apr 2009 10:24:47 -0700 (PDT) From: snott <skye@f4.ca> To: freebsd-questions@freebsd.org Subject: Re: Recovering partitions from disk image? Message-ID: <22872988.post@talk.nabble.com> In-Reply-To: <22862006.post@talk.nabble.com> References: <22862006.post@talk.nabble.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Update: I figured out how to get scan_ffs to read a file by looking at the program source (if it starts with / then it considers it a regular file to read instead of a device) and got the following results which matches well with the TestDisk output. $ scan_ffs -s /recovery/disk0.img ufs1 at 1087 size 2621440 mount / time Wed Dec 31 16:00:00 1969 ufs1 at 10486847 size 5242880 mount /var time Wed Dec 31 16:00:00 1969 ufs1 at 31458367 size 5242880 mount /usr/home time Wed Dec 31 16:00:00 1969 ufs1 at 54525634 size 46680873 mount /mnt time Wed Dec 31 16:00:00 1969 Looks about right compared to the df output I had from that host: Filesystem Size Used Avail Capacity Mounted on /dev/twed0s1a 4.9G 2.8G 1.7G 62% / /dev/twed0s1e 9.8G 5.0G 4.0G 56% /var /dev/twed0s1f 9.8G 952M 8.1G 10% /usr/home /dev/twed0s2e 88G 15G 65G 19% /mnt So, what can I do with those numbers? It doesn't look like there's any valid MBR or disklabel on this disk image. Can I extract these filesystems one at a time from the image and mount them somehow? Thanks, Skye -- View this message in context: http://www.nabble.com/Recovering-partitions-from-disk-image--tp22862006p22872988.html Sent from the freebsd-questions mailing list archive at Nabble.com.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?22872988.post>