MEPIS Community Forum

A Linux operating system based on Debian Stable
View unanswered posts | View unsolved topics | View active topics |



Reply to topic  [ 42 posts ]  Go to page 1, 2, 3, 4, 5  Next
Need help mounting external hard drive 
Author Message
Forum Regular
Forum Regular
User avatar

Joined: Mon Sep 13, 2010 11:18 am
Posts: 215
Has thanked: 88 times
Have thanks: 13 times
Post # 259619
 Need help mounting external hard drive
Hello everyone,

I've been reading wikis and googling a lot, but for some reason I can't get to mount my external hard drive. I'm using Mepis 8.5 and I have a Cirago USB 2.0 High Speed hard drive.

When I conect the drive to my laptop, the light on the drive goes on, which makes me suppose that, at least, there is a working connection.

In dolphin there is no drive listed in the bar at the left of the screen, so I went to terminal to see what is mounted. Here's the output:
Code:
[root@Inspiron1525 Hernan]# fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        9465    76027612   83  Linux
/dev/sda2            9466        9729     2120580   82  Linux swap / Solaris


My main hard drive is 80 Gb, so I guess sda is my hard drive and sda1 and sda2 are its partitions... This would mean that my computer is not recognizing the external hard drive at all.

Earlier, I thought maybe sda1 was the external harddrive, so I mounted it to /mnt/cirago. When I went there using dolphin as root I realized I had mounted my own hardrive, since my home directory and everything was there...

So... I'm stuck here. Any help is much appreciated. :)

_________________
Image


Mon Jan 24, 2011 7:34 am
Profile
Forum Regular
Forum Regular

Joined: Fri Jul 14, 2006 6:09 pm
Posts: 799
Has thanked: 21 times
Have thanks: 67 times
Post # 259624
Post Re: Need help mounting external hard drive
So I'm guessing the device notifyer does not pop up and give you choices on what to do.


Mon Jan 24, 2011 9:52 am
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 1:42 am
Posts: 4588
Has thanked: 491 times
Have thanks: 640 times
Post # 259626
Post Re: Need help mounting external hard drive
Run:
Code:
tail -f /var/log/messages

Then insert the drive and see what messages you get. My guess is that it should appear as /dev/sdb1 or /dev/sdb (to exit from message listing you can press CTRL-C)

Once you know the name of your drive you can make a mount folder for it (let's say /media/flashdrive) and add an entry to /etc/fstab like this:
/dev/sdb1 /media/flashdrive auto users 0 0

This like should be put in the static part of the fstab file.


Mon Jan 24, 2011 10:24 am
Profile
Forum Regular
Forum Regular
User avatar

Joined: Mon Sep 13, 2010 11:18 am
Posts: 215
Has thanked: 88 times
Have thanks: 13 times
Post # 259680
Post Re: Need help mounting external hard drive
fbt wrote:
So I'm guessing the device notifyer does not pop up and give you choices on what to do.


Yes, you are guessing right.

Adrian wrote:
Run:
Code:
tail -f /var/log/messages

Then insert the drive and see what messages you get. My guess is that it should appear as /dev/sdb1 or /dev/sdb (to exit from message listing you can press CTRL-C)

Once you know the name of your drive you can make a mount folder for it (let's say /media/flashdrive) and add an entry to /etc/fstab like this:
/dev/sdb1 /media/flashdrive auto users 0 0

This like should be put in the static part of the fstab file.


This seems like bad news :(
This is the output without pluggin in the drive:
Quote:
[root@Inspiron1525 Hernan]# tail -f /var/log/messages
Jan 24 17:35:27 Inspiron1525 kernel: pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Jan 24 17:35:27 Inspiron1525 kernel: acpi device:2f: registered as cooling_device2
Jan 24 17:35:27 Inspiron1525 kernel: input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/LNXVIDEO:00/input/input15
Jan 24 17:35:27 Inspiron1525 kernel: ACPI: Video Device [VID] (multi-head: yes rom: no post: no)
Jan 24 17:35:27 Inspiron1525 kernel: ACPI Warning for \_SB_.PCI0.VID2._DOD: Return Package has no elements (empty) (20090903/nspredef-433)
Jan 24 17:35:27 Inspiron1525 kernel: input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/LNXVIDEO:01/input/input16
Jan 24 17:35:27 Inspiron1525 kernel: ACPI: Video Device [VID2] (multi-head: yes rom: no post: no)
Jan 24 17:35:27 Inspiron1525 kernel: [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
Jan 24 17:35:45 Inspiron1525 kernel: Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Jan 24 17:35:55 Inspiron1525 kernel: CPUFREQ: Per core ondemand sysfs interface is deprecated - up_threshold


And this is the output a few minutes after having plugged in the drive:
Code:
[root@Inspiron1525 Hernan]# tail -f /var/log/messages
Jan 24 17:35:27 Inspiron1525 kernel: pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Jan 24 17:35:27 Inspiron1525 kernel: acpi device:2f: registered as cooling_device2
Jan 24 17:35:27 Inspiron1525 kernel: input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/LNXVIDEO:00/input/input15
Jan 24 17:35:27 Inspiron1525 kernel: ACPI: Video Device [VID] (multi-head: yes  rom: no  post: no)
Jan 24 17:35:27 Inspiron1525 kernel: ACPI Warning for \_SB_.PCI0.VID2._DOD: Return Package has no elements (empty) (20090903/nspredef-433)
Jan 24 17:35:27 Inspiron1525 kernel: input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/LNXVIDEO:01/input/input16
Jan 24 17:35:27 Inspiron1525 kernel: ACPI: Video Device [VID2] (multi-head: yes  rom: no  post: no)
Jan 24 17:35:27 Inspiron1525 kernel: [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
Jan 24 17:35:45 Inspiron1525 kernel: Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Jan 24 17:35:55 Inspiron1525 kernel: CPUFREQ: Per core ondemand sysfs interface is deprecated - up_threshold


As I see, the two are equal. Does this mean that the drive is not being recognized by the computer?

Thanks for the replies and and advices

_________________
Image


Mon Jan 24, 2011 4:55 pm
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 1:42 am
Posts: 4588
Has thanked: 491 times
Have thanks: 640 times
Post # 259681
Post Re: Need help mounting external hard drive
It might mean that your USB port is dead, usually you see something there even if the device is not recognized. Try another USB port...

Does the USB driver need power? Some of them come with 2 USB cables because they cannot draw enough power from one connection.


Mon Jan 24, 2011 5:00 pm

Adrian thanked by: radissthor
Profile
Forum Regular
Forum Regular
User avatar

Joined: Mon Sep 13, 2010 11:18 am
Posts: 215
Has thanked: 88 times
Have thanks: 13 times
Post # 259683
Post Re: Need help mounting external hard drive
Adrian wrote:
It might mean that your USB port is dead, usually you see something there even if the device is not recognized. Try another USB port...

Does the USB driver need power? Some of them come with 2 USB cables because they cannot draw enough power from one connection.


I have tried on two usb ports which I know are functioning and nothing happens. What you mention about the two cables could be right though, since I had lost the original cable and now I'm using a different one with only one cable. What's curious is that a light in the hard drive goes on when it is plugged to the laptop, which means there is at least a working connection.

Thanks for the tips :)

_________________
Image


Mon Jan 24, 2011 5:21 pm
Profile
Forum Regular
Forum Regular

Joined: Fri Jul 14, 2006 6:09 pm
Posts: 799
Has thanked: 21 times
Have thanks: 67 times
Post # 259709
Post Re: Need help mounting external hard drive
a couple of things to try
1. Try the drive on another computer.
2. Get to the command line and plug the drive in, if it is recognized you should see the name.
This actually may be the same as looking /var/log/messages

If it is recognized then we can try and mount it from the command line by using the mount command


Mon Jan 24, 2011 9:14 pm
Profile
Forum Regular
Forum Regular
User avatar

Joined: Mon Sep 13, 2010 11:18 am
Posts: 215
Has thanked: 88 times
Have thanks: 13 times
Post # 259951
Post Re: Need help mounting external hard drive
Sorry it took me so long to reply.

I got hold of a two-headed cable and connected the drive to the laptop. Nothing happened. The pop-up window you see with usb drives doesn't show up, and if I click on dolphin I don't see the drive on the 'places' bar.

regarding the command, this is the output whith the two-headed wire connected:
Code:
[root@Inspiron1525 Hernan]# tail -f /var/log/messages
Jan 26 23:33:23 Inspiron1525 kernel: usb 1-1: reset high speed USB device using ehci_hcd and address 2
Jan 26 23:33:23 Inspiron1525 kernel: Restarting tasks ... done.
Jan 26 23:33:24 Inspiron1525 kernel: wl 0000:0b:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
Jan 26 23:33:24 Inspiron1525 kernel: eth1: Broadcom BCM4315 802.11 Hybrid Wireless Controller 5.60.48.36
Jan 26 23:33:24 Inspiron1525 kernel: sky2 eth0: enabling interface
Jan 26 23:33:24 Inspiron1525 kernel: ADDRCONF(NETDEV_UP): eth0: link is not ready
Jan 26 23:48:16 Inspiron1525 kernel: usb 6-2: new full speed USB device using uhci_hcd and address 2
Jan 26 23:48:16 Inspiron1525 kernel: usb 6-2: new full speed USB device using uhci_hcd and address 3
Jan 26 23:48:17 Inspiron1525 kernel: usb 6-2: new full speed USB device using uhci_hcd and address 4
Jan 26 23:48:18 Inspiron1525 kernel: usb 6-2: new full speed USB device using uhci_hcd and address 5


The first line:
Code:
Jan 26 23:33:23 Inspiron1525 kernel: usb 1-1: reset high speed USB device using ehci_hcd and address 2

seems interesting. Do you guys think that might be the external hard drive?

Thanks for and answers.

_________________
Image


Wed Jan 26, 2011 10:54 pm
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 5:54 am
Posts: 10948
Location: Tulsa, Oklahoma U.S.A.
Has thanked: 3703 times
Have thanks: 889 times
Post # 259956
Post Re: Need help mounting external hard drive
That looks like it from here. With it connected on a boot post the etc/fstab here.

_________________
Yes, even I am dishonest. Not in many ways, but in some. Forty-one, I think it is.
--Mark Twain


Thu Jan 27, 2011 12:16 am
Profile
Forum Regular
Forum Regular
User avatar

Joined: Mon Sep 13, 2010 11:18 am
Posts: 215
Has thanked: 88 times
Have thanks: 13 times
Post # 259986
Post Re: Need help mounting external hard drive
Thanks for the tip. Here's the output I got using cat:

Code:
# Pluggable devices are handled by uDev, they are not in fstab
/dev/sda1 / ext3 defaults,noatime 1 1
/dev/sda2 swap swap sw,pri=1 0 0
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0622 0 0
# Dynamic entries below
/dev/cdrom /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/hda /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0


Is /dev/hda my hard drive?

_________________
Image


Thu Jan 27, 2011 10:24 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 42 posts ]  Go to page 1, 2, 3, 4, 5  Next

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.