LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-08-2011, 03:54 PM   #16
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649

Box opens for me to make changes.
Are you using touchpad or mouse click on box, I ask because on my laptop sometimes the touchpad doesn't push buttons.

Last edited by EDDY1; 08-08-2011 at 04:07 PM.
 
Old 08-08-2011, 08:41 PM   #17
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,311
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
What kind of file system does the device have?

Try running fdisk -l from a terminal with the device plugged in and post the output. You likely will have to do this with root privileges.
 
Old 08-08-2011, 10:11 PM   #18
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
On mine, the U3 doesn't show in fdisk -l, but the storage does as Fat32. U3 is a dos executable, that's the part I was letting the OP know doesn't work in linux. If they want to play around they probably can try wine, but the fat partition is useable on linux.
 
Old 08-09-2011, 01:18 AM   #19
feldon0606
LQ Newbie
 
Registered: Aug 2011
Posts: 14

Original Poster
Rep: Reputation: Disabled
It's FAT32 SanDisk. I did try to open it through wine but failed anyways.
The output from fdisk -l is:
Disk devsdb: 16.0GB, 16008609792 bytes
255 heads, 63 sectors/track, 1946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optional): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device boot
/dev/sdb1

Start
1

End
19947

Blocks
15633392

Id
c

System
W95 FAT32 (LBA)

Sorry i can't just copy and paste because it's my laptop that i am having trouble with and internet on it isn't working either ha.
 
Old 08-09-2011, 03:20 AM   #20
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Does your system have disk utility?
You can mount from there, it'll ask for root password.
The fat portion is storage & you wouldn't need wine foraccess.
U3 is windows dos executable.

Last edited by EDDY1; 08-09-2011 at 03:23 AM.
 
Old 08-09-2011, 04:13 PM   #21
feldon0606
LQ Newbie
 
Registered: Aug 2011
Posts: 14

Original Poster
Rep: Reputation: Disabled
No i do not have a disk utility that i know of. I will try messing around with one and get back to you. Thanks for the suggestion bro.
 
Old 08-09-2011, 04:28 PM   #22
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
You should also be able to see that drive in your file manager
listed as U3 & usb0
 
Old 08-09-2011, 04:28 PM   #23
feldon0606
LQ Newbie
 
Registered: Aug 2011
Posts: 14

Original Poster
Rep: Reputation: Disabled
Maybe i just should try mounting the usb drive using the command line? Could you please walk me through it?
 
Old 08-09-2011, 04:39 PM   #24
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Okay. So i plug it in and open up Thunar and it's on the list on my right hand side. Right below "Network". Then i double click on it. Is this clear enough?
When you see it here right-click on it & choose 'browse' or 'mount' from dropdown list.
 
Old 08-09-2011, 08:11 PM   #25
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
I stole this from ubuntu site.

"
Manually Mounting

Using mount

Get the Information

Sometimes devices don't automount, in which case you should try to manually mount it. First, you must know what device we are dealing with and what filesystem it is formatted with. Most flash drives are FAT16 or FAT32 and most external hard disks are NTFS.

sudo fdisk -l

Find your device in the list, it is probably something like /dev/sdb1.

Create the Mount Point

Now we need to create a mount point for the device, let's say we want to call it "external". You can call it whatever you want, just please don't use spaces in the name or it gets a little more complicated - use an underscore to separate words (like "my_external"). Create the mount point:

sudo mkdir /media/external

Mount the Drive

We can now mount the drive. Let's say the device is /dev/sdb1, the filesystem is FAT16 or FAT32 (like it is for most USB flash drives), and we want to mount it at /media/external (having already created the mount point):

sudo mount -t vfat /dev/sdb1 /media/external -o uid=1000,gid=1000,utf8,dmask=027,fmask=137

The options following the "-o" allow your user to have ownership of the drive, and the masks allow for extra security for file system permissions. If you don't use those extra options you may not be able to read and write the drive with your regular username.

Otherwise if the device is formatted with NTFS, run:

sudo mount -t ntfs-3g /dev/sdb1 /media/external

You must have the ntfs-3g driver installed. See MountingWindowsPartitions for more information.

Unmounting the Drive

When you are finished with the device, don't forget to unmount the drive before disconnecting it. Assuming /dev/sdb1 mounted at /media/external, you can either unmount using the device or the mount point:

sudo umount /dev/sdb1

or:

sudo umount /media/external

You cannot unmount from the desktop by right clicking the icon if the drive was manually mounted.

Using pmount

There is a program called pmount available in the repositories which allows unprivileged users to mount drives as if they were using sudo, even without an entry in /etc/fstab. This is perfect for computers that have users without RootSudo access, like public terminals or thin clients.

pmount can be used with the same syntax as mount (but without sudo), or quite simply as follows:

pmount <device> [ label ]

Example:

pmount /dev/sdb1 flash_drive

This will mount the device /dev/sdb1 at /media/flash_drive

If you leave off the label option, it will mount by default at /media/device

To unmount the device, use pumount, like so:

pumount <device>

Example:

pumount /dev/sdb1

For more help, you can see the man pages for pmount and pumount.

Unmounting Explained

Before disconnecting devices, you must unmount them first. This is similar to "Safely Remove" in Windows in that the device won't unmount until data is finished being written to the device, or until other programs are finished using it. This applies to all types of storage devices, including flash drives, flash cards, external hard drives, ipods and other media players, and even remote storage like Samba or NFS shares.

Failure to unmount before disconnecting the device can result in loss of data and/or a corrupted file system. There are no exceptions to this rule. Be safe - unmount your drives before disconnecting them! "

Last edited by jefro; 08-09-2011 at 08:13 PM.
 
1 members found this post helpful.
Old 08-10-2011, 12:23 PM   #26
feldon0606
LQ Newbie
 
Registered: Aug 2011
Posts: 14

Original Poster
Rep: Reputation: Disabled
Eddy when i try to mount it like that It says i am not authorized.
 
Old 08-10-2011, 12:59 PM   #27
feldon0606
LQ Newbie
 
Registered: Aug 2011
Posts: 14

Original Poster
Rep: Reputation: Disabled
when i got to this bit sudo mount -t vfat /dev/sdb1 /media/external -o uid=1000,gid=1000,utf8,dmask=027,fmask=137
the following error came up: wrong fs type, bad option. bad superlock on /dev/sdb1 missing codepage or helper program, or other error in some cases usefil info is found syslog - try dmesg | tail or so.
 
Old 08-11-2011, 12:23 AM   #28
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Since it is a windows device try it on a windows machine, keep in mind if you set password on it linux can not access it.
 
Old 08-12-2011, 04:54 AM   #29
feldon0606
LQ Newbie
 
Registered: Aug 2011
Posts: 14

Original Poster
Rep: Reputation: Disabled
But i never did set anykind of password on it.
 
  


Reply

Tags
mount, ubuntu, usb



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 stop the "Unable to Mount" dialogue (Ubuntu 8.10 Intrepid Ibex) DeekBeek Ubuntu 4 01-03-2009 02:13 PM
"mount: not a directory" pmount error when file system is out kaz2100 Linux - General 0 12-18-2007 02:10 PM
"fc5" mount does not recognize "smbfs" file system? bdplays Linux - Networking 6 06-28-2006 11:21 AM
Common problems explained: "kernel panic - not syncing", "unable to mount..." sundialsvcs Linux - Newbie 2 03-01-2006 12:17 PM
Unable to Mount," Bogus File System Found" nav_Lin Linux - Newbie 1 04-16-2004 09:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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