Ubuntu 9.4 – How to mount your Windows C Drive in Ubuntu

person Jason Huangfolder_openHOW-TO, LINUXaccess_time November 29, 2009

After you installed Ubuntu 9.4 from Windows, the Ubuntu installation is actually stored in a folder called Ubuntu in your windows hard drive.

However, there is a very easy way to access your file in Windows hard drive in Ubuntu.

1. First you need to create a folder to represent the windows hard drive, open the terminal window, and type in following command:

sudo mkdir -p /media/c

(sudo command is needed to use admin priviledges, this command create a directory in /media/c, it would prompt you for the admin password.)

2. use following command to find out partition information on your pc:

sudo fdisk -l

you’ll get output such as:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x8d4babda

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      102400    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2              13       60802   488282112    7  HPFS/NTFS

3. Now you need to mount sda1 or sda2 as /media/c. Use the following command:

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

Now you can access your files as usual in Ubuntu.

Comment

  1. Thanks for the instruction! It worked for me!

warningComments are closed.