When installing the Linux version, if there any windows partition Linux automatically enter an entry to the location /etc/fstab or /etc/mtab
Lets think if connect a new Windows hard disk physically to a Linux machine,
Initially you can list down the partition by typing
Code: Select all
# fdisk -l
Device Boot | Start | End | Blocks | Id | System |
/dev/sda1 | 1 | 653 | 5245191 | 12 | Compaq diagnostics |
/dev/sda2 * | 654 | 7028 | 51207187+ | 7 | HPFS/NTFS |
/dev/sda3 | 7041 | 14593 | 60669472+ | f | W95 Ext'd (LBA) |
/dev/sda4 | 7029 | 7040 | 96390 | 83 | Linux |
/dev/sda5 | 9592 | 14593 | 40178533+ | 7 | HPFS/NTFS |
/dev/sda6 | 7041 | 7283 | 1951834+ | 82 | Linux swap / Solaris |
/dev/sda7 | 7284 | 9591 | 18538978+ | 83 | Linux |
You can type
Code: Select all
mount
Code: Select all
.....
....
/dev/sda5 on /media/disk type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
Then you can mount it to a location, first you have to create a mount point in location such as /media/windows
Code: Select all
# mkdir -p /media/windows
# mount -t ntfs-3g /dev/sda5 /media/windows