2011/05/24

How to mount windows drive - Ubuntu 11.04

If you have both Ubuntu and Windows installed in your computer, you
may want to access Windows Drive from Ubuntu, here is how,

1. create a folder under media,

<code>sudo mkdir -p /media/c</code>

2. sudo fdisk -l
You will see something like the following,

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 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: 0x9c879c87

Device Boot Start End Blocks Id System
/dev/sda1 * 1 8421 67641651 7 HPFS/NTFS
/dev/sda2 8423 9728 10490445 7 HPFS/NTFS

3. mount it

sudo mount -t ntfs -o nls=utf8,umask=0222 /dev/sda1 /media/c

Note that /dev/sda1 is my Device, yours may be different!!!

No comments:

Post a Comment