[K12OSN] Accessing an NFS Windows partition

Doug Simpson simpsond at leopards.k12.ar.us
Tue Oct 10 14:03:17 UTC 2006


The windows partition will not be NFS. . . It will be NTFS.

Now, depending on the kernel version and whether or not the NTFS support 
is in there, here is one way to do it.

Logged in on the linux computer as root:

make a directory - example

mkdir /cdrive

then mount that directory like this or similar:

mount -t ntfs /dev/hda1 /cdrive

the /dev/hda1 will depend on the partition your ntfs filesystem is in.

One way to do that id to run fdisk and look at partitions.

fdisk /dev/hda     the first IDE hard drive
fdisk /dev/hdb     the second IDE hard drive
  and so on.

So, if fdisk you'll see the partitions listed like:

Disk /dev/sda: 219.8 GB, 219823472640 bytes
255 heads, 63 sectors/track, 26725 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1           4       32098+  de  Dell Utility
/dev/sda2   *           5          69      522112+  83  Linux
/dev/sda3              70        9207    73400985   83  Linux
/dev/sda4            9208       26725   140713335    f  W95 Ext'd (LBA)
/dev/sda5            9208       18345    73400953+  83  Linux
/dev/sda6           18346       22522    33551721   83  Linux
/dev/sda7           22523       23827    10482381   83  Linux
/dev/sda8           23828       24871     8385898+  82  Linux swap
/dev/sda9           24872       26725    14892223+  83  Linux

In my case the drives are SCSI, so they're listed as sda instead of hda.

So say your windows was on /dev/sda4 as in the above example. Your mount 
line would look like:

mount -t ntfs /dev/sda4 /cdrive

Now, again, depending on your kernel and what support you have, you should 
be able to read that partition, but likely not write to it.



Doug Simpson
Technology Specialist
DeQueen Public Schools
DeQueen, AR 71832
simpsond at leopards.k12.ar.us
Tux for President!

On Mon, 9 Oct 2006 jconlon1 at elp.rr.com wrote:

> I am asking how to get into the Windows partition on a dual boot machine
> where the Windows partiton is NFS.
>
> ----- Original Message -----
> From: Jon Spriggs <jon at spriggs.org.uk>
> Date: Monday, October 9, 2006 8:50 am
> Subject: Re: [K12OSN] Accessing an NFS Windows partition
> To: "Support list for open source software in schools." <k12osn at redhat.com>
>
>> Hi there Pat,
>>
>> I think the first thing to do is to iron out exactly what you are
>> asking.
>> Are you asking "How do I access an NFS share that is available on a
>> Linux machine from my Windows XP machine" or are you asking "How do I
>> access data on a NTFS Partition on my Windows XP machine from a Linux
>> machine", or are you asking something different?
>>
>> These two questions produce entirely different results.
>>
>> Regards,
>>
>> Jon
>>
>> On 09/10/06, jconlon1 at elp.rr.com <jconlon1 at elp.rr.com> wrote:
>>> How does one go about accessing the materials in a Windows XP NFS
>> drive> partition?
>>>
>>> Thanks
>>> Pat
>>>
>>> _______________________________________________
>>> K12OSN mailing list
>>> K12OSN at redhat.com
>>> https://www.redhat.com/mailman/listinfo/k12osn
>>> For more info see <http://www.k12os.org>
>>>
>>
>> _______________________________________________
>> K12OSN mailing list
>> K12OSN at redhat.com
>> https://www.redhat.com/mailman/listinfo/k12osn
>> For more info see <http://www.k12os.org>
>>
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>




More information about the K12OSN mailing list