Linux - Hardware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
01-03-2005, 11:50 PM
|
#1
|
Member
Registered: May 2004
Distribution: SuSE
Posts: 117
Rep:
|
Getting HDD to work both in Windows and Linux
Hi,
I would like to use one of my HDD as a storage. Just pure storage; no OS, etc. I would like to unplug the storage and use it in Windows, and as I please, I want to unplug it and use it on my Linux.
What format should I choose to have both my systems recognize it.
|
|
|
01-04-2005, 03:11 AM
|
#2
|
Member
Registered: Dec 2004
Location: Phoenix, Arizona, USA
Distribution: Debian, RedHat, ???
Posts: 56
Rep:
|
I will assume, that you are talking about a USB disk drive, and that it cannot be accessed by both OS's at the same time, for instance a dual boot machine, that either runs a win32 OS, or Linux, but not both at once.
In this case, you are mostly limited by file systems that Windows can read natively, which is FAT32, NTFS. FAT32 is probablly the file system to use under these conditions, as Linus support for fat32 is good
If, on the other hand, you can access the Linux box from the Windows box, you have more options, such as formatting your drive with any file system you like (reiserfs, ext3, and others).
By then exporting the drive as a network share, an setting up SAMBA properly, you can access the drive from either, without having to unplug it, and transport it to the other machine.
I suggest you read all the doccumentation you can on the subject. www.computer-vet.com has good information. and there i sa lot more information on the web, For the above link, I searched google.com/linux for SAMBA file server
Again, unless the two machines are not networked, or are the same machine, there should be no need to move the HDD from one to the other
Hope this helps
jacks4u
|
|
|
01-04-2005, 04:07 AM
|
#3
|
Member
Registered: May 2004
Distribution: SuSE
Posts: 117
Original Poster
Rep:
|
Quote:
Again, unless the two machines are not networked, or are the same machine, there should be no need to move the HDD from one to the other
|
Lets say, 1 at work, and 1 at home.
I would like to use my workplace's bandwidth to DL files, and I would trasnfer the files back and forth from work and home via a (external enclosure) storage drive I carry around.
My workplace woud have Windows, and my home would have Linux. What format should I reformat my storage drive so that both OS would recognize?
|
|
|
01-04-2005, 04:58 AM
|
#4
|
Member
Registered: Dec 2004
Location: Phoenix, Arizona, USA
Distribution: Debian, RedHat, ???
Posts: 56
Rep:
|
fat32 would probablly be your best chance.
I think. it should be easy, just take it to the windows box, and format it. then on your linux box, edit /etc/fstab to reflect that it's a fat32 file system, and all should be well
jacks4u
|
|
|
01-04-2005, 05:49 AM
|
#5
|
LQ Newbie
Registered: Oct 2002
Location: New Windsor, NY
Distribution: Red Hat, Slackware, Smoothwall, Fedora, Mandrake, *BSD
Posts: 20
Rep:
|
A couple of "heads-up" points & observations:
I concur on FAT32 vs. NTFS being the most painless choice here. BUT . . .
As you don't indicate he size of this drive, be aware that Windows imposes a more or less 32GB size limit on FAT32 partitions.
There are ways around this (none come to mind at the moment, though) and most of the drives I've dealt with come out of the box formatted FAT32 (all 120-160GB).
I've also observed SIGNIFICANT differences in performance/throughput between the two filesystems, sometimes approaching an order of magnitude, with FAT32 being the slower of the two. These were VERY large files, though -- 5GB Virtual machine files.
|
|
|
01-04-2005, 08:20 AM
|
#6
|
Moderator
Registered: Aug 2002
Posts: 26,185
|
The max size of a FAT32 you can create in XP is 32GB. You can still access larger. You should be able to create a larger partition via linux.
|
|
|
01-04-2005, 08:41 AM
|
#7
|
Member
Registered: May 2004
Distribution: SuSE
Posts: 117
Original Poster
Rep:
|
The HDD will be 200 GB. What should I do if I cannot go beyond 32 GB or risk the slower speed?
|
|
|
01-04-2005, 09:22 AM
|
#8
|
LQ Newbie
Registered: Oct 2002
Location: New Windsor, NY
Distribution: Red Hat, Slackware, Smoothwall, Fedora, Mandrake, *BSD
Posts: 20
Rep:
|
In your situation, the performance issue should be all but moot:
1. The linux box won't like NTFS, anyway.
2. If you d/l directly to a folder on the USB drive, your network bandwidth is the limiting performance factor, here.
As far as formatting, you can try to make the whole drive one huge FAT32 filesystem via linux (as michaelk suggests above) or just use Windows disk manager to break it up into a number of partitions no larger than 32 GB, and create separate mount points for each of these in your linux box.
This assumes, of course, that none of the files you want to transfer are larger than 32GB (which is ENORMOUS, BTW.)
|
|
|
01-04-2005, 10:35 AM
|
#9
|
Member
Registered: May 2004
Distribution: SuSE
Posts: 117
Original Poster
Rep:
|
I don't want 6 partitions of 32 GB. I don't like looking into each partition over a file.
How do I make my drive one huge FAT32 filesystem with Linux? Are there any bad sides to using one huge FAT32?
|
|
|
01-04-2005, 11:12 AM
|
#10
|
Moderator
Registered: Aug 2002
Posts: 26,185
|
Use linux fdisk command. AFAIK I think drives are already partitioned as FAT32 off the shelf.
|
|
|
01-04-2005, 11:24 AM
|
#11
|
LQ Newbie
Registered: Oct 2002
Location: New Windsor, NY
Distribution: Red Hat, Slackware, Smoothwall, Fedora, Mandrake, *BSD
Posts: 20
Rep:
|
If it's not FAT32 out of the box, or has been changed since, you should be able to get the whole thing back to Fat 32 (after re-partitioning, if necessary) with either a Win 98SE boot disk with fdisk and format on it, or from linux:
mkdosfs -F 32 -n <volumename> /dev/<dev name, usually sda, sdb, sdc, sdwhatever's next>
Assuming that your linux box main hard drive is not SCSI, the faormatting command should look something like this:
# mkdosfs -F 32 -n bigfat32 /dev/sda
|
|
|
All times are GMT -5. The time now is 01:47 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|