LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 03-01-2011, 12:17 PM   #16
zWaR
Member
 
Registered: Dec 2003
Distribution: Slackware, Alpine Linux, Ubuntu, Debian
Posts: 219

Rep: Reputation: 35

Take a look at this post: http://www.linuxquestions.org/questi...1/#post4275378

It's about mounting windows drives, but it perfectly applies to your usb drive too.
 
Old 03-02-2011, 09:23 AM   #17
N4ANE
LQ Newbie
 
Registered: Feb 2011
Posts: 24

Original Poster
Rep: Reputation: 0
Ok so it should look like this then right?


sudo [command]mount /dev/sdX /media/mountpoint
 
Old 03-02-2011, 11:19 AM   #18
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Sort of...

You need to know the device number (/dev/sd?). You can find the device number by doing this command first:

Code:
$ sudo fdisk -l
That will give you an output that lists all the partitions of all the drives and removable storage devices you have installed on your system at that time. Look for your USB drive in the list. It will look something like this:

Quote:
Disk /dev/sdd: 2013 MB, 2013265920 bytes
196 heads, 15 sectors/track, 1337 cylinders
Units = cylinders of 2940 * 512 = 1505280 bytes
Disk identifier: 0xc3072e18

Device Boot Start End Blocks Id System
/dev/sdd1 1 1338 1966079+ e W95 FAT16 (LBA)
Mine above is /dev/sdd1. Yours may be different. Anyway, once you know the device number you can run the command that you were trying to use above:

Code:
 $ sudo mount /dev/sd<?> /media/<mount point>
The items within the < > need to be filled with your specific information. For instance, your device number for the flash drive may be /dev/sdd1, so where you see the <?> above, replace it with d1 (leave off the < >). And where you see <mount point> that needs to be replaced with the directory that you're mounting the device in. You'll need to create that directory, if you haven't already.

Code:
 $ sudo mkdir /media/usb
The above is an example. It will create a directory (folder) within the /media directory called "usb", where you can mount your USB device.

So finally, say your device number is /dev/sdd1 (Remember, this is an example. You have to determine your actual device number by using fdisk) and the directory you're mounting it in is /media/usb, then the command would be:

Code:
$ sudo mount /dev/sdd1 /media/usb
That's it. The device will now be accessible to you from within your regular file manager... nautilus, dolfphin, thunar, etc. whichever one you're using on your Linux installation.

Hope that helped...

~Eric
 
Old 03-16-2011, 11:41 AM   #19
N4ANE
LQ Newbie
 
Registered: Feb 2011
Posts: 24

Original Poster
Rep: Reputation: 0
Ok I tried all of that and it says something like directory not found
 
Old 03-16-2011, 12:20 PM   #20
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Did you follow all the steps? Did you actually create the /media/usb directory as shown? Look in /media and see if there is a directory there called "usb". If not, then you didn't create it.
 
  


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
Hi, I am a nub! m0nty55 LinuxQuestions.org Member Intro 4 02-28-2011 09:28 PM
USB Flash Drive, write protect, and flash file system questions storkus Linux - Hardware 4 12-01-2008 04:32 AM
linux on flash drive, is this possible and flash writes, where?? lizzie_jianne Linux - General 1 01-04-2007 12:12 PM
LXer: EDGE Tech Corp Announces Portable Flash Drive With Muscle - the New 8GB DiskGO!(TM) Now Available; Swap and Go With This Secure Thumb-Sized Flash Drive LXer Syndicated Linux News 0 12-14-2005 02:16 AM
Lost nub ... Sound Card, CD-Drive and Bootdisk. SteveRyherd Slackware 2 04-07-2004 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 02:20 AM.

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