Find kernel installation procedure tailored for UBUNTU 10.04. It is good idea to work as user-root. Do the following 1. 2. 3. 4. 5. 6. 7. # sudo su enter correct password for user-root twice $ su enter password for the user-root.
Find kernel installation procedure tailored for UBUNTU 10.04. It is good idea to work as user-root. Do the following 1. 2. 3. 4. 5. 6. 7. # sudo su enter correct password for user-root twice $ su enter password for the user-root.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online from Scribd
Find kernel installation procedure tailored for UBUNTU 10.04. It is good idea to work as user-root. Do the following 1. 2. 3. 4. 5. 6. 7. # sudo su enter correct password for user-root twice $ su enter password for the user-root.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online from Scribd
Please find kernel installation procedure tailored for UBUNTU 10.04.
1. Download the latest stable kernel from http://www.kernel.org
1. As on 23rd Sep 2010 it is linux-2.6.35.5.tar.bz2 2. Move the tar ball to an archive folder, for me it is ~/Download 3. It is good idea to work as user-root. Do the following 1. $ sudo su 2. Enter correct password 3. $ passwd root 4. Enter correct password for user-root twice 5. $ su 6. enter password for the user-root. 7. You can see the super user prompt # 4. Extract kernel source code with this command 1. # tar jxf linux-2.6.35.5.tar.bz2 5. # cd linux-2.6.35.5 6. Install required tools and packages for configuring, building, installing the kernel. 1. # apt-get install fakeroot kernel-wedge build-essential makedumpfile kernel-package libncurses5 libncurses5-dev 7. It is good idea to REuse running kernel configuration, so issue following command # cp vi /boot/config-`uname -r` .config 8. A necessary early step needed to compile the kernel source code # make men uconfig 9. To speed up the build if you have a dual core processor type, # export CON CURRENCY_LEVEL=3 1. You can find the processor type in mycomputer->properties->general 10. Use Debian make-kpkg utility, to create the kernel related Debian package s. # make-kpkg clean 11. Build the package called kernel to produce kernel image and headers. 1. # fakeroot make-kpkg --initrd --append-to-version=-23092010 kernel-i mage kernel-headers 12. It takes 3 to 4 hours, let it do its work and you do yours J. After the kernel is built you see following files. 1. Linux-headers-2.6.35-23092010_2.6.35-22092010-10.00.Custom_i386.deb 2. Linux-image-2.6.35-23092010_2.6.35-22092010-10.00.Custom_i386.deb 13. Now let s install the debian packages (our kernel J) # dpkg i Linux-image-2.6.35-23092010_2.6.35-22092010-10.00.Custom_i386.deb # dpkg i Linux-headers-2.6.35-23092010_2.6.35-22092010-10.00.Custom_i386.de b 14. Update the initramfs archive found in /boot folder. 1. # update-initramfs -c -k 2.6.35-23092010 15. Take backup of grub.cfg in /boot/grub/ directory, it may be useful if err or occurs. 1. # cp /boot/grub/grub.cfg /boot/grub/grub.cfg.bkp
Now, pay attention read steps completely and do it.
16. In the menuentry block for Ubuntu with linux 2.6.35.5- ., observe the comman d search no-floppy fs-uuid set someMagicNumber. on line starting with linux replace /dev/sda1 with UUID=someMagicNumber 17. Now in the same block as above for menuentry just before } insert this li ne. 1. initrd /boot/initrd.img-2.6.35.5-23092010 18. close all applications on Ubuntu and restart it. 1. # reboot 19. The Ubuntu may appear unstable at first boot up and throw up some error m essages, if so just wait for X-Windows to load (i.e., GUI) close all applications on ubuntu, shutdown ubuntu, close VM VB, restart windows, then run VM VB, Ubuntu, be little more patient with errors, it should be fine.