ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
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 want to learning and developing the kernel on the practice(not kernel module). What are some ways to boot the test kernel on the same system(with stable kernel) where I`m building a test kernel for debugging purposes.
How to configure and use the host to boot a test kernel then I can boot the system(with stable kernel) and fix the test kernel.
I would like to hear helpful tips.
I want to learning and developing the kernel on the practice(not kernel module). What are some ways to boot the test kernel on the same system(with stable kernel) where I`m building a test kernel for debugging purposes.
I would suggest read some basics first than developing kernel.
When you boot a kernel it is in /boot/vmlinuz or some thing similar.
At a time only one kernel is active.So you can not activate two kernels at the same time.
Instead of all this if you are fearing to crash your system then there is an alternative which developers do they install a guest OS in virtualization setup.Xen,Qemu,KVM,Virtualbox,Vmware are some of your options but that will run the kernel inside a Virtual Machine.You can also try a debootstrap in Debian/Ubuntu environment
in a chrooted shell and you can practise it.http://linux.koolsolutions.com/2009/...g-debootstrap/
In any case you will be able to boot only one kernel at a time at one hardware.But if you install a Guest Operating System within a Host OS then you can experiment without fear of crashing of host.
1. mkdir ~/uml
2. downloaded the kernel source to ~/uml
3. tar -xjvf linux-2.6.37.3.tar.bz2
4. cd ./linux-2.6.37.3
5. make defconfig ARCH=um
6. make ARCH=um
7. ./linux
and linux starting, but it fails. I use wmWare with fedora 14 where I try to running the um-kernel.
Help me please correct to run the um kernel. And how do it?
See technically the kernel is same for all Linux.The vendors modify it some times for example Ubuntu or Debian guys mighty modify it and same is true for Red Hat /Fedora.I would say Kernel Specific questions you ask here http://kernelnewbies.org/ML
it is a very active list and even Greg Kroah Hartman replies here.You will get more response for kernel type things than me giving here.
Did you accidentally click "Quote" instead of "Report" (funny it's usually the other way 'round)? -- There's no report from you & you have quoted the offending post, which perpetuates the spam.
Did you accidentally click "Quote" instead of "Report" (funny it's usually the other way 'round)? -- There's no report from you & you have quoted the offending post, which perpetuates the spam.
Please edit your post to remove the spam. Thanks.
Wow, I must have. Sorry about that man!
Edit - If I remember correctly, LQ was acting up at one point in time yesterday. Either that, or I really did click the wrong one.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.