From owner-freebsd-questions Wed Oct 20 22:31:58 1999 Delivered-To: freebsd-questions@freebsd.org Received: from relay3-gui.server.ntli.net (relay3-gui.server.ntli.net [194.168.4.200]) by hub.freebsd.org (Postfix) with ESMTP id 5AE8414C43 for ; Wed, 20 Oct 1999 22:31:51 -0700 (PDT) (envelope-from adam@fordys.net) Received: from not-the-nmc.ntli.net ([212.250.12.246] helo=piggy.nmc.ntl.com) by relay3-gui.server.ntli.net with esmtp (Exim 3.03 #2) id 11eAkG-0002TX-00; Thu, 21 Oct 1999 06:26:36 +0100 Received: from [10.176.23.50] (helo=attack.fordys.net) by piggy.nmc.ntl.com with smtp (Exim 3.03 #2) id 11eAoJ-0007vT-00; Thu, 21 Oct 1999 06:30:47 +0100 Received: from adam by attack.fordys.net with local (Exim 3.03 #1) id 11eBkf-0001Vr-00; Thu, 21 Oct 1999 06:31:05 +0000 Date: Thu, 21 Oct 1999 06:31:05 +0000 From: Adam Ford To: Tom Embt Cc: freebsd-questions@freebsd.org Subject: Re: Mounting an MS-DOS partition? - Tricky! Message-ID: <19991021063105.A5778@attack.fordys.net> References: <03f601bf1b43$bfc23d80$0307070a@shannon-s> <3.0.3.32.19991020221738.00b5f958@mail.embt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <3.0.3.32.19991020221738.00b5f958@mail.embt.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Morning folks, > >>> root@attack>mount -t msdos /dev/wd0s2 /windows > >> ^^^^^^^^^^ > >>Is it really wd0s2? Windows needs to be in the first partition so > >>I'd expect it to be wd0s1. > Sorry, that's just not true. I found a quick way to check make sure I was right before I mailed this list origionally; (I am no expert on file systems as you might have guessed!) - I used /stand/sysinstall, this picked it up as /dev/wd0s2 as well, though it seg faulted every time I actually tried to mount it from within there.. > To the original poster with the problem: > does /dev/wd0s2 exist? It does indeedy. root@attack>ls -l /dev/wd0s2 brw-r----- 1 root operator 0, 0x00030002 Oct 20 06:00 /dev/wd0s2 > does /modules/msdos.ko exist? Seems to.. root@attack>ls -l /modules/msdos.ko -r-xr-xr-x 1 root wheel 53648 Sep 16 22:46 /modules/msdos.ko > what does 'fdisk wd0' output? The following.. yes, so I have small drives, dont laugh :) - its not used for big data, mainly just a walkabout comms laptop that I can use to handle mail for my domain after I've plugged it in anywhere :) ******* Working on device /dev/rwd0 ******* parameters extracted from in-core disklabel are: cylinders=525 heads=64 sectors/track=63 (4032 blks/cyl) parameters to be used for BIOS calculations are: cylinders=525 heads=64 sectors/track=63 (4032 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 63, size 1124865 (549 Meg), flag 80 (active) beg: cyl 0/ sector 1/ head 1; end: cyl 278/ sector 63/ head 63 The data for partition 2 is: sysid 14,(Primary 'big' DOS (> 32MB, LBA)) start 1124928, size 991872 (484 Meg), flag 0 beg: cyl 279/ sector 1/ head 0; end: cyl 524/ sector 63/ head 63 The data for partition 3 is: The data for partition 4 is: Does this help? Thanks for your assistance, Regards, -- Adam Ford with no .sig! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message