Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I didnt know you had to partition a flashdrive, Just so were on the same page, Were talking about the USB drives you plug in and can remove quickly, right?
So I dont need the sda2, sda3 or sda4?
"Just something you probably don't know, the /dev/ directory is a dinamic one, if your using kernel 2.6 this directory is managed by udev, and udev creates links to devices dinamicaly, so if you just have one flashdrive connect don't espect having more than sda1."
I have no idea what that means??
Thanks for the help and I will keep working on this, I need this to work.
I did not know you could or had to partition a flashdrive and as for the FAT12, I have no idea where that came from.
Should I try mount -t fat12 /dev/sda1 /mnt/flashdrive?
Try cfdisk /dev/sda, when I did it complained about partitions overwriting each other or something, I don't remember exactly.
Once I used cfdisk to set up a fat32 partition all was fine, except that Windows couldn't read it and always wanted to format it.
Perhaps it was a brand specific problem, remember mine was from Apacer. Since then I have bought a Transcend thumb drive and had no problems using it with Win and Linux.
I did cfdisk /dev/sda and the FS type was set to fat12 so I changed it to linux and wrote it, rebooted, tried to mount it and I keep getting fs type not supported by kernel, I tried w95 FAT32, and some others and same message. I did not see a vfat in the list. Maybe the drive needs a driver and can only be used in windows or it s defective, I dont know. What else can I try?
Thanks.
i think im right, because this is my table when the device aint connected
Code:
root@virtz:~# fdisk -l
Disk /dev/sda: 200.0 GB, 200049647616 bytes
240 heads, 63 sectors/track, 25841 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 805 6085768+ 1b Hidden W95 FAT32
/dev/sda2 806 23888 174507480 17 Hidden HPFS/NTFS
/dev/sda3 * 23889 25841 14764680 83 Linux
root@virtz:~#
and as you might see its only my partitions, now if i connect my usb drive, this comes out
Code:
root@virtz:~# fdisk -l
Disk /dev/sda: 200.0 GB, 200049647616 bytes
240 heads, 63 sectors/track, 25841 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 805 6085768+ 1b Hidden W95 FAT32
/dev/sda2 806 23888 174507480 17 Hidden HPFS/NTFS
/dev/sda3 * 23889 25841 14764680 83 Linux
Disk /dev/sdc: 260 MB, 260046848 bytes
32 heads, 32 sectors/track, 496 cylinders
Units = cylinders of 1024 * 512 = 524288 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 496 253936 6 FAT16
as you might see the slight difference is at the very bottom, on this part
" Device Boot Start End Blocks Id System"
/dev/sdc1 * 1 496 253936 6 FAT16
so just try to find a way to mount it on a sata and ill really appreciate
When I do fdisk -l after inserting my flashdrive it shows it as sda1:
Device Boot Start End Blocks Id System
/dev/hda1 * 1 9605 77152131 83 Linux
/dev/hda2 9606 9729 996030 82 Linux swap
Disk /dev/sda: 32 MB, 32768000 bytes
8 heads, 16 sectors/track, 500 cylinders
Units = cylinders of 128 * 512 = 65536 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 500 31992 b W95 FAT32
No matter how I try to mount it, with any filesystem type or running fdisk and changing the FS type to anything, I consistently get the message, " you must specify filesystem type " and the light on the flashdrive blinks, except when I use usbfs, like " mount -t usbfs /dev/sda1 /mnt/flashdrive " then it mounts but I cant do anything with the drive. I do dmesg and it shows the drive there and when I take it out of the usb port it show it removed so I am pretty sure the USB ports are working. I guess slackware does not support USB drives by default or something, kinda strange.
The LBA thing has something to do with the type of drive, but i dont know if it applies in the case of a USB drive.
It may be that this thing only works in windows. I might buy a cheap one and see if that one works.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.