USB Mass storage Device
Hello. I have an Unidrive USB "Mass storage device" of 128Mb, I would like to have it working in Mandrake 9.1 but even thought when it starts it recognises a new hardware and "probe" it I cant get to access it. Any clues???
|
Did you try to mount it ?
su - root ; mount /dev/sda1 /mnt/USBdrive cd /mnt/USBdrive It should work if normally /dev/sda1 is your device. Philippe |
Thanks Philippe for the hint, unfortunatelly it didnt work, It seemed to be mounted correctly since it didnt show an error message but it didnt create the folder. Do I have to (previouselly had) create(d) the folder??
I also noticed that this time (before I tried to mount it) there was a folder in /mnt/ called Removable but it is empty, I also tried to mount the device to this folder but was useless. |
the directory to which you mount should be present before you mount your device ...
if you create a directory /mnt/removable and mount mount /dev/sda1 /mnt/removable it should work out fine ... |
Purefan,
Yes you must create the mount point before. You must be logged as root to do it. And as Ceedeedoos said, it should work fine. Please provide any error message if you have a problem. Linux message are often really explicit by themselves. Good luck, Philippe |
Open a console as root. Issue the following commands:
mkdir /mnt/USBdrive chmod 777 /mnt/USBdrive mount -t vfat /dev/sda1 /mnt/USBdrive Then you should be OK. You will need to supply the '-t vfat' part or else you'll be given an error about not providing a filesystem type. You can use any name you like instead of 'USBdrive'. The 'chmod' command changes permissions so you can access the device while logged in as a normal user. |
Just don't forget to unmount before unplugging the device.
umount /mnt/USBdevice (using root login) THEN unplug the device. Philippe |
im sorry for the delay but I forgot about this thread....
I tried all of what you guys said and the problem seems to be that the 'sda1' is not the direction to the FlashMemory (USB storage device).... How can i find the right one?? I tried changing the number (sda2, sda3,sda4....) but it didnt work.... I have also been wondering around the Mandrake Control Center but found nothing I could use, I tried the HardDrake but just couldnt read anything I considered worth it....<dont forget Im a newbie....> Thanks for your support :) |
You will need to make sure sd_mod, usb-storage, and either usb-uhci, uhci, usb-ohci, or ohci is loaded. Also you will need to make sure scsi modules are also loaded. Eventually the device node /dev/sda..../dev/sdz will be created by devfsd. When mounting, I suggest adding sync to the option list for mount command. If you do not, then you have to remember running sync before unmounting.
|
oook...
1.How do I know if sd_mod, usb-storage, and either usb-uhci, uhci, usb-ohci, or ohci are loaded??? 2.If they are not loaded how do I load them?? My CD-RW and DVD-RW are loaded since I can read any cd In any of those... |
Type /sbin/lsmod to view what modules are loaded. It is the same as typing cat /proc/modules.
As root or su type /sbin/modprobe module_name to load the module. This command also loads the module dependencies if there are any. If you want to know what other options you can pass while loading a module, type /sbin/modinfo module_name. If you want to know more about these utilities use man. |
it got fixed after I re-installed Mandy 10.1 Comm release...
anyhow the OS has trouble still mounting the USB system but Im 95% sure it is due to my usb mouse...thnks! |
Hi
If your Mass storage device is not partitioned, it can not be mounted! So, fdisk -l /dev/sda If you are able to see the info about the device connected, fdisk /dev/sda partition can be done. Now, fdisk -l /dev/sda shows you /dev/sda1 or /dev/sda2 so on.. mount any partition now!! If it doesn't work, meet me tomorrow. |
I am having similar trouble with my samsung mp3 player, which operates like a usb disk. Whats happening is as soon as it mounts it changes folder permissions to 755( which i can watch happening) i can access the disk but cant write to it.
I tried making a dir as user in my home dir then mounting to that but again, no write access. Any ideas? billy |
I tried chmod'ing the sda, sda1 devices etc before mounting, then making dir in home folder as user and root, then mounting to both those folders, still changes permissions, normally to 755, and even when you are su or the owner you cant change them to what you want to.
:newbie: btk |
All times are GMT -5. The time now is 03:00 AM. |