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'm trying to format an external hard drive (USB) so that I can plug it into a Windows machine or a Linux machine and have it work. I can get it to work on one or the other but, not both. Windows will only format in NTFS format (no option for any other) and anything I've tried so far with fdisk only works on Linux or tells me that the drive is too big (it's a 40 gig).
Linux's ability to write to NTFS should be considered in the experimental stage. My understanding (which may be totally incorrect) is that you can edit NTFS files as long as the size of the file does not change, but if the size increases it could fail. (BTW if anyone actually knows the scoop here, please post)
If you need to share a partition between Linux and Windows, I'd recommend using FAT32, which is compatible with both. -- J.W.
I tried using "format X: /fs:fat32" and "format X: /fs:fat" (on Windows) both said that the drive was too big. I'd rather not partition the drive into 8 partitions. There seems to be programs out there that will make Windows able to read Linux ext2 and ext3, I think I might try that. Problem is, the Windows machines I want it to work on are at my school and I don't know if I'll have the permissions to install them.
I tried that and Windows wouldn't read it. It said it was RAW or Linux. I used "mkfs /dev/sda1" that seemed to work until I tried the disk on Windows. Then I tried "mkdosfs /dev/sda1" and it said the disk was too big.
Captive NTFS will let you write to an NTFS partition under linux, however, there is basically a 1 in 6 chance that it will fail. The size of the file doesn't really effect it (as far as I can tell) it is just quite unstable. The best thing to do is use fdisk to change it over to fat32, or you could also use QT Parted for linux, if you prefer gui's.
I tried that to and it kept telling me that it couldn't find the LUFS module or something like that (I'm not home right now, or I would get the actual error message).
This may not be the prettiest solution, but you can always break the disk up into two 20Gig partitions, and then format them as fat32. Not pretty, but it get's the job done.
I'd rather not partition the HD. I found a program called "ext2fsd" that works beautifully on my XP box. I just hope I'll be able to install it on the boxes at my school. There's another one called explore2fs that I couldn't get to work on the XP box but, the boxes at my school are Win2k, maybe if I can't get the former to work, the latter will. I guess I'll find out on Tuesday.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.