From owner-freebsd-questions Fri Dec 8 1:49:59 2000 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 8 01:49:58 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id CBD1D37B400 for ; Fri, 8 Dec 2000 01:49:57 -0800 (PST) Received: (qmail 61789 invoked by uid 100); 8 Dec 2000 09:49:57 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14896.44740.999965.890752@guru.mired.org> Date: Fri, 8 Dec 2000 03:49:56 -0600 (CST) To: Tim McMillen Cc: questions@freebsd.org Subject: Re: vnconfig question In-Reply-To: <117056490@toto.iv> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Message: You should get a better mailer. Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Tim McMillen types: > Hi, I am trying to access an image that I made of a small hard > drive. I made it pretty simply with dd if=/dev/ad1 of=file > I can get vnconfig working fine with an iso, but I try somethig similiar > with my image and I get this output and error: > tim# ls > maxtorbackup > tim# vnconfig vn0c ./maxtorbackup > tim# mount_msdos /dev/vn0c /mnt > mount_msdos: /dev/vn0c: Invalid argument > > The disk was msdos ver 6 and mounting it worked correctly so I > figured this would too. I read the manpage and can't see where I am going > wrong. Did I need certain options to dd when I made the image to get this > to work? Help would be greatly appreciated. At a wild guess, you're running into problems with the slice table. Without knowing how you mounted it as a disk and how you created the image, it's hard to say. You might try using the appropriate sliced vn device (vn0s1, say). http://www.mired.org/home/mwm/ Independent WWW/Unix/FreeBSD consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message