I still have winxp on my machine. It is installed on an NTFS drive. But there is another Fat32 drive where I keep all my data. That drive can be accessed from both windows (obviously) and from linux.
Yes. That is one of the best things that has happenned. I keep all my data on the fat32 drive which I can access from both linux and windows. Isn’t that pretty cool!!!
This is how I do it.
1. Open a terminal window (this is like going to dos prompt).
2. Shift to root by giving the command “su” (for superuser). it will ask you for the password.
3. fdisk -l
This lists all the disk partitions. they are listed as /dev/hda1, /dev/hda2 etc. identify the ones that are fat32. If it says fdisk not found, use “whereis fdisk” to find its location and then give complete path. On my machine i need to say “/sbin/fdisk -l”
The output on my machine is list this:
sk /dev/hda: 40.0 GB, 40020664320 bytes
240 heads, 63 sectors/track, 5169 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1355 10243768+ 7 HPFS/NTFS
/dev/hda2 1356 5168 28826280 f Win95 Ext’d (LBA)
/dev/hda5 1356 3387 15361888+ b Win95 FAT32
/dev/hda6 3388 3401 105808+ 83 Linux
/dev/hda7 3402 4214 6146248+ 83 Linux
/dev/hda8 4215 4349 1020568+ 83 Linux
/dev/hda9 4350 4484 1020568+ 83 Linux
/dev/hda10 4485 4519 264568+ 82 Linux swap
/dev/hda11 4520 5168 4906408+ 83 Linux
here /dev/hda5 is a win95 fat32 disk. i have to mount it to linux.
4. create directories where you want to mount your fat32 drives. say you want to create win-d and win-e (if you have two fat32 drives). use:
“mkdir /mnt/win-d” and “mkdir /mnt/win-e”
5. now you can mount /dev/hda5 to win-d by the following command
mount /dev/hda5 /mnt/win-d
Similarly for win-e
6. Now the folder /mnt/win-d is mounted to your d drive. This means that if you go to /mnt/win-d you are actually accessing your d drive. To unmount, you can use unmount command.
7. To mount a drive everytime you boot the machine in linux.
For this you need to make an entry in the file /etc/fstab.
Open /etc/fstab in an editor. i use vi editor. (say vi /etc/fstab)
Insert the following line
/dev/hda5 /mnt/win-d vfat users,owner,rw,umask 000 0 0
Add similar line for each fat32 drive you want to mount.
8. Now you can create a shortcut on desktop that links you to /mnt/win-d etc.