LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 11-26-2013, 06:28 AM   #1
Temmy
LQ Newbie
 
Registered: Nov 2013
Posts: 2

Rep: Reputation: Disabled
Hi pls how can I mount usb to Ubuntu Linux


Hi house, I'm Temmy, and a bit new to Linux. I'm a beginner, who really want to learn. Pls I can I mount my USB browsing stick to ubuntu?
 
Old 11-26-2013, 08:10 AM   #2
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 813

Rep: Reputation: 195Reputation: 195
In my UBUNTU, if you plug the USB to a free port, then it is `mount`ed automatically and an icon appears on the desktop.

If it doesn't work for you, then use the mount command similar to below

Quote:
/dev/sdb1 on /media/<myLabelGoesHere> type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)
One line.

/dev/sdb1 is the mount point and /media/<myLabelGoesHere> is the device identifier. Others are options. In my case, the file system type is vfat since I use this USB stick to copy files for printing in DOS/WIN.

OK

Last edited by AnanthaP; 11-26-2013 at 08:11 AM.
 
Old 11-26-2013, 08:33 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,131
Blog Entries: 2

Rep: Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833
Moved: This thread is more suitable in <Linux - Newbie> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 11-26-2013, 09:02 AM   #4
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
What format is the USB formated in? I dont think there is support by default with exFAT format flash drivers.

If it is NTFS or FAT32 then all you need to do is plug your flash drive and open the file browser on your computer the removable drive should show there.


Good luck to you!
 
Old 11-26-2013, 10:29 PM   #5
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 811

Rep: Reputation: 264Reputation: 264Reputation: 264
HOW TO DO IT FROM THE TERMINAL
I assume you know the basic commands (sudo, cd, ls, mkdir, ...)

If you want to do it from the command line, you need to know one thing. List the files in the /dev folder. You should see somewhere in there one or more files named "sda" with a number after it. This is usually you primary hard drive. The number is usually the partition number ("sda1" is partition 1, "sdb5" is partition 5). If you have a secondary hard drive installed, it is usually listed as "sdb" with a number as with the primary hard drive. The goal is to identify which file represents your flash drive.

Now we need to make a folder to mount the filesystem to. There should be a folder in the root named "media". This is where other filesystems are usually mounted to. If you open it, you should see folders such as "floppy" (if you have a floppy drive), "cdrom" (if you have a CD drive" and possibly "sdb"+number folders, if you have multiple hard drives. You want to make a new folder (if it doesn't already exist) with the same name as the "sd"+letter+number file that you identified earlier. The naming of the folder is not mandatory, but (as far as I know) it is common practice to name the folder the same as the device. To make the folder, you probably need to do it as the root, so type the following while in the /media folder:
Code:
sudo mkdir <folderName>
Now to actually mount the filesystem. Run this command:
Code:
sudo mount /dev/<drive> /media/<folderName>
where <drive> is the "sd" file you found earlier and <folderName> is the folder you created earlier.

HOW TO DO IT FROM THE GUI
***I haven't actually run Ubuntu, but I have run Lubuntu, which is a different desktop interface. I feel confident that the procedure is similar. If I'm incorrect about this, I apologize.

Open up "Disks" (under "Accessories").
On the list to the left you should see your flash drive listed. Click on it.
You should see some info about the drive, a box that visualizes the partitions of the drive, and the current mount status.
If the box with the partitions, there should only be one filesystem listed, unless you gave it multiple partitions. Click on the partition that you want, and underneath it click the little right arrow (looks like the "Play" button on a DVD player).
If prompted to, enter your password.
Underneath, it should tell you where the filesystem is mounted.


I hope that you find this information useful.
 
1 members found this post helpful.
Old 12-18-2013, 05:05 PM   #6
Temmy
LQ Newbie
 
Registered: Nov 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for all your input. it worked
 
  


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
Can't mount usb cd rom in ubuntu 8.04 xr4ti Linux - Newbie 10 01-05-2011 03:15 AM
Who has a WORKING 802.11g+ or n USB WLAN on a 64 bit Ubuntu 8.10?PLS post brand! makrophage Linux - Networking 0 02-01-2009 07:48 AM
USB mount as CD in Ubuntu 8.04 hardy AlanPo Linux - Newbie 5 08-03-2008 03:02 PM
unable to mount usb cdrom -pls help! kim_newbie Linux - General 23 06-30-2006 09:39 AM
pls pls pls help me ! i'm tired with httpd config on fedora apache 2.0.48 AngelOfTheDamn Fedora 0 01-24-2004 06:12 PM


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