Solved

Accessing NTFS drives in Ubuntu

Posted on 2006-11-19
5
359 Views
Last Modified: 2013-11-15
How can I find out where my NTFS partition is (like dev/hd1 etc), and how can I then mount it to be accessed in Ubuntu,

I'm an Ubuntu n00b, so consider that when answering.
0
Comment
Question by:andersonmarske
  • 3
  • 2
5 Comments
 
LVL 1

Accepted Solution

by:
data_grrr earned 350 total points
ID: 17976036
if you want to take a quick look

in the terminal:

sudo fdisk -l

this lists the partitions.

then  write

sudo gedit /etc/fstab

it should look like this:

Kod:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda3       /               reiserfs notail          0       1
/dev/hda5       /arsiv          reiserfs defaults        0       2
/dev/hda6       /home           reiserfs defaults        0       2
/dev/hda1       /media/hda1     ntfs    defaults        0       0
/dev/hda2       /media/hda2     vfat    defaults        0       0
/dev/hda7       none            swap    sw              0       0
/dev/hdd        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/hdc        /media/cdrom1   udf,iso9660 user,noauto     0       0


if hda1 is ntfs then change it like this:

/dev/hda1       /media/hda1     ntfs    ro,users,gid=users,umask=0002, 0 0

i hope it helps.


0
 
LVL 1

Expert Comment

by:data_grrr
ID: 17976056
usually ubuntu mounts the disks to the /media directory
0
 
LVL 1

Assisted Solution

by:data_grrr
data_grrr earned 350 total points
ID: 17976874
"/dev/hda1       /media/hda1     ntfs    ro,users,gid=users,umask=0002, 0 0 "  line makes your ntfs partition readable. its not writable because it's risky and ubuntu doesn't support it. you might create a fat32 partition on windows and share it with ubuntu.
0
 

Author Comment

by:andersonmarske
ID: 17979965
I type in sudo fdisk-l and I get:

/dev/sda1   *           1       24310   195270043+   7  HPFS/NTFS
/dev/sda2           24311       30259    47785342+  83  Linux
/dev/sda3           30260       30515     2056320    5  Extended
/dev/sda5           30260       30515     2056288+  82  Linux swap / Solaris

sda1 isn't listed in /etc/fstab
0
 

Author Comment

by:andersonmarske
ID: 17980035
Ah I've done it. I modified /etc/fstab to the following:

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda2
UUID=cc62f22f-6b98-4fcb-87f7-8da607cc26f1 /               ext3    defaults,errors=remount-ro 0       1
# /dev/sda5
UUID=0670ff67-a861-4f9b-a4cf-acd9103a9431 none            swap    sw              0       0

/dev/sda1       /media/windows    ntfs    ro,users,gid=users,umask=0002, 0 0
/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/hdd        /media/cdrom1   udf,iso9660 user,noauto     0       0
/dev/           /media/floppy0  auto    rw,user,noauto  0       0

I already created a mount point called Windows.

Thank you!
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
gdb doesn't stop on breakpoint 2 51
Python variable _ manually assigned 9 66
Backup & Restore 3 47
Delete a folder on a linux computer on a regular basis 10 24
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now