There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer blue screen boot bsod computer connection crash css dell display driver drivers email error ethernet excel firefox firefox 3 game hard drive hardware internet internet explorer itunes laptop linux malware monitor network networking outlook outlook 2003 outlook express partition password printer problem problems ram router slow sound trojan usb video virus vista windows windows xp wireless
UNIX/Linux
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > UNIX/Linux >
USB mount issue


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
iconicmoronic's Avatar
Computer Specs
Senior Member with 122 posts.
 
Join Date: Dec 2006
Location: Somewhere in the bowels of my
Experience: Computer Illiterate
28-Sep-2007, 02:11 AM #1
USB mount issue
I'm having an issue with a USB thumb drive: it won't mount!

I'm using the mount -t /dev/usb command (as this was a command for previous distributions I've used like FC) but the /dev/usb folder is not used in Ubuntu.

The drive itself it partitioned to ext3, and other than that, I don't know what information one might need to assist.

Ubuntu knows it is there, although it doesn't place an icon on the desktop, but will not mount it or allow read access, yada yada.

Thanks.
lotuseclat79's Avatar
Distinguished Member with 10,572 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
28-Sep-2007, 07:53 AM #2
Hi Andy,

You have issued the mount command improperly. Always consult the man page for any command you are not sure about or when situations like this occur to recheck your work.

The use of mount -t imples that the next thing the mount command should see is the type of the filesystem on the USB drive. Read the man page for the mount command.

So, the mount command you should have given should have been preceeded by the command:
$ sudo mkdir /mnt/usb (unless it already existed) This is the mount point for usb
$ sudo mount -v -t ext3 /dev/usb /mnt/usb

The additional -v parameter gives you some feedback that the mount command works and the usb device is readable and writeable.

-- Tom
__________________
The independence created by philosophical insight is - in my opinion - the mark of distinction between a mere artisan or specialist and a real seeker after truth. - Einstein wrote in 1944.

Some say knowledge is power, I say knowledge without action is powerless. - lotuseclat79

Don't confuse action with movement. - Hemingway to Gardner

Imagination is more important than knowledge. - Einstein
iconicmoronic's Avatar
Computer Specs
Senior Member with 122 posts.
 
Join Date: Dec 2006
Location: Somewhere in the bowels of my
Experience: Computer Illiterate
29-Sep-2007, 05:44 PM #3
thanks again.
yes, i issued -t because the filesystem the drive was formatted to was ext3. thanks for that though, i'm gonna write it down.
will the /mnt/usb point remain permanently then? or will i have to reissue it at any time to access the thumb drive?
iconicmoronic's Avatar
Computer Specs
Senior Member with 122 posts.
 
Join Date: Dec 2006
Location: Somewhere in the bowels of my
Experience: Computer Illiterate
29-Sep-2007, 05:52 PM #4
root@eltres-desktop:/home/eltres# mount -v -t ext3 /dev/usb /mnt/usb
mount: /dev/usb is not a block device

does this mean i need to specify nodes for the device? or make a device file? because i thought that's what the directory was.

or, instead does it mean that my usb device is not linked to this directory?

the way that ubuntu is registering the device is, places-->computer-->udisk pdu01_4g 75c2.0

double-clicking on the device gives this message, even after issuing your suggested commands: unable to mount media. there is probably no media in the dive.

obviously this is incorrect; it reads the model name! i don't even think this would be the issue, but could it be that I have a usb1.1 port and I'm using a device that is usb2.0? this didn't create any issue other than transfer speeds with other OS (windows).

still not enough to make me revert though!
__________________
"...you can look at my face, but you shy at the name of God..."
-- The disfigured pervert in Hannibal

"The eye that sees cannot see itself; the tree that bends to the wind has no broken branches."

-- Two Zen Sutras

Oh yeah, and pretend Sun Tzu's The Lesson of the Concubines from the Art of War is posted here in its entirety -- because it's hilarious!!

"The best laid plans o'mice and men, gang aft algae."
--That one Irish Poet
iconicmoronic's Avatar
Computer Specs
Senior Member with 122 posts.
 
Join Date: Dec 2006
Location: Somewhere in the bowels of my
Experience: Computer Illiterate
29-Sep-2007, 05:54 PM #5
the listings under /dev that I have are: /bus /disk /dri /input/net/pts /snd /usb.
There is no item in the /dev/usb folder. if I recall correctly from Linux Cert class, this means I need to maybe make a device file?

*so I did* issuing /dev/MAKEDEV usb Then I moved the file to /dev/usb

but it still wouldn't mount
so,a listing of in use dev files from /proc/devices:

Block devices:
1 ramdisk
2 fd
3 ide0
8 sd
22 ide1
65 sd
66 sd
67 sd
68 sd
69 sd
70 sd
71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd

so.... now i'm trying to re-format the device.

root@eltres-desktop:/home/eltres# mkfs -t ext3 /dev/usb
mke2fs 1.40-WIP (14-Nov-2006)
/dev/usb is not a block special device.
Proceed anyway? (y,n)

at the risk of ruining the device (which I'm good at) I can't proceed without advice. which leaves me a stick in the wind.

**I got the disk reformatted as ext3 under /dev/sda. Now the error message is that it cannot be mounted and is probably in a format that cannot be mounted.**

**I checked for bad blocks with mkfs -C -t ext3**

~$ mkfs -c /dev/sda
mke2fs 1.38 (30-Jun-2005)
/dev/sda is entire device, not just one partition!
Proceed anyway? (y,n) y
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
503936 inodes, 1007615 blocks
50380 blocks (5.00%) reserved for the super user
First data block=0
31 block groups
32768 blocks per group, 32768 fragments per group
16256 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736

Checking for bad blocks (read-only test): done 615

**err msg:
cannot mount media
error: device /dev/sda is already mounted to /media/usbdisk

error: could not execute pmount
__________________
"...you can look at my face, but you shy at the name of God..."
-- The disfigured pervert in Hannibal

"The eye that sees cannot see itself; the tree that bends to the wind has no broken branches."

-- Two Zen Sutras

Oh yeah, and pretend Sun Tzu's The Lesson of the Concubines from the Art of War is posted here in its entirety -- because it's hilarious!!

"The best laid plans o'mice and men, gang aft algae."
--That one Irish Poet

Last edited by iconicmoronic : 30-Sep-2007 09:27 AM.
iconicmoronic's Avatar
Computer Specs
Senior Member with 122 posts.
 
Join Date: Dec 2006
Location: Somewhere in the bowels of my
Experience: Computer Illiterate
30-Sep-2007, 09:38 AM #6
....
well i'm not sure if I did this, but it works now.
an icon for the device is now on the desktop.

does anything i posted above look as though it may have corrected the problem, or at least worked out enough issues that the device could autoconfigure via PnP as it should have from the get?
__________________
"...you can look at my face, but you shy at the name of God..."
-- The disfigured pervert in Hannibal

"The eye that sees cannot see itself; the tree that bends to the wind has no broken branches."

-- Two Zen Sutras

Oh yeah, and pretend Sun Tzu's The Lesson of the Concubines from the Art of War is posted here in its entirety -- because it's hilarious!!

"The best laid plans o'mice and men, gang aft algae."
--That one Irish Poet
saikee's Avatar
Distinguished Member with 2,515 posts.
 
Join Date: Jun 2004
Location: Newcastle
Experience: A Linux user gone nuts on multi-boot
30-Sep-2007, 10:35 AM #7
Post #5
Quote:
error: device /dev/sda is already mounted to /media/usbdisk
tells us the Linux has mounted your thumb drive under the directory /media/usbdisk. A USB thumb drive is always shipped with a fat16 filing sytem if under 2Gb or fat32 if larger than 2 Gb so it is readily mountable.

Thus there was never a mounting issue, just a problem of finding it.

Device in USB is always called sda, sdb, sdc, sdd, sde, etc. To find how it is called just issue this command in root console
Code:
fdisk -l
BY looking at the size and filing system you should know how the thumb drive is called.
__________________
A newbie entered Linux wonderland in Jun 2004, now a converted Linux user - No. 361921
Using a Linux live CD to clone XP
To install Linux and keep Windows MBR untouched
Adding extra Linux & Doing it in a lazy way
A Grub menu booting 100+ systems & & A "Howto" to install and boot 145 systems
Just booting tips A collection of booting tips
Judge told Linux "You are charged of murdering Windoze by stabbing its heart with a weapon, what was it? Linux replied "A Live CD"
iconicmoronic's Avatar
Computer Specs
Senior Member with 122 posts.
 
Join Date: Dec 2006
Location: Somewhere in the bowels of my
Experience: Computer Illiterate
30-Sep-2007, 08:54 PM #8
thanks, that's really useful information!
iconicmoronic's Avatar
Computer Specs
Senior Member with 122 posts.
 
Join Date: Dec 2006
Location: Somewhere in the bowels of my
Experience: Computer Illiterate
03-Oct-2007, 04:40 AM #9
This Thread Is Closed!!
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 03:49 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.