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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
10-06-2003, 06:07 PM
|
#1
|
Member
Registered: Oct 2003
Distribution: Gentoo, Knoppix
Posts: 62
Rep:
|
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.
|
|
|
10-06-2003, 06:11 PM
|
#2
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
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.
|
|
|
10-06-2003, 06:14 PM
|
#3
|
Member
Registered: Oct 2003
Distribution: Gentoo, Knoppix
Posts: 62
Original Poster
Rep:
|
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.
|
|
|
10-06-2003, 06:19 PM
|
#4
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
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..........
|
|
|
10-06-2003, 06:24 PM
|
#5
|
Member
Registered: Oct 2003
Distribution: Gentoo, Knoppix
Posts: 62
Original Poster
Rep:
|
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.
|
|
|
10-06-2003, 06:32 PM
|
#6
|
LQ Addict
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661
Rep:
|
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.
|
|
|
10-06-2003, 06:39 PM
|
#7
|
Member
Registered: Oct 2003
Distribution: Gentoo, Knoppix
Posts: 62
Original Poster
Rep:
|
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.
|
|
|
10-06-2003, 06:52 PM
|
#8
|
LQ Addict
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661
Rep:
|
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.
|
|
|
10-06-2003, 06:53 PM
|
#9
|
LQ Addict
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661
Rep:
|
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?
|
|
|
10-06-2003, 06:54 PM
|
#10
|
LQ Addict
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661
Rep:
|
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.
|
|
|
10-06-2003, 07:07 PM
|
#11
|
Member
Registered: Dec 2002
Location: Phoenix
Distribution: Mandrake 9.2
Posts: 228
Rep:
|
When suse 9.0 comes out you should have no problems doing this considering its new ntfs support features.
|
|
|
10-06-2003, 07:08 PM
|
#12
|
Member
Registered: Oct 2003
Distribution: Gentoo, Knoppix
Posts: 62
Original Poster
Rep:
|
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.
|
|
|
10-06-2003, 11:26 PM
|
#13
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
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.
|
|
|
10-07-2003, 07:28 AM
|
#14
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637
Rep:
|
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.
|
|
|
10-07-2003, 10:40 AM
|
#15
|
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
|
yeah, sure it's possible, try setting up samba to share the volume, or better yet, ftpd and tne just copy
|
|
|
All times are GMT -5. The time now is 04:04 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|