LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-22-2007, 09:32 PM   #1
lplasc
LQ Newbie
 
Registered: Apr 2007
Distribution: mandrivia 2007
Posts: 5

Rep: Reputation: 0
mounting ntfs drives in ubuntu 6.10


Hi I'm a first time Linux user running Ubuntu 6.10 trying to access a hard drive that is formated in ntfs. This is the command that I used
luis@luis-desktop:/$ sudo mount /dev/hda2 /media/windows -t ntfs -o umask=0002,nls=utf8

this is the error i get.
mount: wrong fs type, bad option, bad superblock on /dev/hda2,
missing codepage or other error
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)
In some cases useful info is found in syslog - try
dmesg | tail or so
Any ideas on what I'm doing wrong or how I might fix it.
 
Old 04-22-2007, 10:21 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
Did you try "dmesg | tail" to see if there are any more specific errors from the mount attempt?
 
Old 04-22-2007, 10:24 PM   #3
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
Hi lplasc,
Welcome for your 1st post.

In order to change data in ntfs partition, you need to mount the ntfs partition using ntfs-3g module.

sudo apt-get install ntfs-3g


add this entry in /etc/fstab
Quote:
/dev/sda2 /media/windows ntfs-3g defaults,user=yourusername,rw 0 1
good luck,
Regards,
Ks
 
Old 04-24-2007, 02:25 AM   #4
lplasc
LQ Newbie
 
Registered: Apr 2007
Distribution: mandrivia 2007
Posts: 5

Original Poster
Rep: Reputation: 0
I manage to mount the hard drive. First I run fdisk -l to see how the hard drives were assigned. found out my windows drive was hdb instead of hda. then i just typed
sudo mount /dev/hdb1 /media/windows -t ntfs -o umask=0002,nls=utf8
now im going to try to get write permissions.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting NTFS SATA RAID-0 drives with knoppix drawagoat Linux - Newbie 2 04-29-2006 03:54 AM
Mounting NTFS drives in SuSE Dunkalis Linux - General 3 08-03-2005 05:16 PM
Getting Ubuntu to see ntfs drives, and getting xmms to work with it too silverbullet Debian 1 11-15-2004 01:29 AM
Mounting NTFS drives on Fedora nowaydown1 Linux - Newbie 3 04-27-2004 05:25 PM
error when mounting ntfs drives ab84h Linux - Hardware 6 12-01-2002 01:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration