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 10-25-2009, 01:30 PM   #1
deepaksinghnegi
Member
 
Registered: Oct 2009
Posts: 34

Rep: Reputation: 16
common partition


is there any common partition which can be access from xp as well as linux but partion should related to liux?


please help
 
Old 10-25-2009, 01:42 PM   #2
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
You want to have a partition which both OS can access?

Then it is a question about what filesystem should be used for that partition.

My answer:
For Windows there are drivers you can install which enable it to read/write to ext2/ext3 partitions.
Don't know about reiserfs.
While this can be convenient it is also dangerous and I'd not do that!

Linux can read write to fat/vfat partitions and even ntfs formatted partitions (the native filesystem Windows XP uses) - provided, as in windows - that the right drivers are installed and set up.

I personally would go for ntfs - or just vfat if you are not planning on having files larger than 2 GB to be shared (or was it only 1 GB?).

HTH

Last edited by jomen; 10-25-2009 at 01:44 PM.
 
Old 10-25-2009, 02:07 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,926

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by deepaksinghnegi View Post
is there any common partition which can be access from xp as well as linux but partion should related to liux?
please help
Windows can also access NFS partitions, but requires additional software to do it. However, a simple solution would be to run Samba on your Linux server, and just mount it as you would any other Windows drive.
 
Old 10-25-2009, 02:15 PM   #4
Erik_FL
Member
 
Registered: Sep 2005
Location: Boynton Beach, FL
Distribution: Slackware
Posts: 815

Rep: Reputation: 254Reputation: 254Reputation: 254
Quote:
Originally Posted by deepaksinghnegi View Post
is there any common partition which can be access from xp as well as linux but partion should related to liux?


please help
You can use "ext2ifs".

Ext2 Installable File System For Windows

To make that work you have to format your ext2 or ext3 file system using 128-byte inodes BEFORE you install Linux. If you already installed Linux then you have to reinstall it or copy all the files in order to reformat.

Use this command to format the Linux partition.

mke2fs -j -I 128 /dev/sda2

Replace the "/dev/sda2" with the correct device for your Linux partition WARNING! IT WILL DELETE ALL THE FILES IN THE PARTITION.

Install Linux and tell the setup program to NOT reformat the partition.

You can access normal Windows XP files using the "ntfs-3g" driver in Linux.

For example.

mount -t ntfs-3g /dev/sda1 /mnt

Replace the "/dev/sda1" and "/mnt" with the correct device for the NTFS partition and the mount point you have created.

If you use RAID then it might be much more complicated to share partitions and filesystems between Linux and Windows.
 
  


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
Need help with file access in common partition. lazylogic Linux - Newbie 6 01-19-2009 06:40 PM
Common partition for xp and linux renna Linux - General 7 04-02-2008 02:22 AM
howto create common partition for xp and suse harjim SUSE / openSUSE 8 01-13-2007 12:46 AM
common swap partition for XP & Linux jadukor Slackware 2 12-22-2005 03:09 PM
common swap partition.. tenzan Linux - General 7 11-15-2005 05:49 AM


All times are GMT -5. The time now is 08:43 AM.

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