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
  •  


8 Ports Unmanaged Industrial Ethernet Switch Network Gigabit Ethernet Switch picture

8 Ports Unmanaged Industrial Ethernet Switch Network Gigabit Ethernet Switch

$76.50



Cisco Meraki MS120-48LP 48 Port Blade Ethernet Switch UNCLAIMED picture

Cisco Meraki MS120-48LP 48 Port Blade Ethernet Switch UNCLAIMED

$799.00



HP Procurve 2824 24 Gigabit Ports 10/100/1000 External Managed Switch J4903A picture

HP Procurve 2824 24 Gigabit Ports 10/100/1000 External Managed Switch J4903A

$74.99



Cisco SG110 8 Port Gigabit Ethernet Switch SG110D-08-UK picture

Cisco SG110 8 Port Gigabit Ethernet Switch SG110D-08-UK

$39.00



HP 2530-48G 48 Port Gigabit Ethernet Network Switch J9775A picture

HP 2530-48G 48 Port Gigabit Ethernet Network Switch J9775A

$30.95



New Linksys SE3005 5-port Gigabit Ethernet Switch picture

New Linksys SE3005 5-port Gigabit Ethernet Switch

$18.99



New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub picture

New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub

$11.49



HP ProCurve 2530-24G J9776A 24 Port Gigabit Ethernet Managed Network Switch picture

HP ProCurve 2530-24G J9776A 24 Port Gigabit Ethernet Managed Network Switch

$34.99



Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord picture

Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord

$43.95



HP Aruba 2530-8G-PoE+ 8x PoE+ RJ45 2x SFP Gigabit Switch J9774A No AC Adapter picture

HP Aruba 2530-8G-PoE+ 8x PoE+ RJ45 2x SFP Gigabit Switch J9774A No AC Adapter

$37.99