Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-09-2004, 01:49 PM   #1
LQ Newbie
Registered: Jan 2004
Posts: 18

Rep: Reputation: 0
partition win/linux question


Is it possible to have a windows/linux partitioned system in such a way that linux (red hat) can read files from the windows side and vice versa?

I just ordered a new laptop, it will come with windows XP. I also have windows 2000, and don't really care which one I use. I want to us linux, and would like to switch over as much as possible, but I realize it might be a gradual process, as there are a lot of programs that have yet to be ported.

Also, I develop php sites using Apache, and I've been running Apache under Windows, but would prefer to use Linux because there are some issues with Windows that have been problematic. I 'm sure this is probably not possible, but is there any way to run Apache on either partition and make it accessable to both?

Any web developers out there with similar situations, who could share some insight on working efficiently using a partitioned computer?

Old 03-09-2004, 02:04 PM   #2
LQ Newbie
Registered: Mar 2004
Posts: 5

Rep: Reputation: 0
Not sure if you can acces your linux files from windows but I know theres a way to acces your win files on linux
That otta help(hopefully)
Old 03-09-2004, 02:35 PM   #3
Registered: Mar 2004
Location: the Netherlands
Distribution: Debian Sarge
Posts: 302

Rep: Reputation: 31
You can read (and write, but not sure if red hat supports that) fat32 partitions from linux. Maybe you can read ntfs too, not sure. At least fat 32 should work. I've always used a fat32 partition for my data, so that both linux and windows can read it.

There is also a possibility of installing linux on a msdos filesystem (umsdos). Don't know the details, but I hope I've helped you enough to get started.
Old 03-09-2004, 02:45 PM   #4
LQ Newbie
Registered: Sep 2003
Location: Colombia
Distribution: Ubuntu / Kubuntu
Posts: 27

Rep: Reputation: 15
im using a part of my hard disk for linux and windows files (hda5 and d:\) its an ntfs base.

in win its in mypc and in linux u have to mount it.

im still having problems in linux, but no fatal, just linux prob

hope this is what u wanted to know....

Old 03-09-2004, 03:37 PM   #5
Registered: Feb 2004
Posts: 467

Rep: Reputation: 30
You won't be able to run the same program(Windows has to use the Windows version of Apache and Linux has to use the Linux version), but you can use the same document root for both. Make a fat32 partition and use that to store your website data. It will be writeable in Windows and Linux. In linux, change the DocumentRoot entry in httpd.conf to point to the fat32 partition. Do the same for Windows.
Old 03-09-2004, 06:57 PM   #6
Registered: Feb 2004
Location: Montreal
Distribution: Gentoo/Debian
Posts: 365

Rep: Reputation: 30
Ok, ill add my 2 cents

You can access you window filez from linux even on NTFS, allthough you have to put the NTFS reading thing on. There are a couple threads about that. But it cannot safely write to NTFS. If you want, you can use Partition Magic to convert the NTFS to FAT32 which linux can read and write safely to.

However, I think you could use an emulator to access windows programs, allthough I am not sure. Check with a wiser man than I. But I do know you cant just access the exe file from linux and run it, that won't work.

To have it automounted you can edit your fstab. There are also many threads on this topic.
Old 03-10-2004, 03:56 PM   #7
LQ Newbie
Registered: Jan 2004
Posts: 18

Original Poster
Rep: Reputation: 0
sterrenkijker: can use the same document root for both. Make a fat32 partition and use that to store your website data. It will be writeable in Windows and Linux. In linux, change the DocumentRoot entry in httpd.conf to point to the fat32 partition. Do the same for Windows
COOL!! That's enough to make me very excited about my notebook's arrival ... I can run Apache on both, and use Windows when I need to do something in flash, etc...

And with XP, you can choose from FAT16, FAT32 and NTFS. The Microsoft link posted above mentions security issues in using FAT. Basically I'm just using the computer to develop stuff on and then upload to a server, so with regular firewall protection there should be nothing to worry about, is this a safe assumption?

The link also says that you cant read NTFS from Linux, but cwaidelich, you are able to do this. What probs are you having with linux/NTFS? Can you write files?

The solution appears to be, just run XP on FAT32.

Pauli: I think you could use an emulator to access windows programs
You mean Wine, right? Wine is pretty much the only windows emulator worth looking at, is that correct?

Thanks for the valuable advice, all!

Last edited by frizzo; 03-10-2004 at 04:00 PM.
Old 03-10-2004, 04:08 PM   #8
Registered: Oct 2003
Location: Mississauga, ON
Distribution: Ubuntu 9.04
Posts: 496

Rep: Reputation: 30
Only use Wine when there are no native Linux versions for a Windows program. Since Apache exists for Linux, then download the Linux version so that you can use both the Windows and Linux Apaches.

Linux can read NTFS fine, you just have to enable NTFS support. The only problem is with writing to NTFS partitions. Linux can't record every attribute to a file you create in the NTFS partition, which may screw up Windows programs when they try to access it. It's okay to modify NTFS files from Linux, but don't try to create new ones. That's why it's best to create a FAT32 partition where you put your documents and data which can be shared between WIN and LIN
Old 03-24-2004, 06:43 PM   #9
Registered: Mar 2004
Distribution: Redhat 8.0
Posts: 54

Rep: Reputation: 15
For short, if your MS Windows XP or 2K was installed on a NTFS partition, you can READ your files from Linux.

To READ and WRITE you should have installed a FAT32 partition.

On a laptop I have Windows XP PRO on a NTFS partition and a SUSE 9.0 PRO (dual boot) : I can read my windows files from the SUSE environment.

Last edited by xbbd; 03-24-2004 at 06:47 PM.


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
Recommended Partition Config for Win/Linux tarwood Linux - Newbie 16 07-17-2005 12:36 AM
Resize Win and Linux Partition pattont Linux - Newbie 12 03-19-2005 10:31 AM
yoper install fail on dual boot win-linux system coz `linux partition not found` coolview210 Yoper 5 11-24-2004 02:04 PM
how can I mount linux partition to win xp ozy777ozy Linux - Enterprise 4 09-21-2004 12:40 AM
linux sharing same HDD partition with win xp actteoh Linux - Hardware 2 05-20-2004 10:14 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:37 PM.

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