Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Accessing NTFS drives in Ubuntu

Posted on 2006-11-19
5
Medium Priority
?
364 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 1400 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 1400 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

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

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

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

722 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