LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training 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 10-05-2004, 02:18 PM   #1
idissi
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Rep: Reputation: 0
ntfs on FC2 step by step PLEASE


Can someone write out in plain english how to to read ntfs partitions on FC2.

I downloaded the ntfs files needed, and wrote the required lines on the fstab file but all i get is a general error message, saying the partition(s) have bad blocks, are of the wrong type, or something or other.
 
Old 10-05-2004, 04:01 PM   #2
iZvi
Member
 
Registered: Mar 2004
Location: Valhalla
Distribution: Slackware-current, kernel 2.6.31
Posts: 284

Rep: Reputation: 35
And what is the exact message?
Probably you don´t have ntfs support in the kernel. Try ¨modprobe ntfs¨.
 
Old 10-05-2004, 04:05 PM   #3
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
1. Download and install the precompiled RPM for ntfs support for your kernel version(uname -r) here:
http://linux-ntfs.sourceforge.net/rpm/fedora2.html

2. Mount it, eg: mount -t ntfs /dev/hda1 /mnt/hda1
 
Old 10-05-2004, 07:43 PM   #4
idissi
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Original Poster
Rep: Reputation: 0
this is the message I get even following the above instructions

mount: wrong fs type, bad option, bad superblock on /dev/hdc3,
or too many mounted file systems
 
Old 10-06-2004, 01:17 AM   #5
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
You must have the matching kernel-ntfs RPM installed, like this:
Code:
[martin@chameleon martin]$ rpm -q kernel-ntfs
kernel-ntfs-2.6.8-1.521
[martin@chameleon martin]$ uname -r
2.6.8-1.521
[martin@chameleon martin]$
You should also have a line in /etc/fstab which could look something like this:
Code:
/dev/hda3               /mnt/win                ntfs    umask=0222       0 0
and in /mnt:
Code:
[martin@chameleon martin]$ ls -l /mnt
total 16
drwxr-xr-x  2 root root 4096 Jun 23 20:24 cdrom
drwxr-xr-x  2 root root 4096 Jun 23 20:24 floppy
dr-xr-xr-x  1 root root 8192 Aug 17 16:40 win
[martin@chameleon martin]$
Do you need more help? Feel free to ask again!
Martin
 
Old 10-06-2004, 07:22 PM   #6
idissi
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Original Poster
Rep: Reputation: 0
The above didnt work, I've get the latest kernel and am downloading the laters ntfs rpm from the site. everything installs properly when i run the rpm. But whenevr I try to mount nothing.

I just noticed something though, it seems all my partitions are inside an extended drive, I don't know what that might mean, as I only know of extended drives exisisting in windows.

Is there another way to get ntfs support or, can I move some files around on my own.

Its crazy all this for a few word files basically
 
Old 10-06-2004, 08:45 PM   #7
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,153

Rep: Reputation: 60
i'm not too comfortable with umask=0222
here's my line

/dev/hda1 /mnt/winxp ntfs auto,ro,users,umask=000 0 0

try this...it might help.

Tux,

not to mention...replace with your device blocks
 
Old 10-06-2004, 09:01 PM   #8
idissi
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Original Poster
Rep: Reputation: 0
JESUS FLIPPIN CHRIST!

I just tryed the above, and guess what...NOTHING same old general message, is there log file I can look at to get more info?
 
Old 10-06-2004, 09:49 PM   #9
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 35
I have always had to recompile the kernel to enable ntfs. I obviously have been wrong.

If you want to recompile the kernel, do these steps

cd /usr/src/linux
make mrproper
make oldconfig
make menuconfig

find the filesystems choice and click on ntfs to build it as a module. Do not select write support!
exit and save your new .config file.

now just execute
make dep clean bzImage modules modules_install install

It will take anywhere between 30 minutes to an hour

reboot and select your new kernel

make a mount point (I use /xp)
then
mount /dev/hda1 /xp
It probably won't even prompt you for the type filesystem, but if it does,
mount -t ntfs /dev/hda1 /xp
 
Old 10-07-2004, 12:12 AM   #10
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30


What is the output from
/sbin/fdisk -l
(That's a lower-case L, this command requires root privileges)

If you open a second terminal window as root and issue the command
tail -f /var/log/messages
then you'll get all the error messages from syslog in that window.

Martin
 
Old 10-09-2004, 04:39 PM   #11
idissi
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Original Poster
Rep: Reputation: 0
I finally got it, by simply installing the package, and then mounting the partition w/o specifying the type basically

mount /dev/hdx /mnt/win

that was it
 
  


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
Step-By-Step Instruction to install Linksys WPC11 Ver.4 Wireless Card Zypher Linux - Hardware 8 08-12-2009 11:43 AM
Step by Step guied for Installation pent@net Dvb card under linux mobassir Linux - Networking 4 06-07-2006 08:31 PM
I need a step by step help to instal Suse 9.3 Pro on the same hdd as XP Home & 2003 suse91pro Linux - General 4 09-07-2005 02:15 PM
Step-by-Step: Making integrated Broadcome wireless adapter work with Mandrake 9.2 jmp875 Linux - Wireless Networking 16 06-30-2004 01:50 AM
Step-by-step to set up a RedHat Linux box for use as a Windows Server? Hercules Linux - Software 2 11-17-2003 12:16 AM

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

All times are GMT -5. The time now is 04:17 PM.

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