Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2000 01:18:47 +0100
From:      John Russell <jr@paranoia.demon.nl>
To:        "Chris" <cje@idmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Mounting MS-DOS partition. 
Message-ID:  <200002270018.BAA23490@gazelle.bigmama.xx>
In-Reply-To: <002f01bf80a8$c3f33420$8e0b0a0a@direct.ca> 

next in thread | previous in thread | raw e-mail | index | archive | help
-----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. "

<CUT>

> 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:
> <UNUSED>
> The data for partition 2 is:
> <UNUSED>
> The data for partition 3 is:
> <UNUSED>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002270018.BAA23490>