PDA

View Full Version : [ubuntu] Mounting Unkown USB hard drive



Pethegreat
July 2nd, 2008, 11:22 PM
I am running Ubuntu 8.04 and I have a 320gb external no-name hard drive that i want to use. The light shows that the drive is working properly. I can't find the drive listed in my computer.

A generic USB drive files shows up in my /dev/disk/by-id I have a sdb listed in /dev I made a directory for sdb in /media and used the command to mount it


sudo mount /dev/sdb /media/sdb

I got a red light on the drive, and the error

mount: mount point /media/sbd does not exist


The drive enclosure does not state that is supports linux. Am I screwed?

Dr Small
July 2nd, 2008, 11:26 PM
Does this disk have anything on it? If not, you need to partition in with gParted and give it a filesystem. Then, mount the partition on it:

sudo mount /dev/sdb1 /media/sdb


Edit,
And of course, /media/sdb must exist.

sayakb
July 2nd, 2008, 11:28 PM
sudo mkdir /media/sdb
And then mount it.

Pethegreat
July 2nd, 2008, 11:56 PM
I made sure i had /media/sdb created before I tried what I did. So I was heading in the right direction.

So I am going to let it format the drive in ext3.

Now what is the best way to copy a whole drive over to the usb drive? I am upgrading to a larger drive in my laptop.

james_vanb
July 3rd, 2008, 12:05 AM
This might point you in the right direction:

http://ubuntuforums.org/showthread.php?t=599599

Found thread through K.Mandla's Tip of the Week - You might want to Bookmark - Good stuff:

http://ubuntuforums.org/showthread.php?t=655207&page=2