Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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 am reading the book REd hat 7 unleashed and the note on the 841 pages says me that all distros have modified the original linux kernel accordings to them so if we modify the kernel and copile, we might not get some features working (which featuress? and why ?)
is there any way that i modify linux kernel and then i can use it as a separate os?
thank you but suppose i've just downloaded the latest Linux kernel and i want it to work as my os in virtual box right now .. how to do this.. no matter if it is just command line.
thank you but suppose i've just downloaded the latest Linux kernel and i want it to work as my os in virtual box right now .. how to do this.. no matter if it is just command line.
You'd have to install an operating system in virtualbox and then compile it in it.
@cola :
thanks a lot but I can't resolve the following error :
root@aarsh-desktop:/usr/src/linux-2.6.34# make menuconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
HOSTCC scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function ‘conf_askvalue’:
scripts/kconfig/conf.c:105: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
scripts/kconfig/conf.c: In function ‘conf_choice’:
scripts/kconfig/conf.c:307: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
HOSTCC scripts/kconfig/kxgettext.o
*** Unable to find the ncurses libraries or the
*** required header files.
*** 'make menuconfig' requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again.
***
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
make: *** [menuconfig] Error 2
All is going now smooth. I am about to replace the kernel.
But, I 've to press y/n/m for about 200-250 choices it asking me on the command prompt. can I avoid it or speed it up , If I want to keep just defaults ???
All is going now smooth. I am about to replace the kernel.
But, I 've to press y/n/m for about 200-250 times can I avoid it or speed it up? If I want to keep just defaults ???
You can use the old config as the basis. Just copy the existing /boot/config** from the kernel you are running now and paste it into the kernel directory (where you are building it) as .config
Code:
cp /boot/config-`uname -r` .config
Then you can run make oldconfig
It might ask you a few questions if the kernel sources are newer that your .config
I have tried to upgrade my linux kernel it also asked me for configurations like that for HDD, IPC , n/w and all that 100s of by selecting b/w Y / N / M. but now there are two problems ;
1. main problem is, still uname -a gives me the older version no.
2 My mouse has stopped working. But key board works well.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.