Results 1 to 5 of 5
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
09-29-2012 #1
- Join Date
- Sep 2012
- Location
- Bangalore
- Posts
- 22
Confused with different kernel compilation and installation flows...
I am new to kernel configuration, compilation and installation. I wanted to install linux-3.5.3 kernel for my Ubuntu 12.4. So I surfed internet and found various sites telling about the procedures. But there procedures were slightly different.
I was following instruction flow from the site :
haifux.org/lectures/88-sil/kernel-compilation.html
I downloaded kernel from kernel.org and executed following commands :
$ make mrproper
$ make menuconfig
$ make clean
$ make depend
$ make bzImage
$ make modules
everything went smooth till this part.... but I referred other site which was saying :
After this commands following files must be there under /boot
System.map-3.0.0
vmlinuz-3.0.0
initrd.img-3.0.0
config-3.0.0
Which were not there in my case
So I started looking for those files. I copied
$ cp arch/i386/boot/bzImage /boot/vmlinuz-3.5.3
But don't know what do do about others.......
then I tried,
$ mkinitrd /boot/initrd-3.5.3.img 3.5.3
mkinitrd: command not found
So, how shall I proceed further ? Is there any good tutorial/Doc to know about kernel compilation and installation ? After configuring and compiling my kernel it took around 5-6 GB space ? Am I went wrong somewhere ?
Please help me out !
-
09-29-2012 #2
https://help.ubuntu.com/community/Kernel/Compile
Always try the instructions for your distro. Each distro is different and they all have their own way of doing things. It makes maintenance a real chore sometimes.I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
I'd rather be lost at the lake than found at home.
-
09-30-2012 #3
- Join Date
- Sep 2012
- Location
- Bangalore
- Posts
- 22
Thanks for your reply !
I went on page suggested by you but they are saying like
"This page does NOT describe how to build upstream kernels from kernel.org. This is how to rebuild the actual Ubuntu kernel starting from source."
And the procedure given to build kernel looks quit foreign to me after surfing and viewing other kernel compilation guides.
Can't build the working kernel by following instructions on :
haifux.org/lectures/88-sil/kernel-compilation.html
-
09-30-2012 #4I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
I'd rather be lost at the lake than found at home.
-
09-30-2012 #5
- Join Date
- Sep 2012
- Location
- Bangalore
- Posts
- 22
Yes, it was really helpful. Because of that post I came to know that there are two type of kernel configuration methodologies.
I'll try to understand the reason behind major differences and would like to configure and compile kernel accordingly !