LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-30-2005, 10:23 PM   #1
vash331
LQ Newbie
 
Registered: Dec 2005
Posts: 7

Rep: Reputation: 0
cannot mount external hard drive


I am unable to mount an external hard drive. I have tried dmesg | grep usb, tail /var/log/messages, mounting /dev/sda1 and whole lot of stuff, but I cannot seem to locate where it is in /dev. Anyway, here is the output of the commands I mentioned, becuase I am pretty sure they do not contain the assignment of the drive, but I am not positive.

dmesg | grep usb
Code:
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usb 2-1: new low speed USB device using uhci_hcd and address 2
usbcore: registered new driver usb-storage
input: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:1d.0-1
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new driver touchkitusb
usb 1-3: new high speed USB device using ehci_hcd and address 3
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete

dmesg | grep hd
Code:
Kernel command line: root=/dev/hda3
    ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdc:pio, hdd:pio
hda: TOSHIBA MK6025GAS, ATA DISK drive
hdc: UJDA755 DVD/CDRW, ATAPI CD/DVD-ROM drive
hda: max request size: 128KiB
hda: 117210240 sectors (60011 MB), CHS=65535/16/63, UDMA(100)
hda: cache flushes supported
 hda: hda1 hda2 hda3
hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
ReiserFS: hda3: found reiserfs format "3.6" with standard journal
ReiserFS: hda3: using ordered data mode
ReiserFS: hda3: journal params: device hda3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda3: checking transaction log (hda3)
ReiserFS: hda3: Using r5 hash to sort names
Adding 1953496k swap on /dev/hda2.  Priority:-1 extents:1 across:1953496k
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex

dmesg | grep sd
Code:
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).

tail /var/log/messages
Code:
Dec 30 19:27:49 forest usb 1-3: new high speed USB device using ehci_hcd and address 3
Dec 30 19:27:50 forest scsi0 : SCSI emulation for USB Mass Storage devices
Dec 30 19:27:50 forest usb-storage: device found at 3
Dec 30 19:27:50 forest usb-storage: waiting for device to settle before scanning
Dec 30 19:27:55 forest Vendor: FUJITSU   Model: MHT2080AT         Rev: 0022
Dec 30 19:27:55 forest Type:   Direct-Access                      ANSI SCSI revision: 00
Dec 30 19:27:55 forest usb-storage: device scan complete
Dec 30 19:27:55 forest scsi.agent[4868]: disk at /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:2.0/host0/target0:0:0/0:0:0:0

mount /dev/sda1 /mnt/usbmount
Code:
/dev/sda1 is not a valid block device

Anyway, I would really really appreciate any help.

PS: Every time I mount it, /var/log/messages seems to increase the number the device is found at (in the case above it is 3) and I have no clue what it means or whether or not that info would help anyone.
 
Old 12-31-2005, 07:19 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
What distro?
USB drive?
Formatted?

Most distros automatically detect a new usb device and mount it somewhere (eg /media)

can you see it with fdisk? type "fdisk /dev/sda" (or maybe sdb, sdc, depending on your setup.) If fdisk finds it, then type "p" to see the partitions.

mount /dev/sda1 <somewhere> does not work if the drive is not yet partitioned.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to mount external USB hard drive? zyzyis Linux - Newbie 6 02-01-2006 09:37 PM
Can't mount external hard drive...HELP! Stevetgn Linux - Hardware 4 10-18-2005 07:38 PM
how to mount a external hard drive in ext3 format? kuertensun Linux - Newbie 12 09-06-2005 06:51 PM
can't mount fs on external hard drive fatblueduck Linux - General 11 06-10-2005 03:03 PM
external hard drive mount omarbohsali Linux - Newbie 4 04-27-2005 09:24 PM


All times are GMT -5. The time now is 10:17 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration