[Sderby] Accessing Windows partitions

Peter Hughes sderby at mailman.lug.org.uk
Thu Oct 3 09:56:01 2002


----- Original Message -----
From: "Ian Simpson" <iansimpson@clara.co.uk>
To: <sderby@mailman.lug.org.uk>
Sent: Thursday, October 03, 2002 8:37 AM
Subject: Re: [Sderby] Accessing Windows partitions


> Hi Mike,
>
> I have two HDs, one 20GB partitioned 4 ways (drives C, D, E, F),
> all being used by WinMe and one 6GB that I put Linux on.
>
> When I browse around using Konqueror, or view the file system
> from a shell window, I can see a /windows directory directly
> under Root.  Inside this directory are 4 more called C, D, E and
> F. If I try to view the contents of these directories, either as
> root or user:ian, they all appear to be empty.
>
> If I list the contents of the /windows directory in a shell
> window I get...
>
> drwxr-xr-x  2  root  4096  Aug 18  17:22  C/
> drwxr-xr-x  2  root  4096  Aug 18  17:22  D/
> drwxr-xr-x  2  root  4096  Aug 18  17:22  E/
> drwxr-xr-x  2  root  4096  Aug 18  17:22  F/
>
> I still can't get my head around *nix's way of referring to
> drives - does 'hda' refer to a physical drive or a partition?
> and apart from behind with your wellies on, just what is a mount
> point?
>

Ian,

try the following command:

    mount -t vfat /dev/hda1 /windows/C

then have a look if anything is in the /windows /C directory.

If it works then mount the other three drives as follows:

    mount -t vfat /dev/hda2 /windows/D
    mount -t vfat /dev/hda3 /windows/E
    mount -t vfat /dev/hda4 /windows/F

I will try and find time later to post more details on mounting partitions
and how to mount the drives at boot time.

Regards,

Peter