Results 1 to 6 of 6
hi,
i'm using elive linux (debian )1.29v . after install front usb drive and dvd rom is not working .. there is no response if i plug pendrive...
how to ...
- 07-03-2009 #1Just Joined!
- Join Date
- Nov 2007
- Posts
- 52
usb & dvd drives problem
hi,
i'm using elive linux (debian )1.29v . after install front usb drive and dvd rom is not working .. there is no response if i plug pendrive...
how to mount these device manually ....
- 07-05-2009 #2Linux User
- Join Date
- Jan 2007
- Location
- cleveland
- Posts
- 452
when I do "lsmod |grep usb" I find these
modules mentioned: have you installed them?
usb_storage
usbcore
uhci_hcd. ehci_hcd (take your pick)the sun is new every day (heraclitus)
- 07-10-2009 #3Then put a line something like this in /etc/fstab:Code:
# mkdir /media/flash
/dev/disk/by-id/bloody-great-long-thing vfat /media/flash noatime,users 0 0
Look at other stuff in fstab to get it right.
bloody-great-.... is found from looking in dev/disk/by-id after the drive's been plugged in - this makes sure you get the right thing every time, udev may change its name.
You can write a function into .bashrc to make mounting less typing.Code:$ mount /media/flash
- 07-10-2009 #4
Hi Suresh, if I understood correctly, you are taking about usb port in the front of the desktop cabinet. Well, on my desktop too it doesnot work for most distro but noticeably so on Debian. I think it is something to do with the usb technology. usb 1.2 or usb2 connection.. something like that. Not sure if we can do something for that. I use backside ports. But I'm not sure about DVD drive.
AFAIK, the second column should be mount point (i.e., /media/flash not vfat in the above example) and third column should be filesystem type. (again vfat in above example). Not sure if the above line also will work.
If you use rhetorics like '/dev/disk/by-id/bloody-great-long-thing' you are confusing others more
I would right the above mount example as,
where sdXn is mostly sdb1 or sdc1 etc. which is found by running 'fdisk -l'. All the above commands should be run as root.Code:mkdir /media/usb mount -t vfat /dev/sdXn /media/usb
A candle looses nothing by lighting other candles. - Khalil Zibran.
Registered Linux User #490076
- 07-11-2009 #5Just Joined!
- Join Date
- Oct 2007
- Location
- Mexico
- Posts
- 65
i have used the second colum for mount pointCode:/dev/disk/by-id/bloody-great-long-thing vfat /media/flash noatime,users 0 0
did you mentioned front usb drive and dvd-rom, next the flash drive...Code:/dev/sda1 /media/usb vfat rw,user,noauto 0 0
is about a portable hard disk with usb plug, a external dvd-rom plugged by usb and a flash drive (pen drive) ???
your computer detects usb drive and dvd-rom without problems and pendrive creates the conflict???
chech which device is used when you external drive is detected (in order to avoid conflicts)
when i plug my pendrive and run the command, this is shown:Code:dmesg | tail
for example:Code:[ 4438.045599] sd 2:0:0:0: [sdb] 1001472 512-byte hardware sectors (513 MB) [ 4438.046221] sd 2:0:0:0: [sdb] Write Protect is off [ 4438.046224] sd 2:0:0:0: [sdb] Mode Sense: 0b 00 00 08 [ 4438.046227] sd 2:0:0:0: [sdb] Assuming drive cache: write through [ 4438.055220] sd 2:0:0:0: [sdb] 1001472 512-byte hardware sectors (513 MB) [ 4438.055717] sd 2:0:0:0: [sdb] Write Protect is off [ 4438.055721] sd 2:0:0:0: [sdb] Mode Sense: 0b 00 00 08 [ 4438.055723] sd 2:0:0:0: [sdb] Assuming drive cache: write through [ 4438.055726] sdb: sdb1 [ 4438.056947] sd 2:0:0:0: [sdb] Attached SCSI removable disk
my pendrive is detected on sdb1
i have a external dvd-rw with usb plug and is detected on scd0
i don't have a external HDD...
i hope this will be useful for give you some ideas to find the problem.
See you.
- 07-12-2009 #6
Don't quite follow but all I was trying to say was that if you have, a usb device plugged in and then unplug it and put it back in again, or something along those lines the device name sdb1 might well change to sdb2, say.
If you then try:
$ mount /dev/sdb1 or mount /media/flash it'll tell you to bugger off.
This is avoided by using one of udev's special, unvarying symlinks, such as the by-id one I mentioned above.


Reply With Quote

