Re: Can't mount my fat32 partition

2002-09-20 Thread twig les

Yes, I'm running 2000 and the first partition is NTFS.
 Yes, I made a seperate fat32 partition and yes, I did
not do a MAKEDEV for ad0s5.

As soon as I did that I was able to mount the drive. 
Thank you for the quick and accurate help...off to rip
Blade 2!!!

--- Matt Smith <[EMAIL PROTECTED]> wrote:
> 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  SubtypeFlags
> > 
> >  0  0 62-  6  
>  
> > unused0
> > 63   29966136829ad0s1  1
> > NTFS/HPFS/QNX7
> >6136830   5498   17398394ad0s2  3  
> 
> > freebsd  165C
> >   17398395   3012   23567354ad0s3  4  
> > extended   15
> >   23567355  5   23579135-  6  
>  
> > unused0
> > 
> > 
> > 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 
>   
> > [EMAIL PROTECTED]:/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 [EMAIL PROTECTED]
> > with "unsubscribe freebsd-questions" in the body
> of the message
> > 
> 
> 


=
---
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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Can't mount my fat32 partition

2002-09-20 Thread Matt Smith

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  SubtypeFlags
> 
>  0  0 62-  6
> unused0
> 63   29966136829ad0s1  1
> NTFS/HPFS/QNX7
>6136830   5498   17398394ad0s2  3   
> freebsd  165C
>   17398395   3012   23567354ad0s3  4  
> extended   15
>   23567355  5   23579135-  6
> unused0
> 
> 
> 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
> [EMAIL PROTECTED]:/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 [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Can't mount my fat32 partition

2002-09-20 Thread twig les

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  SubtypeFlags

 0  0 62-  6
unused0
63   29966136829ad0s1  1
NTFS/HPFS/QNX7
   6136830   5498   17398394ad0s2  3   
freebsd  165C
  17398395   3012   23567354ad0s3  4  
extended   15
  23567355  5   23579135-  6
unused0


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
[EMAIL PROTECTED]:/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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message