mounting usb thumbdrive and going in circles:NOT SOLVED
Someone had given me an Apacer 128mB drive with a document I need.
I insert it: Code:
lsmod: Code:
Module Size Used by Tainted: P i get Code:
mount: wrong fs type, bad option, bad superblock on /dev/sda, When I do mount -t usbfs /dev/sda (**or SDA1, 2 etc**) /mnt/thunbdrive it shows no error messages, but when I try ls /mnt/thumbdrive the output is Code:
001/ 002/ devices drivers I have a hdd=ide-scsi in my lilo if that is relevant. On a whim i did scanbus -cdrecord: Code:
|
Wow, 59 reads and no replies, doesn't anybody know.....pleeeeeeze :)
|
I've noticed that when linux shows multiply paritions on a usb-drive, this mostly means it is a windows formatted drive(formatted like a floppydrive)
check the partitiontable whit fdisk, to see wheter it is correct. If it shows a lot of errors, it is formatted using windows. |
Thanks EyesOnly, I did that (fdisk) and you were right. Fdisk complains that the partitions overlap each other etc.
I searched another forum and found this: Code:
How to solve this problem. Put the following into fstab Code:
/dev/sda /mnt/thumbdrive auto noauto,users 0 0 Thanks, mark |
Oops, spoke too soon; NOT solved :(
After doing the things I said the drive worked fine between 2 Linux boxes,
but when I plugged it back into an XP box it complains that the drive is not formatted and, in typically helpful fashion, offers to format it for me :tisk: I have reformatted it a few times with cfdisk to W95 VFAT, W95 VFAT (LBA) with the same result every time I plug it into XP :mad: So, if anybody has any more suggestions I'd be very happy to hear them, mark |
I tried this with my Iomega Zip 250 disks: (it's USB, so maybe this can solve your problem too)
1. Empty the disk (of course, copy all the files you want on the disk) 2. dd if=/dev/zero of=/dev/sda bs=1024 count=1024 (with the disk inserted but no partition on the disk is mounted) 3. fdisk /dev/sda (it should complain about invalid partition table but don't worry) 4. create a partition (sda1), make it "W95 FAT32 LBA" 5. write the changes (command 'w') 6. put a filesystem on /dev/sda1 with mkdosfs (i forgot the options but you can check the man page of mkdosfs or mkfs.msdos or mkfs.fat or mkfs.vfat) Does Windows still say it's unformatted now? |
Thanks wpyh,
I borrowed the drive back to try but the owner has already chosen "OK" when XP asks him of he want to format it, and saved some files there. The files were invisible to me when I mounted it in Linux, so I copied a couple of files to it (no error messages, files showed up fine) and took it back and plugged it into his xp box. Now the files he put are visible, but mine were not :scratch: I give up, will buy my own pendrive, and learn some more. Thanks again, mark ps The Swiss army knife USB drives example: www.iwoot.com/SWI64M.htm look pretty cool :D |
For removable storage devices, you have to include sync in the mount options because if you do not you will have data corruption or the data will not be written the drive yet. Putting a line for removable storage devices in fstab will not work well if you have a bunch of usb thumb drives, a USB hard drive, and a USB CD-ROM. I suggest mounting USB drives manually.
For FAT partitions, inlcude umask=000 so that you have write permission for directories and files. Each USB thumbdrive, USB CD-ROM, USB DVD-ROM, etc has its own way of handling USB data. It may work in Windows but not in LINUX. Just make a partition with ID number 83. Then format it as a FAT filesystem. It will then work in any OS that can read FAT. I did that for my thumb drive and my 120 GB hard drive. They work. |
I had similar problems with mine
I recomend trying to format it again using windows, but make sure you don't take the default of fat32 choose fat.
mount it as mount /dev/sd*1 /mnt/thumdrive sd*1 being scsi device that your thumbdrive is considered mine is sda1. Yeah sounds alot like what happened with me till I mounted it as a scsi device with a file system I could write. ryan_moure |
I've got a SanDisk 128Mb thumbdrive. The only thing that I do is su to root, I have a directory off of root called USB, after I insert the thumbdrive I type.
Code:
mount /dev/sda1 /usb Hope this helps. Eric |
Your situation does seem odd.
I have used my 128 MB USB drive on Windows 2000, XP, and every distro of Linux I have ever worked with, without ever making any changes to the drive. It worked fine will all the OSes right out of the box. |
more that I reformatted it
I think it's more that I reformatted it on windows xp using fat 32 instead of fat.
That's why I had the problem not anything else. ryan_moure ::If you try reading the manual but there is none. Please feel free to write one. That way one of us actually knows what we're doing.:: |
All times are GMT -5. The time now is 02:18 PM. |