SUPPORT THE SITE WITH A CLICK

Subscribe Rss:

SUPPORT THE SITE WITH A CLICK

Sunday, November 4, 2007

How to mount windows partition in linux

U can mount ur windows parition in linux.Before mounting just type the command fdisk -l in your terminal.
For Example:Your Terminal will appear like this:

Device Boot Start End Blocks Id System
/dev/hdc1 * 1 1305 10482381 7 HPFS/NTFS
/dev/hdc2 1306 4864 28587667+ f W95 Ext'd (LBA)
/dev/hdc5 1306 2610 10482381 b W95 FAT32
/dev/hdc6 2611 2638 224878+ 83 Linux
/dev/hdc7 2639 3339 5630751 83 Linux
/dev/hdc8 3340 3470 1052226 82 Linux swap
/dev/hdc9 3471 4864 11197273+ 83 Linux


these are the windows partitions
/dev/hdc2 1306 4864 28587667+ f W95 Ext'd (LBA)
/dev/hdc5 1306 2610 10482381 b W95 FAT32

then create a folder with the name of ur choice /media For Ex: i have created as C

now we want to mount the partition hdc5 so type the command mount /dev/hdc5 /media/C

If u have turned off ur machine then ur windows partions wont mount.If u want to mount ur files after restarting or turned off then u have add ur command in the file /etc/fstab
Open with editor and type like this
/dev/hdc5 /media/C vfat defaults,utf8,umask=007,gid=46 0 1
Note:If ur Winpartition is Fat u can able to read/write the files.If it is ntfs u can able to read only