Solved

Accessing NTFS drives in Ubuntu

Posted on 2006-11-19
5
363 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

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

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
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 …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

623 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