LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-30-2004, 02:29 PM   #1
The_eXXe
Member
 
Registered: Mar 2004
Location: TR
Distribution: Ubuntu 9.04 (x64)
Posts: 62

Rep: Reputation: 15
Unhappy having trouble while compiling kernel..


Hi guys,
I just wanted to activate NTFS write support from kernel configuration. everything is fine.. but when i wrote "make dep" to compile kernel, it says "it is not neccessary" or somting like that. Do you guys know how can i open NTFS write support. Or how can i compile the kernel 2.6

Thanks for suggestions..

Last edited by The_eXXe; 08-30-2004 at 03:40 PM.
 
Old 08-30-2004, 03:06 PM   #2
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
you trying with the new 2.6.8.1 kernel?

I just did:
make xconfig
make
make modules_install
make install

I think that make line maybe should be seperate make bzImage and make modules, but those four commands generated and installed a working kernel so that seems to be the nice neat new build process.

I have a problem with X dying after playing TuxRacer, but couldnt be bothered to mess with nVidia drivers yesterday.
 
Old 08-30-2004, 03:46 PM   #3
The_eXXe
Member
 
Registered: Mar 2004
Location: TR
Distribution: Ubuntu 9.04 (x64)
Posts: 62

Original Poster
Rep: Reputation: 15
yes i am using kernel 2.6 but not sure if it is 2.6.8.1 I mean last two digits. It's default 2.6 kernel in distributor's cds.
Proud, do you know another way to write NTFS partitions. Because I'am newbie. Actually not so much
for example, can i download a kernel image which has write support with it. And replace it with my kernel.? Is it possible?
 
Old 08-31-2004, 11:00 AM   #4
The_eXXe
Member
 
Registered: Mar 2004
Location: TR
Distribution: Ubuntu 9.04 (x64)
Posts: 62

Original Poster
Rep: Reputation: 15
do you hear me?
 
Old 08-31-2004, 02:52 PM   #5
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
*back from work*

Do check, but I think that the 2.6 kernel on the cd is 2.6.3-7 and you might be better off trying 2.6.7 or 2.6.8.1. All these should have the NTFS write code but you'll probably need to recompile them with it enabled. You'll find the option in the gui when you get to the make xconfig stage.

Have you ever recompiled a kernel before?
 
Old 08-31-2004, 03:01 PM   #6
nafan
Member
 
Registered: May 2004
Location: /dev/bed
Distribution: Mandriva 2009.0 Powerpack
Posts: 172

Rep: Reputation: 30
Support for writing to NTFS in linux is limited. You will be able to overwrite files, but you will not be able to change the length of files, add new files, or delete existing ones. Your best option is to create a FAT32 drive and use it to share files between Windows/Linux. Recommended reading : http://linux-ntfs.sourceforge.net/info/ntfs.html

If you really want to enable write access to NTFS partitions, even though they could possibly be end up completely trashed, the steps to follow are below. If you install the kernel source RPM supplied by Mandrake or download the source files from www.kernel.org and extract it to /usr/src the procedure below is the same.[list=1][*]Open a terminal window (e.g. konsole) and change to the directory the kernel source is 'living' in, probably /usr/src/linux-2.6.2-3mdk[*]Run 'make xconfig' or 'make menuconfig', and look for the filesystem drivers somewhere around 2/3 they way down the list.[*]Under NTFS enable write support, then close the config program.[*]Run 'make bzImage modules' to compile your kernel and anything selected as a module. Depending on the speed of your computer and the options selected, this could take anywhere betwen 10 minutes to an hour.[*]Once you get your command prompt back use 'su' to change to root and do 'make modules_install'[*]If you use lilo as your bootloader run 'installkernel -lL <version> arch/i386/boot/bzImage System.map'
or if you use grub as your bootloader run 'installkernel -gL <version> arch/i386/boot/bzImage System.map'
<version> denotes the kernel version you just compiled, and should be the same as the directory its living in, minus the first 'linux-'[/list=1]
That's it. When you reboot lilo/grub should give you a new kernel option at the bottom of the list.

Last edited by nafan; 08-31-2004 at 03:05 PM.
 
Old 09-01-2004, 03:55 PM   #7
The_eXXe
Member
 
Registered: Mar 2004
Location: TR
Distribution: Ubuntu 9.04 (x64)
Posts: 62

Original Poster
Rep: Reputation: 15
Proud;
My kernel is 2.6.3-4mdk. I have never compiled a kernel before..

nafan;
Thanks for your information. But i have found that it has some risks to write NTFS partitions.

Last question;
If i change the file system to FAT32. Can i read and write to this partitons while using Mandrake 10 and kernel 2.6.3.4mdk. I have partition magic.

Special Thanks to everyone who helps me..

Last edited by The_eXXe; 09-01-2004 at 03:57 PM.
 
Old 09-01-2004, 04:27 PM   #8
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 571

Rep: Reputation: 30
Yes MDK 10.0 (and earlier) has full support for the fat32 file system.
 
Old 09-01-2004, 04:30 PM   #9
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
What exactly are you wanting to change to FAT32? You cant change an entire Windows install's partition filesystem without formatting it, and linux cant be installed on NTFS or FAT32. IF you've a Windows install and want a go-between partition that linux can also read and write to then FAT32 is the way to go.
 
Old 09-01-2004, 05:11 PM   #10
The_eXXe
Member
 
Registered: Mar 2004
Location: TR
Distribution: Ubuntu 9.04 (x64)
Posts: 62

Original Poster
Rep: Reputation: 15
Proud;
I have WinXP installed on my system. And my file system is NTFS. And I'am also using Mandrake 10.0 with kernel 2.6. While I am working with linux, i can't copy file to windows partitions. I want to copy my files to windows partitions (c: and d. It doesnt matter I can format windows partitions and change it to FAT32.
But, FAT32 is supported bye Mandrake by default. I mean I dont need to enable FAT32 support and compile Kernel, right? When I change NTFS to FAT32, it will be ok, right?

I want you guys to tell me "yes, it will be ok"
 
Old 09-01-2004, 06:06 PM   #11
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Mandrake can fully use FAT32 out of the box yes, but iirc it isnt good for XP to not be on an NTFS filesystem, so if you're formatting the drive, partition a small amount as FAT32 and give XP the first big chunk as it's NTFS install.
 
Old 09-02-2004, 01:08 AM   #12
The_eXXe
Member
 
Registered: Mar 2004
Location: TR
Distribution: Ubuntu 9.04 (x64)
Posts: 62

Original Poster
Rep: Reputation: 15
I understood thanks a lot..
 
Old 09-02-2004, 02:53 PM   #13
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Np, let us know if you have any more difficulties
 
  


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
Trouble Compiling Kernel Module... Elric of Grans Linux - General 2 05-31-2006 01:57 AM
trouble compiling i686 kernel? mma8x Linux - General 1 11-07-2005 07:11 AM
Trouble compiling Kernel 2.6.10 AJones Debian 8 02-13-2005 04:28 AM
Having trouble compiling 2.6.3 kernel s1lv1a9999 Linux - Software 2 03-03-2004 02:14 AM
Trouble when compiling the 2.6.2 kernel Menestrel Linux - Software 1 02-14-2004 08:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:44 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