Re: Access a USB drive from Linux and Windows

From: R. Hixon (erhixon_at_swbell.net)
Date: 11/13/03


Date: 13 Nov 2003 12:31:17 -0800

Dances With Crows <danSPANceswitTRAPhcrows@usa.net> wrote in message news:<slrnbr677c.3q0.danSPANceswitTRAPhcrows@samantha.crow202.dyndns.org>...
> On 12 Nov 2003 19:59:46 -0800, R. Hixon staggered into the Black Sun and
> said:
> > I want to be able to attach a USB drive to Red Hat Linux 8.3
>
> Gonna be tough, since Redhat 8.3 doesn't exist.
>
> > write files to it and then be able to take the USB drive to a Windows
> > machine and read the files.
>
> Shouldn't be a problem; USB Mass Storage devices that follow specs are
> well-supported and so are FAT32 filesystems.
>
> > I have a USB drive and I've been trying to achieve this goal without
> > success. The drive works because I have been able to access it from
> > Windows
>
> So what happens when you try to mount it under Linux?
>
> > tried formatting a 31 MB partition on partition 1 using Windows and
> > then taking it to Linux. Linux wouldn't let me mount the volume.
>
> What was the output from dmesg when you tried?
>
> > Windows wouldn't let me partition the entire drive as a FAT partition.
>
> If the space is smaller than 2G, it should be FAT16 (type 0x06), larger
> than 2G but smaller than 8G, it should be FAT32 (type 0x0b), if it's
> larger than 8G, it should be FAT32-LBA (type 0x0c). If you get the
> types wrong, 'Doze can get annoyed and randomly scribble on your data.
>
> > I tried using Linux fdisk and mkfs -t msdos /dev/sda1. That resulted
> > in error "Attempting to create a too large file system". Any ideas?
>
> mkdosfs -F32 /dev/NNN on partitions larger than 2G, since mkdosfs uses
> FAT16 by default. HTH,

Thank you. I ran fdisk on the USB drive and changed the type to 0C.
Then, I used the mkdosfs command and I'm able to use the USB drive on
both machines.



Relevant Pages

  • Re: USB Stick with Password under Linux
    ... Linux and Windows? ... the management/authentication program is windows only. ... drives above. ... The "cd-rom" mount doesn't allow you to delete anything, ...
    (Ubuntu)
  • Re: writing to FAT32
    ... [that is, w.r.t. floppies] ... Linux & Windows. ... So I finally resorted to man mount, ...
    (comp.os.linux.misc)
  • RE: MS Services for UNIX 3.5
    ... I know that there's no corrupt package because I can mount an exported ... Server included to allow access to linux clients. ... properly mapping linux and windows user accounts. ...
    (RedHat)
  • Re: Linux and drive mapping to Windows 2003 Server
    ... In Unix and in Linux, ... you can easily mount what turns out to be a 'smbfs' filesystem, ... I mount things at $EMPLOYER I have to type in my Windows password. ... my goal is to replace the DC as a File Server with a Samba Server ...
    (comp.os.linux)
  • RE: PCNFS
    ... I know that there's no corrupt package because I can mount an exported ... Server included to allow access to linux clients. ... properly mapping linux and windows user accounts. ...
    (RedHat)