Results 1 to 5 of 5

Thread: Mounting external USB drive

  1. #1
    Junior Member
    Join Date
    Mar 2007
    Posts
    2

    Mounting external USB drive

    I'm attempting to mount an external USB drive, but I'm not entirely sure how to do it. I've seen posts showing examples like,
    mount -t ntfs /dev/hda1 /mnt/windows
    but in my case /dev/hda1 is an internal hard drive. How do you know which /dev is which device? Is there a special way to mount a USB device, or do they appear as normal hard drives?

  2. #2
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    The different letters signify different types of drives/interfaces: hda1 is the first partition (1) on the first drive (a) on the IDE interface (hd). hdb2 would be a second partition on a second hard disk on the ide interface. The partition on your flash drive is likely sda1, although some people have reported other designations.

    Insert the drive before booting Knoppix. Do you see an icon for it on the desktop? There generally is and you can open the partition by clicking on the icon. This open will default to read only. For read/write access see the info in answer #6.
    ---
    Verifying of md5 checksum and burning a CD at slow speed are important.

  3. #3
    Junior Member
    Join Date
    Mar 2007
    Posts
    2
    Quote Originally Posted by Harry Kuhman
    Insert the drive before booting Knoppix. Do you see an icon for it on the desktop?
    Unfortunately, it doesn't seem to mount automatically, which is why im trying to figure out how to do it manually. I can see quite a few devices that start with "sd". sd[a-h][1-15] I tried mounting /dev/sda1, but it said "/dev/sda1 is not a valid block device." I tried /dev/sda and a few others as well, but they all say the same thing. You mentioned that it's different for some people. Any idea what else it might be?

  4. #4
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    Sorry, it's always sda1 for me, I've seen others give other designations but I don't recall what they were. I think I remember a "U" binging in at least one, but that isn't of much help. By the way, you certainly want something with a number in it, for example hda1 is the first partition on the IDE hard drive, but hda is the entire hard drive, not something that you would mount.

    I'm hoping that my response may encourage someone else who knows the answer to join in the conversation.

    And I'm assuming it's a standard flash device, not some "secure" device that has special windows-only drivers to access it. If it has special password or thumbprint security to gain access to the files you might not be able to access it with Linux.
    ---
    Verifying of md5 checksum and burning a CD at slow speed are important.

  5. #5
    Senior Member registered user
    Join Date
    Jan 2005
    Location
    UK
    Posts
    282
    If you see the message, "not a valid block device" then its either an incorrect filesystem type or bad line in your fstab.

    If its an external drive then it should be recognised as sda1, as Harry has already said, (assuming that its alreadly formatted and partitioned)
    What filesystem is on the drive? fat32 or ntfs or other?

    Start knoppix then plug in your drive and type dmesg
    here's what happens when I plug in my usb flash drive:

    USB Mass Storage support registered.
    usb-storage: device found at 3
    usb-storage: waiting for device to settle before scanning
    Vendor: Model: USB Flash Memory Rev: 1.00
    Type: Direct-Access ANSI SCSI revision : 02
    usb-storage: device scan complete
    SCSI device sda: 1001472 512-byte hdwr sectors (513 MB)
    sda: Write Protect is off
    sda: Mode Sense: 0b 00 00 08
    sda: assuming drive cache: write through
    SCSI device sda: 1001472 512-byte hdwr sectors (513 MB)
    sda: Write Protect is off
    sda: Mode Sense: 0b 00 00 08
    sda: assuming drive cache: write through
    sda: sda1
    sd 0:0:0:0: Attached scsi removable disk sda


    The drive is automatically listed and can be iewed in kde.
    It may be the wrong fs type so try
    mkdir /media/usbdrive
    mount /dev/sda1 -t auto /media/usbdrive
    as root to see if it mounts.

Similar Threads

  1. HELP! Problems mounting/writing to external HDD
    By fazzk in forum General Support
    Replies: 3
    Last Post: 01-16-2009, 10:07 AM
  2. problems mounting external drive
    By Albretch in forum Hardware & Booting
    Replies: 4
    Last Post: 07-26-2006, 06:41 AM
  3. Installing to external drive
    By Aldago in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 03-13-2005, 09:45 PM
  4. help with zip usb external drive
    By bob58 in forum Hardware & Booting
    Replies: 12
    Last Post: 12-29-2004, 11:45 PM
  5. recognising and mounting external ieee1394 DVD writer
    By ccleung in forum Hardware & Booting
    Replies: 3
    Last Post: 03-01-2004, 03:27 PM

Posting Permissions

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


Vintage Apple Disk II Analog Card 820-0007 picture

Vintage Apple Disk II Analog Card 820-0007

$50.00



Vintage Intel Pentium Pro 200 MHz 256K KB80521EX200 SL22V Socket 8 Collectible picture

Vintage Intel Pentium Pro 200 MHz 256K KB80521EX200 SL22V Socket 8 Collectible

$30.00



VINTAGE IBM Thinkpad T43 Laptop- Intel Pentium M 1.73GHz 2GB RAM 37GB HDD WIN XP picture

VINTAGE IBM Thinkpad T43 Laptop- Intel Pentium M 1.73GHz 2GB RAM 37GB HDD WIN XP

$125.00



Vintage 1980’s APPLE Computer Rainbow Logo Window Cling DECAL Unused. picture

Vintage 1980’s APPLE Computer Rainbow Logo Window Cling DECAL Unused.

$9.99



386DX Intel A80386DX-25 IV SX543 386 25Mhz vintage CPU GOLD picture

386DX Intel A80386DX-25 IV SX543 386 25Mhz vintage CPU GOLD

$13.99



VINTAGE DELL INSPIRON B130 WINDOWS XP HOME LAPTOP DVD WIRELESS Needs 2 Keys Wrks picture

VINTAGE DELL INSPIRON B130 WINDOWS XP HOME LAPTOP DVD WIRELESS Needs 2 Keys Wrks

$80.00



Vintage IBM Personal System/2 5.25-inch External Diskette Drive Adapter In Box picture

Vintage IBM Personal System/2 5.25-inch External Diskette Drive Adapter In Box

$45.99



Vintage Classic Apple Macintosh System Boot Install Disk Floppy/CD *Pick Version picture

Vintage Classic Apple Macintosh System Boot Install Disk Floppy/CD *Pick Version

$10.39



Vintage Dell Precision 410 Intel Pentium II 600 MHz 768 MB Ram I No HDD I No OS picture

Vintage Dell Precision 410 Intel Pentium II 600 MHz 768 MB Ram I No HDD I No OS

$129.99



Vintage HP Pavilion 7915 MT Intel Celeron 1.10GHz 128MB RAM 40 GB HDD Windows XP picture

Vintage HP Pavilion 7915 MT Intel Celeron 1.10GHz 128MB RAM 40 GB HDD Windows XP

$79.99