[Samba] 2 HD, same PC

Rohan Gilchrist rohan at e-mailme.org
Wed Sep 8 05:14:15 GMT 2004


On Wed, 8 Sep 2004, Bryan Peifer wrote:

> Hello,
>
> I have two hard drives on one PC.  One is a Windows XP drive and the other is 
> a Linux (redhat 9.0) drive.  I want Linux to recognize and share files on the 
> XP drive.  Where is there documentation addressing this situation?  Because 
> now I work mostly with my Linux environment, I wanted to access the XP drive 
> from Linux.
>

Bryan,

What is the file system of you XP drive? If it is FAT or FAT32, then this is easy.

#mount -t vfat /dev/hdx /mnt/whatever

Where x is the letter of the drive. If XP is the first drive, then it will most likely
be /dev/hda1, if it's the second drive, then /dev/hdb1, or /dev/sda1 or /dev/sdb1 if they're
scsi drives.


If the XP drive has the NTFS file system, then you're going to have more work on your hands.

There's a patch that can allow the linux kernel to read NTFS file systems, but I haven't used it
in a while and I can't remember where it can be found.

Alternatively, you can recompile your kernel to allow it to read NTFS file systems (again something
I haven't done for a while), but from memory, mounting an NTFS file system with read/write access is
dangerous (loss of data possible).

Hope this helps.


Rohan Gilchrist 
rohan at e-mailme.org
http://www.e-mailme.org/~rohan/
0412 648 909


***************************************************************************
This e-mail and any files transmitted with it are privileged and
confidential information intended for the use of the addressee. The
confidentiality and/or privilege in this e-mail is not waived, lost or
destroyed if it has been transmitted to you in error. If you have received
this e-mail in error you must:
(a) not disseminate, copy or take any action in reliance on it;
(b) please notify the sender immediately by return e-mail; and
(c) please delete the original e-mail.

Except as required by law, we do not represent, warrant and/or guarantee 
that the integrity of this communication has been maintained nor that the 
communication is free of errors, virus, interception, inference or 
interference.
***************************************************************************
> Bryan Peifer
> brpeifer at earthlink.net
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>


More information about the samba mailing list