By a show of flippers, how many of you use make xconfig vs make menuconfigv when compiling your kernel ?
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.
By a show of flippers, how many of you use make xconfig vs make menuconfigv when compiling your kernel ?
I was just pondering how many of you use the old school method of make manuconfig in cli terminal vs the newer generation of guys who use graphical interface to make xconfig their custom kernel ? I like the xconfig method because it lays out for me all the new possibilities I can add onto the kernel in a nice graphical environment. I learned how to do this when I would compile my own kernels for Ubuntu 6.06 LTS because they were missing a few modules for my webcam and my other peripheral devices. I know the old school guys still swear by make menuconfig and they won't change anytime soon. I prefer this method
Code:
make oldconfig && \
make xconfig && \
make && \
make modules && \
make install && \
make modules_install
It opens up a nice big screen with all the new kernel features for gpus, sound cards etc etc. So who uses what and why ?
zcat /proc/config.gz > /usr/src/linux/.config
make oldconfig
make menuconfig
make
make modules_install
Do the rest by hand and update Grub. Sometimes I like to check stuff with 'menuconfig', else I skip this step. I'm used to the 'menuconfig' style but I've used 'nconfig' and 'xconfig' before. Usually I don't have root running X.
zcat /proc/config.gz > /usr/src/linux/.config
make oldconfig
make menuconfig
make
make modules_install
Do the rest by hand and update Grub. Sometimes I like to check stuff with 'menuconfig', else I skip this step. I'm used to the 'menuconfig' style but I've used 'nconfig' and 'xconfig' before. Usually I don't have root running X.
I update grub after the kernel is installed, before I reboot into the new kernel otherwise I would run into problems, I do
Code:
sudo-s
Code:
update-initramfs -c -k 6.6.0-CUSTOM
And then I do
Code:
update-grub
And to verify after the reboot I check if kernel is installed I do
Code:
sudo uname -mrs
Linux 6.6.0-CUSTOM x86_64
Last edited by tuxthegreat; 11-03-2023 at 02:53 PM.
I've always used menuconfig because I've mostly built in ssh sessions on headless servers. I just tried xconfig and it looks good. Thanks for the suggestion!
I've always used menuconfig because I've mostly built in ssh sessions on headless servers. I just tried xconfig and it looks good. Thanks for the suggestion!
Yeah I do it in ssh via iterm from my Macbook from time to time but that's risky cause you aren't there in person so if you mess up on an iptables rule and you lock yourself out of the server (I've done that too many times too count) you can't fix it on the fly.
What is xconfig? Sounds like something to do with Xorg..
Tested it just now, and I don't like the look of it compared to menuconfig. Ncurses is hot and just works, and you don't need a desktop for it either, quite frankly I think it looks prettier than xconfig too.
Some people just edit .config by hand in an editor too. Anyways, I find that menuconfig strikes a perfect balance, and I don't want to be without it, but I could manage without it too. There is the interactive option, but it's kind of annoying, because you kind of have to go through every single item (unless you specify a way not to) one by one, so it feels kind of claustrophobic.
I think a lot of people don't like menuconfig because the user interface is a bit clunky. You have to know or work out which keys to use, whereas with xconfig, you just use your mouse.
I think a lot of people don't like menuconfig because the user interface is a bit clunky. You have to know or work out which keys to use, whereas with xconfig, you just use your mouse.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.