Solved

Accessing NTFS drives in Ubuntu

Posted on 2006-11-19
5
358 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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 …
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…
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.

747 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

11 Experts available now in Live!

Get 1:1 Help Now