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 03-24-2003, 10:06 PM   #1
lostboy
Member
 
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268

Rep: Reputation: 30
Question I found this in the makefile. What does it mean ?


I'm compiling a kernel, and in my /linux-2.4.20/ directory I found these commented lines in the makefile :

# If you want the RAM disk device, define this to be the size in blocks.
# This is i386 specific.
#

#export RAMDISK = -DRAMDISK=512


I am using Reiser, and from what I understand you need the ramdisk at boot.

Does this line in the makefile affect that ? Also, if I need to uncomment those lines, is 512 blocks going to do it, or do I need to increase -DRAMDISK= ?

JC
 
Old 03-24-2003, 10:46 PM   #2
lostboy
Member
 
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268

Original Poster
Rep: Reputation: 30
I can guess at what the replies might be here. I believe that I may be advised to compile ext2, ext3, and reiser into the kernel, thus eliminating the need for a ramdisk.
Hm, that sounds good.

I am still curious about the part of the makefile show above, so if anyone knows the answer, lay it on me.

JC
 
Old 03-25-2003, 08:50 AM   #3
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
No you don't need a ramdisk at boot if you are booting from a harddisk. And you only need to enable the filesystems you will use in the kernel. Ofcourse most people enable lots of filesystem types in case they ever encounter a different filesystem on floppy or cd or there could be many other reasons why you need it.

And about the RAMDISK variable in the Makefile this is what the file Documentation/kbuild/makefiles.txt says about it:

End users edit these variables to specify certain information
about the configuration of their kernel. These variables
are ancient! They are also specific to the i386 architecture.
They really should be replaced with CONFIG_* options.

So you can leave this as it is in the Makefile and go to sleep peacefully. And by the way it's the blocksize used for the ramdisk not the size of the ramdisk. If you decide to add ramdisk support in the kernel you can specify a ramdisk size much larger then that.
 
Old 03-25-2003, 10:18 AM   #4
lostboy
Member
 
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268

Original Poster
Rep: Reputation: 30
Talking

Thanks alot ! That puts that to rest. As a linux newb I find myself diving deep into it right away. The reason is, unfortunately, that my motherboard is not supported in the present Linux kernel (2.4.20). I'm a little hesitant to try the beta kernel, but might do it anyway.

After alot of trial and error, I have managed to compile a 2.4.20 kernel with the options that I need, but my motherboard is still not properly supported. There are lots of items in the 'Unknown' branch in the KDE control module.Mainly, the heart of the IO (ICH4 chip) is not properly recognized.

Anyway, I got a crash course in Linux. I somehow manage to always find myself in a trial-by-fire situation. It's good for learning, but frustrating when you can't get the desired results.

BTW : mobo = Asus P4B533 (Intel 845E)

JC

Last edited by lostboy; 03-25-2003 at 10:21 AM.
 
  


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
makefile gcc command cannot be found Mogul83 Programming 7 05-31-2005 03:11 AM
how to get (makefile -f makefile )output into the textview widget in Pygtk sailu_mvn Programming 3 02-28-2005 03:57 AM
Trying to install kwvdial ,no target specified an no makefile found mtnhigh Linux - Software 0 09-27-2004 01:38 PM
Makefile not found - KDevelop 2 digitalbrutus Linux - Software 1 03-21-2004 02:46 PM
Installing Gaim - ...no makefile found... veritas001 Linux - Newbie 6 09-03-2003 12:31 AM

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

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