LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 09-21-2010, 03:41 AM   #1
e.rose28@yahoo.com
LQ Newbie
 
Registered: Sep 2010
Posts: 2

Rep: Reputation: 0
usb flashdrive


hello gang -
a linux newbie needs basic help - my desktop pc is loaded with ubunto 8.04

have just purchased 2 gb usb flashdrive - never used one before in my life-:

when i click on the flashdrive icon i get ' unable to mount location'

what do i need to do to use the flashdrive

i wish to store text only

any help appreciated

cheers lizzie
 
Old 09-21-2010, 03:46 AM   #2
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,363

Rep: Reputation: 135Reputation: 135
HI rose,welcome . You have to make the USB flash drive usable. Just follow the steps:

http://thegnulinuxguy.wordpress.com/...-command-line/
 
Old 09-21-2010, 03:47 AM   #3
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,143
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Thumbs up

Code:
sudo fdisk -l
It will list usb as /dev/sdb

creat directory to mount usb

Code:
sudo mkdir /mnt/usb
Code:
sudo mount /dev/sdb1 /mnt/usb
If it auto mounts then see it using

Code:
mount
/media/****

will show mounted usb

Also see it using

Code:
 sudo df -h
 
Old 09-21-2010, 08:38 PM   #4
twum_au
LQ Newbie
 
Registered: Aug 2010
Posts: 17

Rep: Reputation: 0
I'm grateful rose asked this question because I was wanting to know how to use a USB memory stick under Linux also.
This will disgust all present but I'm ancient so I struggle with computers generally.
I have been using Ubuntu for 4 years now but have avoided COMMAND LINE because it makes my head hurt
I am NO FAN of Microsoft but instructions I saw for using a USB flashdrive under Windows use simple GUI steps that even a prehistoric nitwit such as myself could make sense of.
Can a USB flashdrive be used under Linux with GUI??
Regards,
Greg
 
Old 09-22-2010, 06:41 AM   #5
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,143
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Ya when mounted USB can be seen in File system in GUI..Just try accessing file system icon
 
Old 09-22-2010, 04:02 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 16,346

Rep: Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376
I think there is a package that you can install. Think it is called mountmanager or similar. It is a graphical way to change mount issues. I have tried it on mint and I know it came from ubuntu so you should be able to use it.
 
Old 09-22-2010, 04:19 PM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,133
Blog Entries: 2

Rep: Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836
Quote:
Originally Posted by prayag_pjs View Post
Code:
sudo fdisk -l
It will list usb as /dev/sdb
Depends on how many harddisks are in the computer, can also be sdc, sdd, sde...
 
Old 09-22-2010, 04:23 PM   #8
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,382

Rep: Reputation: 235Reputation: 235Reputation: 235
Since most USB sticks use fat16, you can just install the dosfstools package with your GUI software manager. This should allow your system to "see" the existing filesystem.

Last edited by jens; 09-22-2010 at 04:24 PM.
 
Old 09-22-2010, 06:00 PM   #9
twum_au
LQ Newbie
 
Registered: Aug 2010
Posts: 17

Rep: Reputation: 0
Thanks,
Can't find a package called mountmanager??
I already have REMOVABLE DRIVES AND MEDIA PREFERENCES but that tool does not say anything about USB flashdrives??
Synaptic package manager offers DISC MANAGEMENT "mount and unmount file systems" dunno if that would help??
Regards,
Greg
Quote:
Originally Posted by jefro View Post
I think there is a package that you can install. Think it is called mountmanager or similar. It is a graphical way to change mount issues. I have tried it on mint and I know it came from ubuntu so you should be able to use it.
 
Old 09-22-2010, 07:20 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 16,346

Rep: Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376
You may need to give your user some rights to mount usb flash drives. I don't use ubuntu so I can't exactly say where it is. Under user rights or a similar term.

Synaptic ought to have mountmanager in packages. If not then sudo apt-get install mountmanager

http://www.ubuntugeek.com/mount-mana...artitions.html

Last edited by jefro; 09-22-2010 at 07:22 PM.
 
Old 09-23-2010, 07:49 PM   #11
twum_au
LQ Newbie
 
Registered: Aug 2010
Posts: 17

Rep: Reputation: 0
Thanks Jefro that was a useful post
I did some searching and mountmanager was first offered in Ubuntu 9.04 so does that explain why it does not appear in synaptic package manager for older versions of Ubuntu??
I may need to update my OS??
My PC is old (not as old as me fortunately) and I use dialup internet so long ago I was advised to stick with what I had (Ubuntu 7.10) as it was doing all I needed.
Regards,
Greg
Quote:
Originally Posted by jefro View Post
You may need to give your user some rights to mount usb flash drives. I don't use ubuntu so I can't exactly say where it is. Under user rights or a similar term.

Synaptic ought to have mountmanager in packages. If not then sudo apt-get install mountmanager

http://www.ubuntugeek.com/mount-mana...artitions.html
 
Old 09-23-2010, 10:33 PM   #12
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,125
Blog Entries: 14

Rep: Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065
Quote:
Originally Posted by twum_au View Post
I am NO FAN of Microsoft but instructions I saw for using a USB flashdrive under Windows use simple GUI steps that even a prehistoric nitwit such as myself could make sense of.
Can a USB flashdrive be used under Linux with GUI??
Regards,
Greg
The answer depends on what version of the Linux kernel you are using.

The 2.6 series of the Linux kernel is capable of autodetecting a USB device. If you are using Gnome or KDE, a icon will display on the desktop which you can mount and open easily with the mouse. The permissions issue depends to some extent on which Linux distro you are using.

The 2.4 series of the kernel did not do this. You had to use the sort of techniques that prayag_pjs described to detect the device and add it to the fstab (File System Table) file.

If you want a blow-by-blow, I described how I did this for my Iriver podplayer in this post on my personal blog.

twum_au, I may be older than you. I started with computers when DOS 3 was the bee's knees.

Linux isn't hard. It's just different.
 
Old 09-25-2010, 02:11 AM   #13
e.rose28@yahoo.com
LQ Newbie
 
Registered: Sep 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Hi Frank,
when I inserted the USB stick I got no icon on the desktop.
I clicked Places/computer, an icon for USB Flashdrive was displayed in that window. I clicked the icon.
The message "unable to mount location" was then displayed.
I did some checking and Linux kernel 2.6 has been used in Ubuntu distros going back to at least 5.04 so I can't understand why I never got an icon on my desktop when the stick was inserted???
It seems not to be autodetecting like you say it should???
Regards,
Lizzie

Quote:
Originally Posted by frankbell View Post
The answer depends on what version of the Linux kernel you are using.

The 2.6 series of the Linux kernel is capable of autodetecting a USB device. If you are using Gnome or KDE, a icon will display on the desktop which you can mount and open easily with the mouse. The permissions issue depends to some extent on which Linux distro you are using.

The 2.4 series of the kernel did not do this. You had to use the sort of techniques that prayag_pjs described to detect the device and add it to the fstab (File System Table) file.

If you want a blow-by-blow, I described how I did this for my Iriver podplayer in this post on my personal blog.

twum_au, I may be older than you. I started with computers when DOS 3 was the bee's knees.

Linux isn't hard. It's just different.
 
  


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
usb flashdrive help l3it Red Hat 1 07-19-2009 04:16 AM
usb HD vs. usb flashdrive? fstab entry? bioe007 Linux - Hardware 11 05-07-2007 03:52 PM
USB flashdrive: no /dev Dakota Mike Slackware 4 03-22-2006 11:06 AM
still more USB flashdrive problems... Lord Zoltar Linux - Hardware 8 01-22-2005 12:38 PM
USB FlashDrive -- Again kadalz Linux - Newbie 1 10-12-2003 11:20 AM


All times are GMT -5. The time now is 02:25 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