LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-23-2005, 11:36 AM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 795

Rep: Reputation: 39
Accessing a local windows 2000/xp filesystem from linux and vice versa


Hi there --

I am installing Fedora Core 2 and then plan on installing Windows 2000 or XP on a single harddrive. The system will then be configured with Partition Magic to enable dual-boot capability.

I would like to be able to access files on the Windows partition from Linux and be able to the same for Linux from Windows.

My thinking was to install the Samba server and client on the workstation. I am not sure what the correct configuration would be if I went this route. Can someone enlighten me on this?

Also, if there is a better way to accomplish the the above, please let me know. Thanks.
 
Old 05-23-2005, 12:23 PM   #2
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
(1) your question is very little FC2-specific, so it would probably be better off in general
(2) I assume you have your own reasons for picking FC2 over FC3
(3) it's not perfectly clear from your post what you want, but my best guess is this:

You have a single machine. You want to be able to run both FC2 and msdos on it, though only one at a time. You want each OS to take advantage of the filesystems they provide, but only to such an extent that when running one, you can have full rw access to the files of the other.

if any of these assumptions are incorrect, please tell us which.

if they are correct, then samba is not the solution: (afaik) sambda is for communicating with linux and windows running at the same time (most likely on seperate boxen).

the obvious solution would be to find out which file systems are supported under both OSes and pick the ones `most native' to each OS for that OS.

linux:
read-only(*) ntfs
read-write: fat
read-write: ext2 ext3 reiserFS (and a gazillion more, but these three are by far the most common)

windows:
read-?: reiser fs (I think)
read-write (i think): ext2
read-write (more `native'): ntfs, fat
iirc, windows won't install on anything except ntfs and fat (and afai'm told, fat is crap).

(*) technically speaking, the ntfs driver *can* write, but only on top of existing files, and it can't change the size (last time I checked).

so far, my experience with reiserFS is that it is blindingly fast for small files (i.e. most files) and fine for large files too.

my best guess for a solution:
ext2 for linux, fat for windows--but I urge you to check into matters yourself. ext2 is getting dated (though not bad), and fat... well, see above.

hth --Jonas
 
Old 05-23-2005, 01:29 PM   #3
kaplan71
Member
 
Registered: Nov 2003
Posts: 795

Original Poster
Rep: Reputation: 39
Thanks for your reply. I was doing some additional planning and I believe this is what I'll do:

Create an additional partition, after the initial Windows install, that is formatted with the FAT32 filesystem.
Modify the fstab file in Linux to mount the partition on boot.

My only question is what would the correct syntax be within the fstab file?
 
Old 05-23-2005, 01:48 PM   #4
rarsa
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Puppy Linux/ Mint
Posts: 210

Rep: Reputation: 31
Here is my advice

To have full read/write access in both directions do the following:
- Install XP in a fat32 partition (if you install it in a NTFS it will be read only)
- Install linux in another fat32 partition

XP will automatically recognize the linux partition as drive D:

For linux to mount the XP partition at boot time do the following

Create a mount point folder

Code:
mkdir /media/windows
or
mkdir /mnt/windows
Then try with the following command:
Code:
mount /dev/hda1 /media/windows/
If you can access your partition the next step will mount it whenever you boot your computer

Open '/etc/fstab' in an editor and add these lines to the END of the file:

/dev/hda1 /media/windows auto defaults,users 0 0

If you decide to install windows in a NTFS partition, you can follow the instructions here
 
Old 05-23-2005, 04:43 PM   #5
leadazide
Member
 
Registered: Apr 2004
Location: Germany
Distribution: SuSE 11.0, Ubuntu 7.10
Posts: 390

Rep: Reputation: 30
I doubt you can install Linux onto a FAT32 partition, since it doesn't support permissions and executable bits.
 
Old 05-23-2005, 10:55 PM   #6
rarsa
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Puppy Linux/ Mint
Posts: 210

Rep: Reputation: 31
He can

He can install on a FAT32. I did not say it is advisable.

I personally prefer to have WindowsXP in NTFS, linux in ext3 and have a shared FAT32 partition where both can read and write.
 
Old 05-24-2005, 09:46 AM   #7
leadazide
Member
 
Registered: Apr 2004
Location: Germany
Distribution: SuSE 11.0, Ubuntu 7.10
Posts: 390

Rep: Reputation: 30
You can install it but nothing will run since permissions, executable bits and symlinks aren't supported and I doubt anything will run without these features
 
  


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
Virus concerns: Can windows viruses affect linux, vice versa red118a Linux - Security 9 04-20-2004 05:59 AM
ssh from windows to linux and vice versa pyromania Linux - Networking 6 04-14-2004 04:17 PM
Linux talking to Windows and vice versa tripweed Linux - Networking 4 04-07-2004 09:47 AM
seeing windows files in linux and vice versa shycalais Linux - Newbie 5 09-10-2003 10:05 AM
accessing win2k files from R.H 7.1 and vice versa that are on the same hard drive iquadri1 Linux - Networking 8 10-03-2001 11:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:34 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