Find the answer to your Linux question:
Results 1 to 5 of 5
Hello. I am trying to figure out how to transfer files between 2 computers (one is linux and the other is windows xp) via an external hard drive. I used ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2004
    Posts
    24

    Windows & Linux Filesharing


    Hello. I am trying to figure out how to transfer files between 2 computers (one is linux and the other is windows xp) via an external hard drive. I used partition magic to format and make the partitions. I made one of the partitions FAT32 because I heard it worked in Linux and Windows. The second partition I made was Linux Ext2. I also noticed that when I plug the USB external hard drive into the linux machine. Linux didnt even recognize that it was there. Thank you for your intrest in my problem.

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    First off, check /var/log/messages to see if the drive was detected and driven. If the drive in fact wasn't detected, you'll need to compile the usb-storage module in your kernel and modprobe it.

    Once you do this, the drive should be detected when it is plugged in. Then you can mount it and transfer your files.

    As far as filesystems, FAT is rwable by both windex and Linux. There is a prog for windex called explorer2fs (or summat like that) that lets you browse ext2 partitions. I'm not, however, sure about writing to them.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    Just Joined!
    Join Date
    Jul 2004
    Posts
    24
    ok, linux found the hard drive. here are the logs to make sure:

    Jul 24 13:57:07 linux kernel: Initializing USB Mass Storage driver...
    Jul 24 13:57:07 linux kernel: scsi0 : SCSI emulation for USB Mass Storage devices
    Jul 24 13:57:07 linux kernel: Vendor: Maxtor Model: 3000LE v01.00.00 Rev: 0100
    Jul 24 13:57:07 linux kernel: Type: Direct-Access ANSI SCSI revision: 02
    Jul 24 13:57:07 linux kernel: USB Mass Storage device found at 2
    Jul 24 13:57:07 linux kernel: drivers/usb/core/usb.c: registered new driver usb-storage
    Jul 24 13:57:07 linux kernel: USB Mass Storage support registered.
    Jul 24 13:57:07 linux kernel: SCSI device sda: 240119808 512-byte hdwr sectors (122941 MB)
    Jul 24 13:57:07 linux kernel: sda: assuming drive cache: write through
    Jul 24 13:57:07 linux kernel: sda:<7>ieee1394: Initialized config rom entry `ip1394'
    Jul 24 13:57:07 linux kernel: sda1 <<6>ohci1394: $Rev: 1193 $ Ben Collins <bcollins@debian.org>
    Jul 24 13:57:07 linux kernel: ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[3] MMIO=[f2800000-f28007ff] Max Packet=[2048]
    Jul 24 13:57:07 linux kernel: sda5 sda6 >
    Jul 24 13:57:07 linux kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
    Jul 24 13:57:07 linux kernel: Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
    Jul 24 13:57:07 linux kernel: drivers/usb/core/usb.c: registered new driver hiddev

    ok now you have probably figured out that I am a newb at Linux so my next question is... How do I mount it.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    Code:
    mkdir /mnt/usb
    mount -t auto -o users,rw,umask=022 /dev/sda1 /mnt/usb
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  6. #5
    Just Joined!
    Join Date
    Jul 2004
    Posts
    24
    ok it works now. thank you for your help. I have posted another thread here about getting my linux computer online.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •