Linux - KernelThis forum is for all discussion relating to the Linux kernel.
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.
Hi: I used unetbootin-windows-583.exe & clonezilla-live-2.1.1-7-i686-pae.iso to make a Recovery image boot USB. But I don't know what exactly to do with it.
I just need to Recovery my original system of Ubuntu 12.04 .But I don't know how to do this Recovery system.
Could anyone to tell me what kind of tool I can use.
And how to use it??
You downloaded the windows version of unetbootin and installed the clonezilla live environment to a usb thumb drive on a windows computer.
Now I'm confused as to what you want to do with it.
When you say you want to recover Ubuntu 12.04 which I presume is on another computer which is not behaving properly?
First question is there data on the Ubuntu 12.04 system that you need to save?
If the answer is yes, do you have an external drive or a thumb drive big enough to hold what needs to be saved?
Clonezilla is an awesome tool which is normally used to copy an entire hard drive or a partition to another place, either for back up or another system.
The entire Ubuntu distro can be obtained here http://releases.ubuntu.com/precise/ you can use unetbootin to put it on the usb drive which has clonezilla on it. Use that to boot the ubuntu computer to a live ubuntu environment and mount the installed drive and save whatever you need to.
If the ubuntu computer won't boot from the thumb drive, you may have to change boot order in bios.
To get into bios varies with computer mfg, google the make and you should find hints.
If I misunderstood what you asked, please clarify and I will try to do better....
Hi~Thks for reply. I need to set make menuconfig again & again to upgrade my kernel version work in my current linux envirnoument
So I had to
1.download for the kernel version 3.6.11
2.setting make menuconfig envirmount well
3. do make, make modules_install, make install
4 sudo makinitramfs -o .....
5 ...
6. sudo update-grub to upgrade kernel version
7if Fail, I had to reinstall all the Ubuntu 12.04 System again
To save my reinstall for the Ubuntu 12.04 's work, I need a Recovery image file.
So that's the reason why I need all the original install Ubuntu linux envirmount .I need Recovery~~~
Don't tell us the answer you require, tell us the problem you are facing, and perhaps someone can suggest an answer that will work.
Compiling custom kernels doesn't (generally) require reinstall of the entire system if there are problems - unless you replace the original kernel file itself. Which you should never do.
Describe your problem, and links to any online documentation you are using - in English please.
Compiling custom kernels doesn't (generally) require reinstall of the entire system if there are problems - unless you replace the original kernel file itself. Which you should never do.
Sorry, I am right now doing replace the original kernel file itself. I had to do it for Ubuntu 12.04 kernel 3.0.29 , upgrading to
kernel 3.6.11. I try to change the setting of .config , so that I can got success on upgrading.
Hi~Thks for reply. I need to set make menuconfig again & again to upgrade my kernel version work in my current linux envirnoument
So I had to
1.download for the kernel version 3.6.11
2.setting make menuconfig envirmount well
3. do make, make modules_install, make install
4 sudo makinitramfs -o .....
5 ...
6. sudo update-grub to upgrade kernel version
7if Fail, I had to reinstall all the Ubuntu 12.04 System again
Ick! If you really must build a new kernel, you should at least consider making use of the packaging and framework provided by your distro. See for example https://help.ubuntu.com/community/Kernel/Compile
I can't for the life of me imagine a scenario where it is reasonable to expect to reinstall every time you wan to try to compile and install a kernel.
Ick! If you really must build a new kernel, you should at least consider making use of the packaging and framework provided by your distro. See for example https://help.ubuntu.com/community/Kernel/Compile
I can't for the life of me imagine a scenario where it is reasonable to expect to reinstall every time you wan to try to compile and install a kernel.
Build Environment
If you've not built a kernel on your system before, there are some packages needed before you can successfully build. You can get these installed with:
sudo apt-get build-dep linux-image-$(uname -r)
Quote:
Modifying the configuration
This step can be skipped if no configuration changes are wanted. The build process will use a configuration that is put together from various sub-config files. The simplest way to modify anything here is to run:
yes, it's from sudo apt-get source linux-image-3.xx
I have done the 3 step:
1. apt-get source linux-image-3.xx
2. apt-get install dpkg-dev
3. apt-get build-dep linux-image-3.xx
And I fail to do the next steps as the previous description~
Ok... so for me the next steps would be something like
Code:
cd /usr/src
tar xjf linux-source-3.xx.tar.bz2
cd linux-source-3.xx
make menuconfig
fakeroot make-kpkg clean
fakeroot make-kpkg --append-to-version="-custom" --revision="1.0" --initrd kernel-image kernel-headers modules-image
Ok... so for me the next steps would be something like
Code:
cd /usr/src
tar xjf linux-source-3.xx.tar.bz2
cd linux-source-3.xx
make menuconfig
fakeroot make-kpkg clean
fakeroot make-kpkg --append-to-version="-custom" --revision="1.0" --initrd kernel-image kernel-headers modules-image
What are you trying?
Evo2.
I try
Quote:
Building the kernel
Building the kernel is quite easy. Change your working directory to the root of the kernel source tree and then type the following commands:
To compile for the kernel that I need ,
It waste me a lot of time.
So it works now? Why do you need to compile this kernel yourself?
Quote:
How can I set up .config to make
the compile time shorter??
You can disable modules/drivers that you don't plan to use. Also you can do the build with multiple processes using the -j or setting the CONCURRENCY_LEVEL equal to the number of processes you have.
So it works now? Why do you need to compile this kernel yourself?
You can disable modules/drivers that you don't plan to use. Also you can do the build with multiple processes using the -j or setting the CONCURRENCY_LEVEL equal to the number of processes you have.
Evo2.
I got to do the other process like : make modules_install...etc to make it work
The .config is so complex that I can't identify which modules/drivers that I need, it is a big job.
And what's the -j use for command? What's the CONCURRENCY_LEVEL equal to my number? I didn't understand??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.