Please put your Linux distro in your profile. If you use SuSE or Fedora or Mandriva Linux, then you can run the Partitioner program and select the partition, select edit and then enter a mount point. Make sure that you don't have the format option checked. Also indicate which drive is what, C, D, E & F are MSDOS device names for partitions. Look at the output of "sudo /sbin/fdisk -l". An IDE PATA drive will have an name starting with "hd" for "hard disk", while a SATA or SCSI drive will have a name starting with the letters "sd".
You can also do this manually. First create, as root, the directories to mount this partitions. I would suggest perhaps:
sudo mkdir /mnt/windows/c
sudo mkdir /mnt/windows/e
sudo mkdir /mnt/windows/f
If either the e or f partitions have a particular use, you might want to choose more human friendly names, such as "/mnt/windows/mp3s" or "/mnt/windows/downloads".
Assuming these partitions use XP's default NTFS filesystem, make sure that the Linux kernel's NTFS module is loaded.
lsmod | grep ntfs
If you don't see ntfs listed then execute the command:
sudo /sbin/modprobe ntfs
Next add a line in each file in /etc/fstab for your NTFS partitions. I will assume that only a single user should have access and use "syrya" as the username:
/dev/sda1 /windows/c ntfs ro,uid=syrya,umask=0007,utf8=true
/dev/sdb1 /windows/e ntfs ro,uid=syrya,umask=0007,utf8=true
/dev/sda3 /windows/f ntfs ro,uid=syrya,umask=0007,utf8=true
I also make several assumptions about which partition corresponded to which msdos device name. Windows will name a second disk D:\ is it exists, so I assumed you have two hard drives in your computer. You didn't mention where the swap partition was. You will need to list all of the partitions on your system with the "sudo /sbin/fdisk -l" command. Determine which partition is which before changing /etc/fstab.
If you have a printer, set up as the default, you can print it out with the command:
sudo /sbin/fdisk -l | lpr
Save the printout because if in the future, if you accidently damage the MBR on either drive, this could help you recover the old partiitons. ( Although a backup of the MBR itself is recommended. ).
Last edited by jschiwal; 09-28-2007 at 09:07 AM.