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
  •  


IBM System X3850-X5 Server w/4x Intel  Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD picture

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD

$1299.99



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM

$149.99



IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon  E5620 picture

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620

$199.99



Unused IBM 09P0037 MAINBOARD For  RS/6000 7044-170 P-Series picture

Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series

$375.00



IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES

$108.92



IBM Power S824 12Bay 4U Server - 2x Power8 CPU, 512GB DDR4, MT: 8286-42A picture

IBM Power S824 12Bay 4U Server - 2x Power8 CPU, 512GB DDR4, MT: 8286-42A

$1731.00



IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER picture

IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER

$349.99



IBM SERVER SLED WITH HDD SCSI 8.8GB ,P005043441, AS IS,UNTESTED picture

IBM SERVER SLED WITH HDD SCSI 8.8GB ,P005043441, AS IS,UNTESTED

$165.00



IBM 02AN553  01LL325 IBM I/OADAPTER PCIe / PCN  Internal Server Systems Adapter picture

IBM 02AN553 01LL325 IBM I/OADAPTER PCIe / PCN Internal Server Systems Adapter

$199.99



DELL POWEREDGE HP IBM SERVER XEON GOLD 5415+ 8 CORE PROCESSOR 2.9 GHZ SRMGC  picture

DELL POWEREDGE HP IBM SERVER XEON GOLD 5415+ 8 CORE PROCESSOR 2.9 GHZ SRMGC

$1299.00