Mount a NTFS partition in ubuntu
first create a directory at media directory with a name say eg: temp
# sudo mkdir -p /media/test
now list the drives by for getting information about the drive to mount
# sudo fdisk -l
you will get
Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x2b192b18
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1913 15361888+ 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 1913 4866 23720033+ f W95 Ext'd (LBA)
/dev/sda5 1913 3187 10236208+ 7 HPFS/NTFS
/dev/sda6 3187 4802 12967936 83 Linux
/dev/sda7 4802 4866 514048 82 Linux swap / Solaris
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003cc40
Device Boot Start End Blocks Id System
/dev/sdb1 1 19458 156289025 5 Extended
/dev/sdb5 32 19393 155523072 83 Linux
now mount by following code for any drive
# sudo mount -t ntfs -o nls=utf8,umask=0222 /dev/sdb2 /media/temp
No comments:
Post a Comment
comment here.............