LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-03-2023, 12:49 PM   #1
tuxthegreat
Member
 
Registered: Mar 2018
Distribution: Ubuntu Mate, OSX, Win10, ODROID-N2+
Posts: 180

Rep: Reputation: Disabled
Smile 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 ?
 
Old 11-03-2023, 01:14 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,455

Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
I use menuconfig because I prefer the larger type, and it's easier (or was) to find the help.
 
Old 11-03-2023, 01:57 PM   #3
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: Slackware, Termux
Posts: 799

Rep: Reputation: 256Reputation: 256Reputation: 256
Code:
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.
 
Old 11-03-2023, 02:46 PM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,682
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
Always menuconfig for me.
 
Old 11-03-2023, 02:49 PM   #5
tuxthegreat
Member
 
Registered: Mar 2018
Distribution: Ubuntu Mate, OSX, Win10, ODROID-N2+
Posts: 180

Original Poster
Rep: Reputation: Disabled
Exclamation

Quote:
Originally Posted by jayjwa View Post
Code:
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.
 
Old 11-03-2023, 02:52 PM   #6
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,160

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
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!
 
1 members found this post helpful.
Old 11-03-2023, 03:32 PM   #7
tuxthegreat
Member
 
Registered: Mar 2018
Distribution: Ubuntu Mate, OSX, Win10, ODROID-N2+
Posts: 180

Original Poster
Rep: Reputation: Disabled
Angry

Quote:
Originally Posted by smallpond View Post
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.
 
Old 11-14-2023, 08:55 AM   #8
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,834
Blog Entries: 17

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
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.
 
Old 11-14-2023, 09:06 AM   #9
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,682
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
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.
 
1 members found this post helpful.
Old 11-15-2023, 01:19 AM   #10
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,834
Blog Entries: 17

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Quote:
Originally Posted by hazel View Post
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.
Hah, that reminds me of how I feel with VI(M)
 
  


Reply

Tags
debian 12, kernel compile, mate desktop



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
kernel compiling problem with menuconfig and xconfig option lbdgwgt SUSE / openSUSE 5 10-10-2006 11:12 AM
when I type make xconfig I am told: No rule to make target `xconfig' sleekmason Linux - Software 7 04-17-2006 11:21 PM
Kernel compiling: any links to explain all the "make xconfig" parameters? vharishankar Linux - General 5 02-21-2005 11:27 AM
make xconfig, xconfig with weird words pakkua80 Fedora - Installation 3 11-17-2004 06:19 AM
compiling kernel, option xconfig j-charles Linux - General 3 12-06-2002 05:40 AM

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

All times are GMT -5. The time now is 04:47 PM.

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