If windows is the master hard drive (first IDE drive), it will be called "hda", if it is the slave hard drive, it will be called "hdb". If you have multiple partitions of the windows drive, you will need to know the partition number, so you can mount it. If the windows drive only has one partition, it will be partition number 1. You can read the partition table with the command:
as root, then enter "p" to print the partition table.
Once you know what partition you want access to, you have to mount it. Create a directory for it:
then mount it (assuming master drive partition 1 or hda1):
Code:
mount -t vfat /dev/hda1 /mnt/windows
where "vfat" is used for fat partitions and "ntfs" would be used for ntfs partitions. You should then be able to read the contents as root in the directory /mnt/windows.
If you want users to be able to access the drive, you need to modify the file /etc/fstab. Do a search here for that. Here is the line I use in fstab:
Quote:
/dev/hda5 /mnt/hda5 vfat auto,users,owner,exec,umask=000 0 0
|
The "auto" means it is automatically mounted at boot up in the directory /mnt/hda5.