Re: USB external drive question



Rob Kemp wrote:
David Haggett wrote:

On Sat, 28 Jul 2007 02:15:54 +0000, Phil Latio wrote:


I typed in:
mount /dev/sda2 /mnt/sda2

But got the below:
Mount: you must specify the file system

So I tried
mount -t ext2 /dev/sda2 /mnt/sda2
mount -t ext3 /dev/sda2 /mnt/sda2
Have you tried to access the
external drive with parted to see what the partitions are called?


Or alternatively, what is the output of fdisk -l /dev/sda?

You shouldn't need to specify the filesystem type if the partitions are
formatted in a standard way. Most likely the partitions are empty, or
corrupted.

I've always had to specify the fs type for USB disks. Fedora Core 6. This was the case with an out-of-the-box USB drive, which are usually preformatted as FAT 32, and was still the case after I reformatted it as ext3. I didn't try using "-t auto".

Be aware that if you have more than one USB storage device attached, then at boot the assigned drive name can change: its related to the order in which storage devices go ready or are plugged in, not to the USB socket its connected to.

Maybe labelling the partition and using the label rather than the device name in /etc/fstab would fix the problem with auto-mounting and device name assignment. The Windows disk name is equivalent to the ext2/3 label and is accessible to Linux.


--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |
.



Relevant Pages

  • HOWTO: Using a touchpad/trackpad =and= a mouse on a laptop
    ... first I was only able to use an external USB mouse on the ... That's because I didn't know how to specify the laptop's ... to XWindows, you must now specify what you want to do with it. ... The last InputDevice statement, above, is the second bit of magic. ...
    (comp.os.linux.portable)
  • Re: connect PPPoE Broadband using USB Modem
    ... I connect my PPPoE modem through USB for which i have ... If i specify eth0 and finish the setup, ... You say you've installed modules, but you don't specify *which* modules ... What driver module does your USB modem use? ...
    (comp.os.linux.misc)
  • Re: how to use partitions once created?
    ... FROM [Investments] ... you typically specify a slice as an MDX expression when you create the ... my cube is called "Investments". ... >> - creating rolling partitions so that old partitions don't need to be ...
    (microsoft.public.sqlserver.olap)
  • Re: USB 5volt power
    ... One limit for devices that don't tell the USB controller how much ... power they need and another limit for devices that do specify their ... connection is a high-speed and the power goes down when the modem starts to ...
    (sci.electronics.repair)
  • Re: [PATCH] Wait and retry mounting root device (revised)
    ... >Maybe a simple delay somewhere in the boot sequence would suffice? ... There seems to be a disadvantage in that one must specify ... >USB block driver knows that discovery is still in progress it should wait ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)