LinuxQuestions.org
Visit Jeremy's Blog.
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 10-30-2009, 04:32 PM   #1
atomn
LQ Newbie
 
Registered: Jan 2009
Posts: 15

Rep: Reputation: 0
Qestions regarding mounting ext USB HDD


I have a few noob questions regarding mounting. I've done some searching but the search results always deal with advanced mounting issues that are way beyond me. I don't mind reading if someone can point me in the right direction (i.e. to an article/how to).

PS - I'm running MINT 7 as a VirutalBox guest on a Vista 64-bit host. Under devices I enabled USB and the Seagate drive that I'm attempting to mount. So, the fact I'm running linux in a virtualbox might be the problem.

I read the Community Ubuntu Documentation on Mounting Manually and it said:

Run: sudo fdisk -l
"Find your device in the list, it is probably something like /dev/sdb1"

1) I ran fdisk -l to view drives. It returned
/dev/sda1 (System = Linux)
/dev/sda2 (System = Extended)
/dev/sda5 (System = SWAP)

I assume these are logical drives (partitions on the primary drive), not external drives. Right?

How am I supposed to know which drive is which? Sda1, Sda2, Sda5, etc... How do I determine if one of these drives is my external USB Hard Drive. How do I determine what these drives are?

2) I know the commands to use, but I cannot *find* my external USB hard drive anywhere.

I tried to use an app called Pysdm, but Pysdm couldn't find my USB drive either.

So, how do I find my drive? Is the problem due to using VirtualBox? How do I know which drives are which (sda1, sda2, etc.)?

Thanks in advance.
 
Old 10-30-2009, 04:39 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Hello atomn,

you'll first have to tell VirtualBox that you want to use your external device as a so called "shared device". You'll find this in the settings for your virtual machine in the vbox-menu.
Once you've configured the drive as a shared device, you should be able to find it on the Linux-guestsystem.
If you've enabled the external drive in vbox, you'll look into the /dev directory in Linux to find out if there are any other files as /dev/hda or /dev/hdb or /dev/sdb and so on. This may be your external drive.

Markus

Last edited by markush; 10-30-2009 at 04:43 PM.
 
Old 10-30-2009, 04:52 PM   #3
atomn
LQ Newbie
 
Registered: Jan 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by markush View Post
Hello atomn,

you'll first have to tell VirtualBox that you want to use your external device as a so called "shared device". You'll find this in the settings for your virtual machine in the vbox-menu.
Once you've configured the drive as a shared device, you should be able to find it on the Linux-guestsystem.
If you've enabled the external drive in vbox, you'll look into the /dev directory in Linux to find out if there are any other files as /dev/hda or /dev/hdb or /dev/sdb and so on. This may be your external drive.

Markus
First of all, BIG THANKS Markus. What you said makes perfect sense. I was so busy trying to figure it out in Linux that I kind of forgot about VirtualBox. I didn't realize I had to shared drives. I thought that I could just 'enable' them.

One more question. How will I know which drive is my USB HDD? Will it show up as a directory? /dev/hdb/... ? Is there a way to view the contents, or view the characteristics of the drive?

I will give your suggestion a try and get back to you. Thanks!
 
Old 10-30-2009, 04:57 PM   #4
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Hello,

you may execute the following commands:
Code:
ls /dev/hd*
and
ls /dev/sd*
and if your not sure please poste the output here.

Markus
 
  


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
ext. usb HDD mounts read only for non root accounts logname Linux - Hardware 14 02-27-2006 05:17 PM
ext hdd mounting read/write issue Jestrik Linux - Hardware 1 06-12-2004 09:46 AM
Mounting Ext. Hard Drive through USB 2+PCMCIA CondorPasa Linux - Hardware 1 03-11-2004 07:49 AM
Unable to edit fstab... problems with ext. usb hdd removal gardyloo Linux - Newbie 1 12-27-2003 07:35 PM
Toshiba boot problems - USB ext HDD - new install wtriver Linux - Newbie 5 11-02-2003 05:38 PM


All times are GMT -5. The time now is 03:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration