tag:blogger.com,1999:blog-5556854748152045563.post6470101662311564826..comments2023-09-28T02:11:44.558-07:00Comments on Learning Linux System Administration: How To Complie Linux Kernel (For Beginners)Aditya Patawarihttp://www.blogger.com/profile/11007675457270523326noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-5556854748152045563.post-48675330017120990652014-01-22T01:46:06.257-08:002014-01-22T01:46:06.257-08:00Nice info.Nice info.Anonymoushttps://www.blogger.com/profile/18248263754044359720noreply@blogger.comtag:blogger.com,1999:blog-5556854748152045563.post-87939923347989043252011-02-14T21:57:45.436-08:002011-02-14T21:57:45.436-08:00@Abacus: Thanks for pointing out the typo. Fixed!
...@Abacus: Thanks for pointing out the typo. Fixed!<br /><br />@Srini: I would definitely give vanilla kernel a try.Aditya Patawarihttps://www.blogger.com/profile/11007675457270523326noreply@blogger.comtag:blogger.com,1999:blog-5556854748152045563.post-66526836512869511382011-02-14T04:20:27.774-08:002011-02-14T04:20:27.774-08:005. Patching a vanilla kernel with patches from the...5. Patching a vanilla kernel with patches from the liquorix kernel project or from the zen kernel project makes available to the users many of the patches which are not yet part of the vanilla kernel. There are many optimizations to the vanilla kernel which speeds up and adds additional drivers. This would in turn good for people with the latest laptops around. Try it once. U will love it.<br /><br />Starting from a .config which is "generic" that is, most of the options are selected by default will work on most laptops/desktops. Once u have a working kernel, U can then tweak around and optimize it to ur machine.<br />9. Is the last file required to boot ur kernel ie, the initrd file. This will go to /boot with vmlinuz, system.map."cp /tmp/initrams-** /boot/initrd.img-**"<br />10. new-kernel-pkg, I think would lose all the customizations in /boot/grug/grub.cfg. Editing the grub.cfg file manually would complete the "manual" kernel compile.<br /><br />Thanks again. U are doing a great job. All the very best.srinicamehttps://www.blogger.com/profile/11432702651028473890noreply@blogger.comtag:blogger.com,1999:blog-5556854748152045563.post-76466724244697260652011-02-13T18:19:11.149-08:002011-02-13T18:19:11.149-08:00Great blog post sharing how easy it can be for a u...Great blog post sharing how easy it can be for a user to build their own Linux kernel!<br /><br />As to putting a file in /tmp, normally users do this so that files no longer needed will be deleted when you reboot as normally /tmp is erased on a new boot of the PC.<br /><br />This is the best way to control FLASH COOKIES, put them in /tmp and they all get erased between boots. In addition to protecting your privacy, it keeps your PC from getting bogged down with excessive flash tracking cookies. <br /><br />All Linux users can do this and I highly recommend it! To Banish all flash cookies (between boots) forever:<br /><br />http://www.theinquirer.net/inquirer/news/1725591/banish-flash-cookies-forever-linux<br /><br />Of course if all video content was created using open source video (FFMPEG) and audio (Ogg Vorbis) codecs we could all see them no matter what operating system we preferred. <br /><br />There are many players like MPlayer that work on every operating system. Isn't that the way it should be?CBhttps://www.blogger.com/profile/13380488535745147526noreply@blogger.comtag:blogger.com,1999:blog-5556854748152045563.post-74521543247016424172011-02-13T12:59:57.251-08:002011-02-13T12:59:57.251-08:00Hey,nice one. Thanks for showing those not in the ...Hey,nice one. Thanks for showing those not in the know how to compile the kernel.<br /><br />I think though, that step 3 should be "make mrproper" instead of "make mrporper" though?<br /><br />CheersAbacushttps://www.blogger.com/profile/14560415049134904194noreply@blogger.comtag:blogger.com,1999:blog-5556854748152045563.post-35893257646733203272011-02-13T04:33:33.029-08:002011-02-13T04:33:33.029-08:00I would agree with (4) but I find "make xconf...I would agree with (4) but I find "make xconfig" more intuitive for kde.<br />I am no expert but I did the compile a few times and never felt the need of (5). Can you please tell me a few upside of this?<br />(6) is not requirement but is handy when you want to differentiate the kernels you built and the original kernels that came with OS unless you remember the version of all of them. <br />I would definitely keep (7) in mind.<br />Not sure what (9) is doing. Please explain it for me and other readers.<br />I would not worry about (10) since new-kernel-pkg would take care of that.<br /><br />Your comment has helped me and others. Thanks for that :)Aditya Patawarihttps://www.blogger.com/profile/11007675457270523326noreply@blogger.comtag:blogger.com,1999:blog-5556854748152045563.post-37355748366232056032011-02-13T04:21:29.197-08:002011-02-13T04:21:29.197-08:00It is a good write up. I would polish it with the ...It is a good write up. I would polish it with the following<br />4. "make menuconfig" would work on either kde or gnome or xfe or any other wm. It just requires "ncurses" available with all the distros<br />5. U should start with .config files prepared by specialists like from debian or u can use .configs from the liquorix project and also consider patching the vanilla kernel with liquorix patches<br />6. Is un-necessary<br />7. On a multi core processor u can use make -j 3(for a dual core processor, ie, no of cores + 1). The linux kernel is very modular and this command would definitely speed up things<br />8. depmod is always run at the end of "make modules_install"<br />9. u have copied the required files manually so one more step is in order "mkinitramfs -k -o /tmp/initramfs- " copy this from tmp to /boot<br />10. Edit grub.cfg manually for booting ur flashy new kernelsrinicamehttps://www.blogger.com/profile/11432702651028473890noreply@blogger.com