There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer black screen blue screen boot bsod computer connection crash css dell display driver drivers email error excel explorer firefox firefox 3 game hard drive internet internet explorer itunes laptop linux malware monitor network networking outlook outlook 2003 outlook express password printer problem ram router security slow software sound startup trojan usb virus vista windows windows xp wireless
UNIX/Linux
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > UNIX/Linux >
Solved: FC4 - Need to veiw NTFS Partition


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
Omega_Shadow's Avatar
Distinguished Member with 4,330 posts.
 
Join Date: Aug 2004
Location: Somewhere south of Hell
Experience: Bringing Linux to the Masses
01-Aug-2005, 08:17 AM #1
Solved: FC4 - Need to veiw NTFS Partition
Under Mandrake I can read from my NTFS paritions. I never had to set anything up, it was all automatic. The drives partitions where listed under /mnt

Now with Fedora, I need to know how to access those drives. Any suggestions?
linuxphile's Avatar
Administrator with 379 posts.
 
Join Date: Mar 2003
Location: MD
Experience: Intermediate
01-Aug-2005, 08:48 AM #2
Check out the Fedora FAQ
There is an FAQ/HOWTO on this at http://www.fedorafaq.org/#ntfs

Once you've installed the kernel module you should be able to mount your NTFS drive with a command similar to: mount /dev/hda1 /some/mountpoint

Where /dev/hda1 is your NTFS partition.
Omega_Shadow's Avatar
Distinguished Member with 4,330 posts.
 
Join Date: Aug 2004
Location: Somewhere south of Hell
Experience: Bringing Linux to the Masses
01-Aug-2005, 09:18 AM #3
wow, that was easyer then I thought...
Almost disipointed.
All well, Thanx for the help!


EDIT> Spoke too soon
[root@localhost Omega_Shadow]# yum install kernel-module-ntfs-$(uname -r)
Setting up Install Process
Setting up repositories
updates-released 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: kernel-module-ntfs-2.6.11-1.1369_FC4
Nothing to do
[root@localhost Omega_Shadow]# mount /dev/hda2
mount: can't find /dev/hda2 in /etc/fstab or /etc/mtab



I followed everything to the letter. What did I do wrong?

EDIT> Edited YUM and got the kernal module to install, stil can not mount the drive though.
__________________
I'm not here. I am just more likely to be here then not be here. It's physics, I don't expect you to understand.

Last edited by Omega_Shadow : 01-Aug-2005 10:06 AM.
Omega_Shadow's Avatar
Distinguished Member with 4,330 posts.
 
Join Date: Aug 2004
Location: Somewhere south of Hell
Experience: Bringing Linux to the Masses
01-Aug-2005, 12:33 PM #4
Under Root I type the command "mount /dev/hda2". Is this correct or am I doing something wrong?
linuxphile's Avatar
Administrator with 379 posts.
 
Join Date: Mar 2003
Location: MD
Experience: Intermediate
01-Aug-2005, 01:01 PM #5
You haven't provided a mount point.


Try mount /dev/hda2 /somedir
Where somedir is an empty directory that you can use for mounting /dev/hda2
Squashman's Avatar
Distinguished Member with 12,699 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
01-Aug-2005, 04:59 PM #6
Quote:
Originally Posted by linuxphile
You haven't provided a mount point.


Try mount /dev/hda2 /somedir
Where somedir is an empty directory that you can use for mounting /dev/hda2
Yep, just keep it simple. Create a directory under /mnt to mount the file system to. If you want the filesystem to mount everytime you turn on your system you will need to edit the file /etc/fstab
Omega_Shadow's Avatar
Distinguished Member with 4,330 posts.
 
Join Date: Aug 2004
Location: Somewhere south of Hell
Experience: Bringing Linux to the Masses
01-Aug-2005, 08:03 PM #7
root@localhost Omega_Shadow]# mount /dev/hda2 /mnt/win_d
mount: you must specify the filesystem type

How do I specify the filesystem?

And while on the subject, how do I edit /etc/fstab?
Squashman's Avatar
Distinguished Member with 12,699 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
01-Aug-2005, 08:11 PM #8
mount -t ntfs
Omega_Shadow's Avatar
Distinguished Member with 4,330 posts.
 
Join Date: Aug 2004
Location: Somewhere south of Hell
Experience: Bringing Linux to the Masses
01-Aug-2005, 09:25 PM #9
[root@localhost Omega_Shadow]# mount /dev/hda2 /mnt -t ntfs
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

What did I do wrong this time?!
__________________
I'm not here. I am just more likely to be here then not be here. It's physics, I don't expect you to understand.
Squashman's Avatar
Distinguished Member with 12,699 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
01-Aug-2005, 10:35 PM #10
Create a directory in /mnt to mount the filesystem to.

mount -t ntfs /dev/hda2 /mnt/windows

Kind of helps to read the man page to know the syntax of the command.
Omega_Shadow's Avatar
Distinguished Member with 4,330 posts.
 
Join Date: Aug 2004
Location: Somewhere south of Hell
Experience: Bringing Linux to the Masses
02-Aug-2005, 08:26 AM #11
It realy surprizes me how the Linux elite always say something is simple and then leave out all the major details (talking about the FAQ, not you guys)

I cant make a dir in /mnt. I could become root and do it, but If I understand linux security then I would only be able to accsess said folder as root, defeating the perpouse of haveing my windows media partition "easly accessable". I even tried makeing a folder on the desktop and mounting to it. The folder automaticly locks itself after the mount. What is the point of mounting a drive if I cant get to it?
__________________
I'm not here. I am just more likely to be here then not be here. It's physics, I don't expect you to understand.
brendandonhu's Avatar
Distinguished Member with 15,988 posts.
 
Join Date: Jul 2002
Location: Ann Arbor, MI
Experience: Advanced
02-Aug-2005, 12:45 PM #12
ALL filesystems are mounted as root on most systems. You can still access the mounted partition as a regular user.
Its not really that hard to make a directory as root...
sudo
mkdir /mnt/blah

And you're done.

Add the partition to /etc/fstab if you want it to be mounted automatically.
__________________
-Brendan
Omega_Shadow's Avatar
Distinguished Member with 4,330 posts.
 
Join Date: Aug 2004
Location: Somewhere south of Hell
Experience: Bringing Linux to the Masses
02-Aug-2005, 01:19 PM #13
""Omega_Shadow is not in the sudoers file. This incident will be reported.""

Reported to whom?! Myself?!
brendandonhu's Avatar
Distinguished Member with 15,988 posts.
 
Join Date: Jul 2002
Location: Ann Arbor, MI
Experience: Advanced
02-Aug-2005, 01:30 PM #14
Try doing
/bin/su instead
That shouldn't need any configuration. If you want to use sudo you can edit yourself into the /etc/sudoers file.
Omega_Shadow's Avatar
Distinguished Member with 4,330 posts.
 
Join Date: Aug 2004
Location: Somewhere south of Hell
Experience: Bringing Linux to the Masses
02-Aug-2005, 01:39 PM #15
Quote:
Originally Posted by brendandonhu
If you want to use sudo you can edit yourself into the /etc/sudoers file.
How do I do that?
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 12:29 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.