LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-06-2003, 06:07 PM   #1
squall14716
Member
 
Registered: Oct 2003
Distribution: Gentoo, Knoppix
Posts: 62

Rep: Reputation: 15
Sharing a harddrive partition (NTFS) on Linux with Windows XP Home.


Is this even possible?

EDIT: I forgot to say that I am talking about sharing it from a computer running Linux to a computer running XP over a network.

Last edited by squall14716; 10-06-2003 at 06:15 PM.
 
Old 10-06-2003, 06:11 PM   #2
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
I'm not quite sure what you mean - however - Linux can read NTFS filesystems fine but can't write to them succesfully yet - you can certainly mount NTFS partitions into Linux and read them (just not write succesfully yet)

Last edited by Skyline; 10-06-2003 at 06:12 PM.
 
Old 10-06-2003, 06:14 PM   #3
squall14716
Member
 
Registered: Oct 2003
Distribution: Gentoo, Knoppix
Posts: 62

Original Poster
Rep: Reputation: 15
Here's what I want to do.

Using Linux, I want to share the NTFS partition with Windows XP. After I can access the partition in Windows XP, copy all data from it to a different NTFS partition located inside the XP computer.
 
Old 10-06-2003, 06:19 PM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Unfortunately, because Linux cant write to NTFS succesfully yet this would be like copying, exclusively XP data from one XP partition to another - you'd be mounting the partition in Linux - reading it fine but unable to write to it succcesfully..........
 
Old 10-06-2003, 06:24 PM   #5
squall14716
Member
 
Registered: Oct 2003
Distribution: Gentoo, Knoppix
Posts: 62

Original Poster
Rep: Reputation: 15
Linux won't be writing to the NTFS partition, Windows XP will.

I want Windows to recognize the harddrive through the network, then using XP, copy all of it to a different partition.
 
Old 10-06-2003, 06:32 PM   #6
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
I'm not sure I understand the situation. Is the situation that you have an ntfs partition containing data on a machine that does not have any windows installed? Couldn't you just take out the hd and plug it into the machine that has windows? Sorry if I'm completely missing the point.
 
Old 10-06-2003, 06:39 PM   #7
squall14716
Member
 
Registered: Oct 2003
Distribution: Gentoo, Knoppix
Posts: 62

Original Poster
Rep: Reputation: 15
It's not that this computer doesn't have windows, it is that windows won't boot. What I am trying to do is use a combonation of Linux and maybe even DOS to get the data off the harddrive and onto a larger harddrive - namely a 120 BG HD on my sister's Windows XP computer. Now, the problem is, my sister is paranoid and thinks I'll screw it up, so she isn't letting my touch the inside of her computer. Furthermore, I have never tried any hardware-related tasks... ever. So putting the harddrive into her computer physically is a last resort.
 
Old 10-06-2003, 06:52 PM   #8
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
have you tried fixing the mbr for the machine where windows doesn't boot? If you have a winXP installation CD, you can do it from the recovery console (I don't know the exact details; i"m sure you can find things on this forum and elsewhere) or you can use a dos disk and do fdisk /mbr from inside dos. Of course, make a boot floppy or have some otehr way of booting linux ready before you do this.
 
Old 10-06-2003, 06:53 PM   #9
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
have you tried fixing the mbr for the machine where windows doesn't boot? If you have a winXP installation CD, you can do it from the recovery console (I don't know the exact details; i"m sure you can find things on this forum and elsewhere) or you can use a dos disk and do fdisk /mbr from inside dos. Of course, make a boot floppy or have some otehr way of booting linux ready before you do this.

BTW, if you have a bootloader installed, does win at least appear as an option?
 
Old 10-06-2003, 06:54 PM   #10
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
also, you can read from an ntfs partition under linux, so if you have a cd burner, you could do via burning onto cds. might be faster in the end.
 
Old 10-06-2003, 07:07 PM   #11
TazLinux
Member
 
Registered: Dec 2002
Location: Phoenix
Distribution: Mandrake 9.2
Posts: 228

Rep: Reputation: 30
When suse 9.0 comes out you should have no problems doing this considering its new ntfs support features.
 
Old 10-06-2003, 07:08 PM   #12
squall14716
Member
 
Registered: Oct 2003
Distribution: Gentoo, Knoppix
Posts: 62

Original Poster
Rep: Reputation: 15
Partition Magic has screwed up the Windows partition (although the data can still be read from Linux). It gives an error 46: Seek Error in the DOS version of Partition Magic. I tried doing a CHKDSK in DOS, but DOS 5.0 will not recognize the C:\ drive, so that was a no go.
 
Old 10-06-2003, 11:26 PM   #13
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
should be no problem at all, just setup the mount to have read access by the user or nobody, setup the samba share. Then copy the files over with network neighborhood if that's what you are doing. I would prefer to use ftp myself though.

/etc/fstab
Code:
/dev/hda1  /mnt/xp ntfs noauto,ntusers,ro,exec,umask=0007,uid=nobody,gid=nobody 0  0
you can add users you want to access it to the group ntusers, create the group then add users.

Last edited by DavidPhillips; 10-06-2003 at 11:37 PM.
 
Old 10-07-2003, 07:28 AM   #14
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637

Rep: Reputation: Disabled
Easiest way (I think ) would be to create a FAT partition under Linux (which can read and write those), copy the data there (perhaps loosing some finer details of the ntfs permissions) and read them from there under XP.
 
Old 10-07-2003, 10:40 AM   #15
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
yeah, sure it's possible, try setting up samba to share the volume, or better yet, ftpd and tne just copy
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sharing files between linux and windoze. Re format NTFS partition to FAT32? baldox Linux - Newbie 6 12-22-2006 12:01 AM
windows and linux sharing an ext2/3 partition Marc L. Linux - Software 5 12-05-2005 10:44 AM
Linux/Windows Partition and Sharing Files njschroe Linux - General 2 11-30-2004 02:43 AM
Can I mount my windows NTFS partition from Linux? jdruin Fedora 14 04-21-2004 12:49 PM
accessing windows ntfs partition from linux rsingh Linux - Newbie 2 06-10-2003 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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