Skip site navigation (1)Skip section navigation (2)
Date:      20 Sep 2002 14:04:51 -0400
From:      Matt Smith <matt@forsetti.com>
To:        twig les <twigles@YAHOO.COM>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Can't mount my fat32 partition
Message-ID:  <1032545091.286.7.camel@localhost>
In-Reply-To: <20020920175717.90186.qmail@web10105.mail.yahoo.com>
References:  <20020920175717.90186.qmail@web10105.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Are you running Windows 2000?  It looks like you have an NTFS partition
on ads02, which would probably be your C: drive in Windows.  Is that
what you are trying to mount?  If so, you really need:
mount -tntfs /dev/ad0s2 /mnt
which will mount that drive read-only (NTFS is not writable yet, AFAIK)

OR did you create a different FAT32 partition?  If you created your own
separate FAT32 partition, did you create a logical partition, IN the
extended partition?  if so, try:

cd /dev
sh MAKEDEV ad0s5
mount_msdos /dev/ad0s5 /mnt

Hope that helps,
-Matt


On Fri, 2002-09-20 at 13:57, twig les wrote:
> Hey all, for some reason I'm having a lot of trouble
> mounting a fat 32 partition, even though the book I
> have and the web site I found both said that it's a
> snap.  The man page didn't help and a google search
> didn't either so here goes.
> 
> I keep getting an invalid argument response when I try
> to mount my windoze partition (as root):
> 
> L# mount_msdos /dev/ad0s3 /mnt
> mount_msdos: /dev/ad0s3: Invalid argument
> 
> Here is my hard drive according to fdisk:
> 
> Disk name:      ad0                                   
> FDISK Partition Editor
> DISK Geometry:  1467 cyls/255 heads/63 sectors =
> 23567355 sectors (11507MB)
> 
> Offset       Size(MB)        End     Name  PType      
> Desc  Subtype    Flags
> 
>          0          0         62        -      6    
> unused        0
>         63       2996    6136829    ad0s1      1
> NTFS/HPFS/QNX        7
>    6136830       5498   17398394    ad0s2      3   
> freebsd      165    C
>   17398395       3012   23567354    ad0s3      4  
> extended       15
>   23567355          5   23579135        -      6    
> unused        0    
> 
> 
> And here is my OS:
> 
> L# uname -a
> FreeBSD L.liza.com 4.6.2-RELEASE-p2 FreeBSD
> 4.6.2-RELEASE-p2 #0: Mon Sep 16 13:41:26 PDT 2002    
> root@L.liza.com:/usr/obj/usr/src/sys/FW.safe  i386
> 
> 
> As you can see, fdisk (and partition magic 5.0) thinks
> that the fat32 partition is extended, but it is
> numbered as 3, when extended partitions are supposed
> to start at 5 (so I've read).  Well ad0s5 doesn't
> exist and ad0s3 is clearly the 3gig fat32 I just
> formatted.  Please help a poor confused soul.
> 
> =====
> -----------------------------------------------------------
> Heavy metal made me do it.                        
> -----------------------------------------------------------
> 
> __________________________________________________
> Do you Yahoo!?
> New DSL Internet Access from SBC & Yahoo!
> http://sbc.yahoo.com
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 



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?1032545091.286.7.camel>