LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-23-2010, 06:19 AM   #1
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Rep: Reputation: 30
newbie: unable to mount external HD manually


Hi, I have a Seagate Barracuda 7200.10 (IDE) hard drive that was used in winxp as a secondary disk.

When I tried to connect it to my Ubuntu laptop via usb cable, it doesn't recognize on its' own.

Then I figured I might have to mount it manually, and run into a following problem:
Code:
root@tux:/media# mount -t ntfs /dev/sdb usb
Failed to read bootsector (size=0)
Failed to mount '/dev/sdb': Invalid argument
The device '/dev/sdb' doesn't have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?
I know this for fact is NTFS drive (cause i formatted it), but for the sake of testing, I'm gonna try vfat...
Code:
root@tux:/media# mount -t vfat /dev/sdb usb
mount: /dev/sdb: can't read superblock
I put the disk back to winxp, and looks like it is functioning... so maybe I was missing something?

check dmesg...
Code:
root@tux:/media# dmesg |tail
[   71.790146] USB Mass Storage support registered.
[   71.790372] usb-storage: device found at 2
[   71.790375] usb-storage: waiting for device to settle before scanning
[  195.375132] usb-storage: device scan complete
[  195.376120] scsi 2:0:0:0: Direct-Access     USB TO I DE/SATA Device   0041 PQ: 0 ANSI: 0
[  195.387108] sd 2:0:0:0: [sdb] Attached SCSI disk
[  195.387208] sd 2:0:0:0: Attached scsi generic sg2 type 0
[   83.362204] FAT: unable to read boot sector
[  234.538559] FAT: Unrecognized mount option "nolock" or missing value
[  292.838181] FAT: unable to read boot sector
ok..it doesn't like FAT for some reason?? and interesting thing was... sdb doesn't even show up in fdisk...
Code:
root@tux:/media# fdisk -l

Disk /dev/sda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x036f960c

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        4659    37423386   83  Linux
/dev/sda2            4660        4864     1646662+   5  Extended
/dev/sda5            4660        4864     1646631   82  Linux swap / Solaris
root@tux:/media# fdisk -l /dev/sdb
root@tux:/media#
Since the drive is working, I must be missing something silly.

Thank you
 
Old 03-23-2010, 06:31 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Did you try
Code:
mount -t ntfs /dev/sdb1 usb
What does lsusb say when it's plugged in ?
 
Old 03-23-2010, 06:32 AM   #3
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
? posted twice with one click - that's power for ya !
 
Old 03-23-2010, 08:42 AM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Any chance that the disk is using GPT?
http://en.wikipedia.org/wiki/GUID_Partition_Table
Slackware did not have GPT support compiled into the kernel by default, at least until recently. CONFIG_EFI is now set in the 2.6.33 kernel in Slackware-current.
 
Old 03-23-2010, 07:02 PM   #5
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Original Poster
Rep: Reputation: 30
aaahh after a long battle, I finally get it to work. It was extremely silly... I had to set the jumper to "master" instead of "slave" in order to get the usb to read :P
 
Old 03-23-2010, 07:26 PM   #6
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Is this post solved now then ?
 
  


Reply



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
[SOLVED] Unable to mount external drive lunardragon Linux - Newbie 6 11-24-2009 10:26 PM
Unable to mount usb device manually randomx Debian 3 07-18-2009 02:36 PM
Mayday! How do I manually mount my encrypted ext3 external usb disk? simonsharry Linux - Newbie 11 02-15-2009 04:49 AM
How do I manually mount a FAT32 external drive in Kubuntu 7.0.0? higleyg Linux - Newbie 1 05-26-2008 05:37 PM
unable to mount external dvd bamsesbilledbog Linux - Newbie 10 11-28-2005 02:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:12 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration