From owner-freebsd-questions Sun Nov 15 18:33:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA03855 for freebsd-questions-outgoing; Sun, 15 Nov 1998 18:33:45 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from firewall.scitec.com.au (fgate.scitec.com.au [203.17.180.68]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA03850 for ; Sun, 15 Nov 1998 18:33:43 -0800 (PST) (envelope-from john.saunders@scitec.com.au) Received: by firewall.scitec.com.au; id NAA25111; Mon, 16 Nov 1998 13:33:16 +1100 (EST) Received: from mailhub.scitec.com.au(203.17.180.131) by fgate.scitec.com.au via smap (3.2) id xma025063; Mon, 16 Nov 98 13:33:00 +1100 Received: from saruman (saruman.scitec.com.au [203.17.182.108]) by mailhub.scitec.com.au (8.6.12/8.6.9) with SMTP id NAA06420; Mon, 16 Nov 1998 13:33:00 +1100 From: "John Saunders" To: "Karl Pielorz" , Subject: RE: Mounting MSDOS hardrive image file? Date: Mon, 16 Nov 1998 13:32:59 +1100 Message-ID: <003901be1109$6d577aa0$6cb611cb@saruman.scitec.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: Importance: Normal X-Mimeole: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I have a 20Mb 'image' file of an old MSDOS hard drive - is there any way I > can mount this under FreeBSD? - I have the geometry for the drive, in case > it's needed... # man vn # vnconfig /dev/vn0c old_harddisk_image # mount_msdos /dev/vn0c /mnt [use filesystem] # vnconfig -d /dev/vn0c old_harddisk_image You may have to strip off the partition table and the first few sectors to convert the file into a filesystem image rather than a hard disk image. You can usually just the first track. For example if the drive has 63 sectors per track... # dd if=disk_image of=filesys_image bs=512 skip=63 Cheers. -- . +-------------------------------------------------------+ ,--_|\ | John Saunders mailto:John.Saunders@scitec.com.au | / Oz \ | SCITEC LIMITED Phone +61294289563 Fax +61294289933 | \_,--\_/ | "By the time you make ends meet, they move the ends." | v +-------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message