LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 04-07-2005, 09:21 PM   #1
egingell
LQ Newbie
 
Registered: Feb 2005
Distribution: Red Hat 9.0
Posts: 15

Rep: Reputation: 0
Making External HD work on Linux and Windows


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).

I have Windows XP and RedHat 9 kernel 2.4.20-31.9
 
Old 04-07-2005, 10:26 PM   #2
egingell
LQ Newbie
 
Registered: Feb 2005
Distribution: Red Hat 9.0
Posts: 15

Original Poster
Rep: Reputation: 0
Nevermind. I figured it out.
 
Old 04-08-2005, 02:13 AM   #3
egingell
LQ Newbie
 
Registered: Feb 2005
Distribution: Red Hat 9.0
Posts: 15

Original Poster
Rep: Reputation: 0
Grrr...

I got it to read NTFS but, I can't get it to write!!
 
Old 04-08-2005, 04:23 AM   #4
PhilDEE
LQ Newbie
 
Registered: Dec 2004
Location: Sydney, Australia
Distribution: Fedora Core 3 & Ubuntu 4.10
Posts: 19

Rep: Reputation: 0
That's odd. Windows should be able to format it as FAT32. Linux so far isn't capable of writing to NTFS partions I think.
 
Old 04-08-2005, 12:25 PM   #5
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
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.
 
Old 04-08-2005, 03:14 PM   #6
egingell
LQ Newbie
 
Registered: Feb 2005
Distribution: Red Hat 9.0
Posts: 15

Original Poster
Rep: Reputation: 0
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.
 
Old 04-08-2005, 08:50 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
MS limited XP so that the maximum FAT32 partition it can create is 32GB.

Use linux fdisk to create the FAT32 partition.

Last edited by michaelk; 04-08-2005 at 08:51 PM.
 
Old 04-08-2005, 09:24 PM   #8
egingell
LQ Newbie
 
Registered: Feb 2005
Distribution: Red Hat 9.0
Posts: 15

Original Poster
Rep: Reputation: 0
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.
 
Old 04-08-2005, 09:25 PM   #9
the_clown
Member
 
Registered: Mar 2005
Posts: 33

Rep: Reputation: 15
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.
 
Old 04-08-2005, 09:28 PM   #10
egingell
LQ Newbie
 
Registered: Feb 2005
Distribution: Red Hat 9.0
Posts: 15

Original Poster
Rep: Reputation: 0
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).
 
Old 04-08-2005, 09:39 PM   #11
the_clown
Member
 
Registered: Mar 2005
Posts: 33

Rep: Reputation: 15
I would not suggest using captive ntfs, it is still to unstable.
 
Old 04-09-2005, 08:01 AM   #12
eeades
Member
 
Registered: Sep 2004
Distribution: Slackware
Posts: 117

Rep: Reputation: 15
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.

Eric
 
Old 04-10-2005, 07:20 AM   #13
egingell
LQ Newbie
 
Registered: Feb 2005
Distribution: Red Hat 9.0
Posts: 15

Original Poster
Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux, Windows and a external hard drive.. how to make this work. spfdz Linux - Hardware 5 09-04-2009 04:31 AM
Installing linux on external usb drive -> How about making a tutorial? narson Slackware 20 05-01-2007 04:58 AM
How Does External Modem work in Linux? bongski55 Linux - Hardware 1 09-18-2004 06:35 AM
Making linux work on a new computer svele Linux - Hardware 4 10-27-2003 06:14 PM
Making A Linux Domain Or Work Group skhurram77 Linux - Networking 2 02-21-2002 04:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration