From owner-freebsd-questions@FreeBSD.ORG Thu Nov 8 01:11:40 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4087916A418 for ; Thu, 8 Nov 2007 01:11:40 +0000 (UTC) (envelope-from avatar4d@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.239]) by mx1.freebsd.org (Postfix) with ESMTP id DE61613C4CE for ; Thu, 8 Nov 2007 01:11:39 +0000 (UTC) (envelope-from avatar4d@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so2280045wxd for ; Wed, 07 Nov 2007 17:11:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=/FBi+dy6Zc0wCdgsc3C89VV/gY8gddCiZ/xup+LlZ9Q=; b=FCuBRuf7/inW1NIIezuUVnaQWCWgjnZYcPT2nMaFvB2VUW9L53g40wXRN8cgu5vb7fEVqfCZRtCQEtfbcftZNlTUfgyjujWNAnFdW2EWtKKZ0+H2T2t6Isa2aGxEvJ8Qvbbgc8bEXDmnbqWxfmgC1uBHDk6VcnuzXjRbzTGhuBg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=U7gSZ5xSGRw9R1ucrWSbXnNXv0560W0L+eWE6YPZrDbZKmOqR9wE3449/w8/15ysR1DCWY+C6kySnbm9fjjF4OOpomjKmOBKgged5FiP2MEYvOPh3I4e/+cEmwCAiPLJmNpS+YxnnP9CQKgEqOyoU0elaXmOu4n8fB+FfEIqz9Y= Received: by 10.90.94.2 with SMTP id r2mr5751236agb.1194482659298; Wed, 07 Nov 2007 16:44:19 -0800 (PST) Received: by 10.90.97.15 with HTTP; Wed, 7 Nov 2007 16:44:19 -0800 (PST) Message-ID: <17489c7a0711071644t306c876aof17f805192291c1b@mail.gmail.com> Date: Wed, 7 Nov 2007 19:44:19 -0500 From: "Chad Gross" To: "Jon Drukman" In-Reply-To: MIME-Version: 1.0 References: <200711030122.17441.lists@jnielsen.net> <20071103102115.B8947@wonkity.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Mounting/examining dd image? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2007 01:11:40 -0000 On Nov 3, 2007 3:38 PM, Jon Drukman wrote: > On Nov 3, 2007 9:23 AM, Warren Block wrote: > > vnconfig is the predecessor of mdconfig. It should be present in 4.9. > > thanks, it is. however, i am unable to mount the vnconfig'd device. > any ideas? i made the backup originally just by doing dd if=/dev/ad0 > of=some.file > > then i ran vnconfig vn0 some.file > > if i dd /dev/ad0 i see all the boot sector stuff, etc. however i > can't use disklabel or mount. > > # disklabel -r vn0 > disklabel: bad pack magic number (label is damaged, or pack is unlabeled) > # disklabel -r vn0a > disklabel: bad pack magic number (label is damaged, or pack is unlabeled) > # disklabel -r vn0b > disklabel: bad pack magic number (label is damaged, or pack is unlabeled) > > # mount /dev/vn0s1a /mnt > mount: /dev/vn0s1a on /mnt: incorrect super block > You have to mount the device with 'mount -t cd9660' because it is an ISO which is a cd9660 format. > > > it seems like the data is there but i don't know how to access it. > > 00000000 fc 31 c0 8e c0 8e d8 8e d0 bc 00 7c be 1a 7c bf > |.1.........|..|.| > 00000010 1a 06 b9 e6 01 f3 a4 e9 00 8a 31 f6 bb be 07 b1 > |..........1.....| > 00000020 04 38 2f 74 08 7f 78 85 f6 75 74 89 de 80 c3 10 > |.8/t..x..ut.....| > 00000030 e2 ef 85 f6 75 02 cd 18 80 fa 80 72 0b 8a 36 75 > |....u......r..6u| > 00000040 04 80 c6 80 38 f2 72 02 8a 14 89 e7 8a 74 01 8b > |....8.r......t..| > 00000050 4c 02 bb 00 7c 80 fe ff 75 32 83 f9 ff 75 2d 51 > |L...|...u2...u-Q| > 00000060 53 bb aa 55 b4 41 cd 13 72 20 81 fb 55 aa 75 1a |S..U.A..r > ..U.u.| > 00000070 f6 c1 01 74 15 5b 66 6a 00 66 ff 74 08 06 53 6a |...t.[ > fj.f.t..Sj| > 00000080 01 6a 10 89 e6 b8 00 42 eb 05 5b 59 b8 01 02 cd > |.j.....B..[Y....| > 00000090 13 89 fc 72 0f 81 bf fe 01 55 aa 75 0c ff e3 be > |...r.....U.u....| > 000000a0 bc 06 eb 11 be d4 06 eb 0c be f3 06 eb 07 bb 07 > |................| > 000000b0 00 b4 0e cd 10 ac 84 c0 75 f4 eb fe 49 6e 76 61 > |........u...Inva| > 000000c0 6c 69 64 20 70 61 72 74 69 74 69 6f 6e 20 74 61 |lid partition > ta| > 000000d0 62 6c 65 00 45 72 72 6f 72 20 6c 6f 61 64 69 6e |ble.Error > loadin| > 000000e0 67 20 6f 70 65 72 61 74 69 6e 67 20 73 79 73 74 |g operating > syst| > 000000f0 65 6d 00 4d 69 73 73 69 6e 67 20 6f 70 65 72 61 |em.Missing > opera| > 00000100 74 69 6e 67 20 73 79 73 74 65 6d 00 00 00 00 00 |ting > system.....| > 00000110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > |................| > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- Chad M. Gross