LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-17-2013, 09:31 AM   #1
sphanse
LQ Newbie
 
Registered: Apr 2013
Distribution: Red Hat
Posts: 3

Rep: Reputation: Disabled
Question External USB drive Partition for use on both Windows and Red Hat Linux machine


I have an external USB hard drive with multiple partition. I am trying to configure one single partition (over 32 GB) to read and write from Windows XP laptop and Linux Desktop when connected to the machine directly.
Question:
a) Is it possible to swap drives between machines and read/write from the same partition.
b) If yes what is the best partition type to use ?
c) Does it make a difference if the drive is formated on Linux v/s XP?

FYI: Here is why I am trying to do this...
I had created a partition /dev/sda4 of type 7 (HPFS/NTFS) and mounted it successfully on the Red Had Linux m/c. It's configured as a Samba drive. I was able to read write from my XP laptop but writing(over 4 GB files) is very slow over the home WI-FI. My thought, since this partition is on an external drive it will be faster to just swap the drive between two machines and write large files to it.

My Configuration is as below.
Laptop with XP
Desktop with Red Hat Linux ver 2.4.20-8.
Disk partition /dev/sda4
Partition type : 7 (HPFS/NTFS)
Size : 57 GB.

Any suggestion is appreciated. Thanks in advance.
 
Old 04-17-2013, 09:37 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,557

Rep: Reputation: 2810Reputation: 2810Reputation: 2810Reputation: 2810Reputation: 2810Reputation: 2810Reputation: 2810Reputation: 2810Reputation: 2810Reputation: 2810Reputation: 2810
a yes
b for windows fat32 or ntfs is suggested, but nowadays windows can handle ext4 also, so you can use your favorite.
c hopefully not, but someone suggests to use the original os (ext4 on linux, fat and ntfs on windows)
 
Old 04-17-2013, 10:45 AM   #3
sphanse
LQ Newbie
 
Registered: Apr 2013
Distribution: Red Hat
Posts: 3

Original Poster
Rep: Reputation: Disabled
Ok it is not working.
I fdisk'ed the partition on linux and set it to type 7 (HPFS/NTFS). Saved it and then moved the drive to XP machine. I could not read the partition. So I went thru the disk manager and made the partition active and formated it for NTFS. Save a file to it to test and worked fine.
Next moved the drive back to Linux and tried to mount the partition (mount /dev/sda4/ mnt/sda4/) and got a message "mount: fs type ntfs not supported by kernel." My kernel version is 2.4.20-8. Is Kernel my issue? Do I need a newer Kernel ?
 
Old 04-17-2013, 12:00 PM   #4
sphanse
LQ Newbie
 
Registered: Apr 2013
Distribution: Red Hat
Posts: 3

Original Poster
Rep: Reputation: Disabled
Ok I got it to work.
Here is how..
a) Tried partition type to 'b' or '7'. Both worked.
b) On linux formated disk with
mkfs.vfat -F 32 /dev/partition_name
c) Mounted the partition with
mount /dev/partition_name /mnt/partition_name

Last edited by sphanse; 04-17-2013 at 12:01 PM.
 
Old 04-18-2013, 12:11 AM   #5
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,557

Rep: Reputation: 2810Reputation: 2810Reputation: 2810Reputation: 2810Reputation: 2810Reputation: 2810Reputation: 2810Reputation: 2810Reputation: 2810Reputation: 2810Reputation: 2810
glad to hear that. So you only need to say thanks if you got valuable help...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Auto Mount Of External USB Hdd on Red Hat Linux 4.6 bishnu101 Linux - Desktop 1 07-29-2009 04:12 AM
How to install Red hat linux on External hard drive ? meharkoduri Linux - Newbie 2 02-05-2009 05:48 PM
How to install Red hat linux on External hard drive ? meharkoduri Linux - General 1 02-05-2009 02:07 PM
sharing internet from a windows 98 machine to a Red Hat Linux machine ritwiksolutions Linux - Newbie 7 03-14-2006 10:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration