Problems mounting my USB Harddrive in Ubuntu Breezy

Brian Craft javaman67 at acd.net
Fri Sep 9 03:27:33 BST 2005


thephotoman wrote:
> Brian Craft wrote:
> 
>> I need help.  I'm running Ubuntu Breezy Colony-4 with all updates as of
>> now.  I have a USB harddrive that I want to use, but for some reason,
>> Ubuntu will not allow me to mount it.  I had no problem in Fedora Core 4
>> and in Windows.  Below is the output of  /var/log/messages, dmesg,
>> fstab, and mount command.
>>
>> -----------------------------------------------------------------------------------------------------------------------
>>
>> This is the /var/log/messages right after I plugin the USB cable to the
>> harddrive.
>>
>>
>> Sep  8 18:52:31 localhost kernel: [4298251.577000] usb 3-1: new high
>> speed USB device using ehci_hcd and address 4
>> Sep  8 18:52:31 localhost kernel: [4298251.656000] scsi1 : SCSI
>> emulation for USB Mass Storage devices
>> Sep  8 18:52:31 localhost usb.agent[8586]:      usb-storage: already
>> loaded
>> Sep  8 18:52:36 localhost kernel: [4298256.658000]   Vendor: TOSHIBA 
>> Model: MK3021GAS         Rev: GA12
>> Sep  8 18:52:36 localhost kernel: [4298256.658000]   Type: 
>> Direct-Access                      ANSI SCSI revision: 00
>> Sep  8 18:52:36 localhost kernel: [4298256.662000] SCSI device sda:
>> 58605120 512-byte hdwr sectors (30006 MB)
>> Sep  8 18:52:36 localhost kernel: [4298256.665000] SCSI device sda:
>> 58605120 512-byte hdwr sectors (30006 MB)
>> Sep  8 18:52:37 localhost kernel: [4298256.665000]
>> /dev/scsi/host1/bus0/target0/lun0: p1
>> Sep  8 18:52:37 localhost kernel: [4298257.164000] Attached scsi disk
>> sda at scsi1, channel 0, id 0, lun 0
>> Sep  8 18:52:37 localhost scsi.agent[8649]:      sd_mod: loaded
>> sucessfully (for disk)
>>
>> ---------------------------------------------------------------------------------------------------------------
>>
>> dmesg output
>>
>>
>> [4298251.577000] usb 3-1: new high speed USB device using ehci_hcd and
>> address 4[4298251.656000] scsi1 : SCSI emulation for USB Mass Storage
>> devices
>> [4298251.658000] usb-storage: device found at 4
>> [4298251.658000] usb-storage: waiting for device to settle before
>> scanning
>> [4298256.658000]   Vendor: TOSHIBA   Model: MK3021GAS         Rev: GA12
>> [4298256.658000]   Type:   Direct-Access                      ANSI SCSI
>> revision: 00
>> [4298256.662000] SCSI device sda: 58605120 512-byte hdwr sectors
>> (30006 MB)
>> [4298256.662000] sda: assuming drive cache: write through
>> [4298256.665000] SCSI device sda: 58605120 512-byte hdwr sectors
>> (30006 MB)
>> [4298256.665000] sda: assuming drive cache: write through
>> [4298256.665000]  /dev/scsi/host1/bus0/target0/lun0: p1
>> [4298257.164000] Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
>> [4298257.167000] usb-storage: device scan complete
>>
>> ---------------------------------------------------------------------------------------------------
>>
>> My fstab file:
>>
>>
>> # /etc/fstab: static file system information.
>> #
>> # <file system> <mount point>   <type>  <options>       <dump>  <pass>
>> proc            /proc           proc    defaults        0       0
>> /dev/hda2       /               reiserfs notail          0       1
>> /dev/hda1       /media/hda1     vfat    defaults        0       0
>> /dev/hda6       /media/hda6     vfat    defaults        0       0
>> /dev/hda5       none            swap    sw              0       0
>> /dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0
>> /dev/sda    /media/usbdisk    vfat    defaults    0     0
>>
>>
>> ----------------------------------------------------------------------------------------------------------
>>
>>
>> When I try to mount from terminal window:
>>
>>
>> brian at bclaptop:~$ sudo mount -t vfat /dev/sda /media/usbdisk
>> mount: wrong fs type, bad option, bad superblock on /dev/sda,
>>        missing codepage or other error
>>        In some cases useful info is found in syslog - try
>>        dmesg | tail  or so
>>
>>
> 
> Okay, you need to use /dev/sda1 for the hard drive.  Otherwise, you're
> trying to mount a partition that doesn't exist.
> 
> Lucky you, being able to use USB 2.0 on kernel 2.6.12.  I can't.
> 
> 

Stupid me!   swore I tried using sda1 before, but now it works.  Thanks,
 thephotoman.

Brian


-- 

Brian Craft

Jabber id: javaman67 at jabber.org
Linux Counter id: 97873

Linux......the OS of Choice!









More information about the ubuntu-users mailing list