LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-09-2002, 10:14 PM   #1
Makkoli
LQ Newbie
 
Registered: Sep 2002
Posts: 8

Rep: Reputation: 0
Red Hat 8.0 and NTFS and Kernel


Can anyone give my any advice concerning kernel recompilation? I'm using Red Hat 8.0 and the kernel doesn't support NTFS (yet). I'd like to be able to at least have read access to the Win 2000 disk in my machine.

I'm also having trouble with GRUB, it will not boot Win 2k, although Win 2k is on a separate disk.

Before switching to Red Hat 8.0 I was using SuSE 7.3, I was able to read the Win 2k disk and boot Windows using Lilo.

Thanks for any help.
 
Old 10-10-2002, 01:13 PM   #2
46and2
LQ Newbie
 
Registered: Oct 2002
Distribution: Mandrake 9.0
Posts: 15

Rep: Reputation: 0
Doesn't RH 8.0 use the 2.4.19 kernel? My Mandrake 9.0 uses 2.4.19 and I get read-only access on my XP Pro NTFS disk.
 
Old 10-10-2002, 05:05 PM   #3
Makkoli
LQ Newbie
 
Registered: Sep 2002
Posts: 8

Original Poster
Rep: Reputation: 0
Red Hat Kernel

46and2,

The Red Hat 8.0 I have has the 2.4.18 Kernel. When I try to mount the disk using the Red Hat User Mount Tool the system displays an error box with the following text :

"mount: fs type ntfs not supported by kernel"

I've tried to recompile the kernel, but with no success.
 
Old 10-10-2002, 05:49 PM   #4
shadfiel
LQ Newbie
 
Registered: Oct 2002
Location: Vancouver, Canada
Distribution: Red Hat, Suse, Gentoo, Mandrake
Posts: 15

Rep: Reputation: 0
ntfs isn't supported by default in Red Hat 8 as far as I know.

What has your problem been with recompiling the kernel? Did you use the one that comes with redhat 8?

One hack you could try (i'm not sure if it would work) would be to configure the kernel (using menuconfig or whatever) to use ntfs as a module. If make bzImage fails try running just 'make modules'.

Then do a 'find /usr/src/linux-VERSION -name ntfs.o' and copy the file it finds (if it finds one) to /lib/modules/VERSION/kernel/fs/ntfs/ntfs.o

You should then be able to do an 'insmod ntfs'

--
This is just something you can try, I don't know if it'll work or not.
 
Old 10-10-2002, 05:54 PM   #5
shadfiel
LQ Newbie
 
Registered: Oct 2002
Location: Vancouver, Canada
Distribution: Red Hat, Suse, Gentoo, Mandrake
Posts: 15

Rep: Reputation: 0
As for the grub configuration, try something like this:

---
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Your linux partition
root (hd0,0)
kernel /boot/bzImage root=/dev/hda3

title=Your 2k partition
root (hd0,4)
chainloader +1
---

If you've used lilo before then
hd0,0 is equivalent to hda1 and
hd0,4 is equivalent to hda5.

hdb1 would be hd1,0
 
Old 10-13-2002, 08:28 PM   #6
Makkoli
LQ Newbie
 
Registered: Sep 2002
Posts: 8

Original Poster
Rep: Reputation: 0
Grub ANd Kernel

Thanks for the advice, I've tried a similar grub.conf file, but it didn't work. This is what I have now:

default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz

title Red Hat Linux (2.4.18-14)
root (hd0,0)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/
initrd /initrd-2.4.18-14.img

title Windows 2000
root (hd1,0)
chainloader+1

It's short and simple, but it still doesn't work.

As for the kernel, I read the article at this site:

http://www.getlinuxonline.com/omp/di.../ompntfs2.html

It almost worked, I made it all the way to the /sbin/depmod -a line, where I encountered an error. I didn't write it down, I'll work through the procedure again and post the error.
 
Old 10-16-2002, 09:06 PM   #7
Makkoli
LQ Newbie
 
Registered: Sep 2002
Posts: 8

Original Poster
Rep: Reputation: 0
Kernel Recompiliation

As I mentioned above, I followed the article posted at this site:

http://www.getlinuxonline.com/omp/di.../ompntfs2.html

I successfully made it to the /sbin/depmod -a step then I received this error:

depmod: *** Unresolved symbols in /lib/modules/2.4.18-14/kernel/fs/ntfs/ntfs.old

What does that mean? How do I rectify that situation?

Thanks for the help.

Last edited by Makkoli; 10-16-2002 at 09:08 PM.
 
Old 10-17-2002, 06:03 PM   #8
shadfiel
LQ Newbie
 
Registered: Oct 2002
Location: Vancouver, Canada
Distribution: Red Hat, Suse, Gentoo, Mandrake
Posts: 15

Rep: Reputation: 0
Quote:
title Windows 2000
root (hd1,0)
chainloader+1
I wonder if you need to have a space between chainloader and +1?

For the ntfs support, I'm not sure why you have a file called ntfs.old in that directory. What does an
'ls /lib/modules/2.4.18-14/kernel/fs/ntfs/'
give you?
 
Old 10-17-2002, 08:47 PM   #9
Makkoli
LQ Newbie
 
Registered: Sep 2002
Posts: 8

Original Poster
Rep: Reputation: 0
Kernel & Grub

The ls /lib/modules/2.4.18-14/kernel/fs/ntfs/' returns : ntfs.o ntfs.old.

I'm not sure where the ntfs.old came from. I could probably delete 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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Red Hat custom Kernel compilation mini-How-To for Red Hat 8-9 Thetargos Red Hat 431 04-13-2007 05:19 AM
Help!!! I need a Kernel for the Red Hat 9.0 that read and write NTFS NoSpHeRaTu Linux - Newbie 10 11-09-2004 07:47 AM
NTFS on Red Hat 9 Cypher69 Linux - Newbie 1 11-09-2003 05:33 AM
ntfs vs ext3 (Red Hat 8) Santorres Linux - General 4 07-03-2003 07:16 PM
NTFS mounting in Red Hat llimllib Linux - Distributions 8 01-27-2003 03:36 PM

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

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