From owner-freebsd-questions Sat Feb 26 16:21:29 2000 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id E26BC37B5C2 for ; Sat, 26 Feb 2000 16:21:16 -0800 (PST) (envelope-from jr@paranoia.demon.nl) Received: from [212.238.106.171] (helo=pig.bigmama.xx) by post.mail.nl.demon.net with smtp (Exim 2.12 #1) id 12OrSU-000Fcu-00; Sun, 27 Feb 2000 00:21:15 +0000 Received: from gazelle.bigmama.xx (gazelle.bigmama.xx [192.168.118.2]) by pig.bigmama.xx (8.9.3/8.8.8) with ESMTP id BAA23012; Sun, 27 Feb 2000 01:20:04 +0100 Received: from gazelle.bigmama.xx (localhost [127.0.0.1]) by gazelle.bigmama.xx (8.9.3/8.8.8) with ESMTP id BAA23490; Sun, 27 Feb 2000 01:18:47 +0100 (CET) Message-Id: <200002270018.BAA23490@gazelle.bigmama.xx> X-Mailer: Shotgun To: "Chris" Cc: freebsd-questions@freebsd.org Subject: Re: Mounting MS-DOS partition. In-Reply-To: <002f01bf80a8$c3f33420$8e0b0a0a@direct.ca> X-Comment: Original message from "Chris" dated Sat, 26 Feb 2000 14:28:11 -0800. X-Image-Url: http://www.paranoia.demon.nl/jrsm.gif X-Pgp-Key: http://keys.pgp.com:11371/pks/lookup?op=get&search=0x9EF951A5 X-Url: http://www.paranoia.demon.nl Date: Sun, 27 Feb 2000 01:18:47 +0100 From: John Russell Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: MD5 Content-Type: text/plain; charset=us-ascii On Sat, 26 Feb 2000 14:28:11 -0800 "Chris" wrote the following about "Mounting MS-DOS partition. " > I got the following error > in sysinstall (when I have it look for packages on that disk) and when I try > to manually mount it. > > root@freebsd /mnt>mount_msdos /dev/wd0s1 wd0s1 > mount_msdos: /dev/wd0s1: Invalid argument Does the directory /mnt/wd0s1 exist? The mount command needs the name of an existing directory you want to mount the filesystem to as the second parameter. I would guess that in your case you need to first cd / then type "mount_msdos /dev/wd0s1 /mnt" or if you really want to use the /mnt/wd0s1 directory, ensure it exists. > (I tried mount -t dos /dev/wd0s1 wd0s1 as well) should be mount -t msdos /dev/wd0s1 wd0s1 (if wd0s1 exists in your current working directory.) > > root@freebsd /mnt>fdisk /dev/wd0s1 > ******* Working on device /dev/wd0s1 ******* > parameters extracted from in-core disklabel are: > cylinders=985 heads=16 sectors/track=52 (832 blks/cyl) > > parameters to be used for BIOS calculations are: > cylinders=985 heads=16 sectors/track=52 (832 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: > > The data for partition 2 is: > > The data for partition 3 is: > > The data for partition 4 is: > sysid 165,(FreeBSD/NetBSD/386BSD) > start 0, size 50000 (24 Meg), flag 80 (active) > beg: cyl 0/ sector 1/ head 0; > end: cyl 1023/ sector 63/ head 255 > Regards, John -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.1 (FreeBSD) Comment: Public key available from key server. iD8DBQE4uG1nxywzC575UaURAZVBAJ4peQczrCHwUcIcfSIrMigXxruzGQCg2ZhN hsk5OmJg20rhTE/Z1Bkz1Oc= =ivMi -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message