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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
What do you mean that you have "data in existing kernel"? The kernel doesn't store any data, so I am not sure I understand what you are asking. Are you talking about migrating your existing kernel configuration to a new kernel?
I'm not sure what you mean by data. Do you mean that you have customised the kernel configuration? You can use your old settings by copying over your old .config file and running make oldconfig. This is from the README file with the kernel sources:
"make oldconfig" Default all questions based on the contents of
your existing ./.config file and asking about
new config symbols.
Like above, but avoids cluttering the screen
with questions already answered.
Additionally updates the dependencies.
Thanks, I means to say that the data (backup data of folders & files are kept)so how can I access this backup data from the new upgrade kernel.
Also can I access the new kernel without booting the system without effecting the production env.
The new kernel sources should be in different directories to the old sources and the new kernel file should be in a different file to the old kernel. Your documents, programs and configurations are not removed by upgrading the kernel (some programs may need to be re-compiled or re-installed - I have to re-install my nvidia driver after kernel upgrades).
I haven't had to load a new kernel without a re-boot so all I did was some googling. Have a look at kexec in your kernel - it may be what you want:
I have to install a new kernel or upgrade as I am working on the existing kernel so if I install a new kernel & keep the old kernel as backup so still I will be able to access my documents,folder & files from the previous kernel.
Also is there any good kernel doc for redhat distro ?
Upgrading your kernel does not effect how you access your "data". Data (folders, files, videos, mp3s etc) are not kernel-dependent. In other words, changing a kernel does not effect the content of your "home" folder--the place where you keep all your data. Just use the backup procedures that you use normally.
Also if I am just installing a kernel instead of upgrading than also I can access the data/contents.
Sorry but I don't understand what you're talking about. You must have a kernel installed already if you are running linux. A kernel is not something optional that you may or may not install. But, as I said, maybe I don't understand what you're trying to say.
Changing kernels doesn't change your access to files on the hard drive (unless you disable support for your hardware or file system, etc.). Can you post the full path to the data your trying to access (for example /home/steve/photos) so that we can understand why you're concerned about this?
Upgrading the kernel will, in no way (unless something goes wrong...anyway) change how you use the computer or access your files. It might improve performance or fix security issues, but it will fundamentally be the same experience.
That being said, keeping the old kernel that is in a known-good configuration around after upgrading is an excellent idea. In fact, I think most new distros do this by default (I know at least Ubuntu does).