Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Oct 1999 06:31:05 +0000
From:      Adam Ford <adam@attack.fordys.net>
To:        Tom Embt <tom@embt.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Mounting an MS-DOS partition? - Tricky!
Message-ID:  <19991021063105.A5778@attack.fordys.net>
In-Reply-To: <3.0.3.32.19991020221738.00b5f958@mail.embt.com>
References:  <03f601bf1b43$bfc23d80$0307070a@shannon-s> <3.0.3.32.19991020221738.00b5f958@mail.embt.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
<UNUSED>
The data for partition 4 is:
<UNUSED>

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




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