Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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= ?
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.