LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-19-2004, 04:18 PM   #1
stolieman
LQ Newbie
 
Registered: Oct 2004
Posts: 24

Rep: Reputation: 15
Kernel 2.6.9


Ok, I'm currently upgrading my install of Fedora 2, and I was wondering if the new kernel V. 2.6.9 was compatible with NTFS mounting or not.. the 2.6.4 kernel that came with Fedora 2 is not, and I've got crap on my windows part that I want access to in linux. anyone know??
 
Old 11-19-2004, 04:25 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
I'm not sure if the default Fedora binary kernel supports NTFS mounting but 2.6.9 does have the option to mount and even write to NTFS partitions.

Should be under:

File Systems-> DOS/FAT/NT File Systems-> NTFS File System Support

Last edited by Crashed_Again; 11-19-2004 at 04:27 PM.
 
Old 11-19-2004, 04:33 PM   #3
stolieman
LQ Newbie
 
Registered: Oct 2004
Posts: 24

Original Poster
Rep: Reputation: 15
sweet. I'll have to check it out when it's done updating. thanks!
 
Old 11-19-2004, 04:49 PM   #4
stolieman
LQ Newbie
 
Registered: Oct 2004
Posts: 24

Original Poster
Rep: Reputation: 15
ok, I'm stupid.. where do I find that information?
 
Old 11-19-2004, 05:17 PM   #5
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Quote:
Originally posted by stolieman
ok, I'm stupid.. where do I find that information?
Try /usr/lib/modules/[name-of-your-kernel]/kernel/...

But I'm sorry, you haven't yet proved you're stupid!
 
Old 11-19-2004, 05:21 PM   #6
stolieman
LQ Newbie
 
Registered: Oct 2004
Posts: 24

Original Poster
Rep: Reputation: 15
there is no /usr/lib/modules directory... I've got /usr/lib, but no /modules.....
 
Old 11-19-2004, 05:23 PM   #7
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Go to /usr/src/linux. As root type:

make menuconfig

Check out the section I described above. My guess is that the Fedora kernel has NTFS support compiled as a module so you may just have to modprobe it:

modprobe ntfs

Thats just a guess. There may not be support for it at all.
 
Old 11-19-2004, 05:26 PM   #8
stolieman
LQ Newbie
 
Registered: Oct 2004
Posts: 24

Original Poster
Rep: Reputation: 15
ok nevermind... after about 2 min of searching, I found the right directory... /lib/modules/(kernel name)/kernel

wow... if I haven't proved I'm at least a real friggin n00b, I don't know what I am.....
 
Old 11-19-2004, 05:35 PM   #9
stolieman
LQ Newbie
 
Registered: Oct 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Blahg... Well, I found out that the kernel DOES indeed have support for NTFS. I just have to compile it. So, I go to the build directory where all the source is, and run make because there's a makefile in there. So, I run make, and I get this string of text:

/lib/modules/2.6.9-1.3_FC2/build/scripts/gcc-version.sh: line 1: gcc: command not found
/lib/modules/2.6.9-1.3_FC2/build/scripts/gcc-version.sh: line 1: gcc: command not found
CHK include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
CHK include/asm-i386/asm_offsets.h
HOSTCC scripts/basic/fixdep
/bin/sh: line 1: gcc: command not found
make[1]: *** [scripts/basic/fixdep] Error 127
make: *** [scripts_basic] Error 2

can anyone tell me what is wrong?
 
Old 11-19-2004, 05:36 PM   #10
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
We were all noobs at one point(except for a few people here who act like they came out of the womb with all this linux knowledge). No need to feel noobish. Just ask and we shall respond. This is the philosophy of open source.
 
Old 11-19-2004, 05:38 PM   #11
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Quote:
Originally posted by stolieman
Blahg... Well, I found out that the kernel DOES indeed have support for NTFS. I just have to compile it. So, I go to the build directory where all the source is, and run make because there's a makefile in there. So, I run make, and I get this string of text:

/lib/modules/2.6.9-1.3_FC2/build/scripts/gcc-version.sh: line 1: gcc: command not found
/lib/modules/2.6.9-1.3_FC2/build/scripts/gcc-version.sh: line 1: gcc: command not found
CHK include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
CHK include/asm-i386/asm_offsets.h
HOSTCC scripts/basic/fixdep
/bin/sh: line 1: gcc: command not found
make[1]: *** [scripts/basic/fixdep] Error 127
make: *** [scripts_basic] Error 2

can anyone tell me what is wrong?
If you add ntfs support in as a module you won't have to recompile the whole kernel. Just select everything you want as a module and do this as root:

# cd /usr/src/linux
# make modules && modules_install

Then you shold be able to modprobe ntfs:

# modprobe ntfs
 
Old 11-19-2004, 05:41 PM   #12
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
As far as what was wrong--for reference next time--it means you don't have the c++ (I think that's it) compiler present in your system. It's bound to be on your install disks and all you would need to do is install it and it will be ready to compile next time you try to compile something.

If you have a categorized way of looking at what's on the install disks, look at the "development" packages. They're handy to have even if you don't program (I obviously don't!), because now and then some program insists on having something to do with development accessible for it to work right--or you might, as above, decide to have a go at compiling something.
 
Old 11-19-2004, 05:45 PM   #13
stolieman
LQ Newbie
 
Registered: Oct 2004
Posts: 24

Original Poster
Rep: Reputation: 15
# cd /usr/src/linux <--I don't have this directory.. /usr/src is empty...

Then you shold be able to modprobe ntfs:

# modprobe ntfs [/B][/QUOTE] <--Terminal says this command doesn't exist.....
 
Old 11-19-2004, 05:49 PM   #14
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Quote:
Originally posted by stolieman
# cd /usr/src/linux <--I don't have this directory.. /usr/src is empty...

Then you shold be able to modprobe ntfs:

# modprobe ntfs
<--Terminal says this command doesn't exist..... [/B][/QUOTE]
Did you issue the command as root? (The "#" sign is an identifier for root.) Do su <then enter password> and try the modprobe command again.
 
Old 11-19-2004, 05:49 PM   #15
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Errrr...whoops. I thought Fedora installed the source as well as the binary kernel.

Well now, I guess your going to have to install the kernel source as well. I think you can use apt-get for that.

I can't believe the binary kernel doesn't have ntfs support installed by default.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
Unable to build NVIDIA kernel module / determin kernel version Night Ink Fedora 2 05-31-2004 04:54 PM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:31 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
Open Source Consulting | Domain Registration