Your SlideShare is downloading. ×
How to compile a kernel   suse 3
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

How to compile a kernel suse 3

1,343
views

Published on


0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,343
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
13
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. How To Compile A Kernel - The SuSE Way - Page 3 | HowtoForge - L... http://www.howtoforge.com/kernel_compilation_suse_p3 Howtos Forums News Search Contribute Subscription FAQForge Options For This Howto Free Support Paid Support Navigation Howtos Linux CentOS Debian Fedora Kernel Mandriva PCLinuxOS SuSE Ubuntu Apache Backup Control Panels DNS Desktop Email Anti-Spam/Virus Postfix Procmail Sendmail FTP High-Availability Lighttpd Monitoring MySQL Programming C/C++ PHP Samba Security Anti-Spam/Virus Virtualization Other FreeBSD Commercial Mini-Howtos Forums Contribute Subscription Login Site Map/RSS Feeds User login Username: Password:1 de 12 02/12/2009 11:46
  • 2. How To Compile A Kernel - The SuSE Way - Page 3 | HowtoForge - L... http://www.howtoforge.com/kernel_compilation_suse_p3 Remember Me? Create a new account Request new password Ads by Google Linux Setup Linux Tutorial Mosix Kernel Openmosix 2.6 Whos online There are currently 19 users and 2741 guests online. HowtoForge Forums How to setup getmail to download just some ... Troubleshoot network problems VLC player -For all format media file. Cronjob problem Downloadable Vmware Images ERROR: Connection dropped by IMAP server Roundcube emails In Centos-installing Courier-IMAP-Authl ib,And ... GlusterFS write issue Internet acceleration and cashing News DE: Open source professorship at University of Erlangen-Nuremberg Firefox most used browser in Germany Dont need groupware? Organize your life with Osmo SugarCRM Gets a True Open Source Visionary in Larry Augustin What Kind Of Bird Are You Booting? HD-ready smartphone supports Linux and Android Nokia Releases Qt 4.6 Howto setup Wireless on Chrome OS Security in Linux and how to optimise it The Phoronix Kernel Test Farm Is Alive more2 de 12 02/12/2009 11:46
  • 3. How To Compile A Kernel - The SuSE Way - Page 3 | HowtoForge - L... http://www.howtoforge.com/kernel_compilation_suse_p3 Recent comments 100% useful. 1 hour 8 min ago you should also mention that 1 hour 31 min ago Re: Re: Re: Re: Error moving the bind folders/files 3 hours 28 min ago Trouble Intsalling the Kernel. 6 hours 12 min ago Perfect Desktop that is? 9 hours 7 min ago linux desktop 9 hours 8 min ago Please, do not use the word 9 hours 33 min ago I have followed the 12 hours 52 min ago Thanks 14 hours 24 min ago Re: How will I know if a virus is found? and ... 16 hours 32 min ago Newsletter Subscribe to HowtoForge Newsletter and stay informed about our latest HOWTOs and projects. (To unsubscribe from our newsletter, visit this link.) Syndicate HowtoForge Feed for Facebook® "Facebook" is a registered trademark of Facebook, Inc. All rights reserved. English | Deutsch | Site Map/RSS Feeds | Advertise You are here: Home » How To Compile A Kernel - The SuSE Way » How To Compile A Kernel - The SuSE Way - Page 3 How To Compile A Kernel - The SuSE Way - Page 33 de 12 02/12/2009 11:46
  • 4. How To Compile A Kernel - The SuSE Way - Page 3 | HowtoForge - L... http://www.howtoforge.com/kernel_compilation_suse_p3 Do you like HowtoForge? Please consider supporting us by becoming a subscriber. Submitted by falko (Contact Author) (Forums) on Sun, 2006-11-19 18:26. :: 0 8 Configure The GRUB Boot Loader tweets Now we must configure our GRUB boot loader so tweet that our new kernels gets booted when we restart the system. Instead of modifying /boot/grub/menu.lst directly, we can run yast to do it. Go to System -> Boot Loader: On the next screen you will see your existing GRUB records. Go to Add to add a new one:4 de 12 02/12/2009 11:46
  • 5. How To Compile A Kernel - The SuSE Way - Page 3 | HowtoForge - L... http://www.howtoforge.com/kernel_compilation_suse_p3 Select Clone Selected Section to clone one of the working GRUB records: Enter a name for the new kernel, e.g. SUSE Linux 10.1 - 2.6.18.2, and go to Kernel -> Browse:5 de 12 02/12/2009 11:46
  • 6. How To Compile A Kernel - The SuSE Way - Page 3 | HowtoForge - L... http://www.howtoforge.com/kernel_compilation_suse_p3 You will see the contents of the /boot directory where your new kernel is located. Select your new kernel which typically begins with vmlinuz (e.g. vmlinuz-2.6.18.2-default): Next go to Initial RAM Disk -> Browse:6 de 12 02/12/2009 11:46
  • 7. How To Compile A Kernel - The SuSE Way - Page 3 | HowtoForge - L... http://www.howtoforge.com/kernel_compilation_suse_p3 Again, you will see the contents of the /boot directory. Select the appropriate ramdisk for your new kernel which typically begins with initrd (e.g. initrd-2.6.18.2-default): Back on the main screen, select OK:7 de 12 02/12/2009 11:46
  • 8. How To Compile A Kernel - The SuSE Way - Page 3 | HowtoForge - L... http://www.howtoforge.com/kernel_compilation_suse_p3 You will see a new GRUB record for your new kernel. Mark it and hit Up until it is the first in the list: Then hit Set as Default to make the new kernel the default one:8 de 12 02/12/2009 11:46
  • 9. How To Compile A Kernel - The SuSE Way - Page 3 | HowtoForge - L... http://www.howtoforge.com/kernel_compilation_suse_p3 Hit Finish: Select Quit to leave YaST:9 de 12 02/12/2009 11:46
  • 10. How To Compile A Kernel - The SuSE Way - Page 3 | HowtoForge - L... http://www.howtoforge.com/kernel_compilation_suse_p3 Thats it. You can check /boot/grub/menu.lst now, you should find a new stanza for your new kernel there: vi /boot/grub/menu.lst # Modified by YaST2. Last modification on Wed Nov 15 14:37:56 CET 2006 color white/blue black/light-gray default 0 timeout 8 title SUSE Linux 10.1 - 2.6.18.2 root (hd0,0) kernel /vmlinuz-2.6.18.2-default root=/dev/sda3 vga=0x314 resume= initrd /initrd-2.6.18.2-default ###Dont change this comment - YaST2 identifier: Original name: linux### title SUSE Linux 10.1 root (hd0,0) (Instead of using YaST to configure GRUB, you could as well have added title SUSE Linux 10.1 - 2.6.18.2 root (hd0,0) kernel /vmlinuz-2.6.18.2-default root=/dev/sda3 vga=0x314 resume= initrd /initrd-2.6.18.2-default as the first kernel stanza to /boot/grub/menu.lst using a command line editor like vi, joe, nano, etc. To find out about the correct kernel and ramdisk, you could have run10 de 12 02/12/2009 11:46
  • 11. How To Compile A Kernel - The SuSE Way - Page 3 | HowtoForge - L... http://www.howtoforge.com/kernel_compilation_suse_p3 ls -l /boot ) Now reboot the system: shutdown -r now If everything goes well, it should come up with the new kernel. You can check if its really using your new kernel by running uname -r This should display something like 2.6.18.2-default If the system doesnt start, restart it, and when you come to the GRUB boot loader menu, select your old kernel and start the system: You can now try again to compile a working kernel. Dont forget to remove the stanza of the not-working kernel from /boot/grub/menu.lst. 9 Links OpenSuSE: http://www.opensuse.org The Linux Kernel Archives: http://www.kernel.org previous up How To Compile A Kernel - The SuSE Way - Page 2 Copyright © 2006 Falko Timme All Rights Reserved. add comment | view as pdf | print: this | all page(s) | Related Tutorials11 de 12 02/12/2009 11:46
  • 12. How To Compile A Kernel - The SuSE Way - Page 3 | HowtoForge - L... http://www.howtoforge.com/kernel_compilation_suse_p3 How To Compile A Kernel - The Fedora Way How To Compile A Kernel - The Ubuntu Way Compile Kernel 2.6 under Debian Sarge Debian-Kernel-Compile-Howto (Kernel 2.6) Debian-Kernel-Compile-Howto (Kernel 2.4) Please do not use the comment function to ask for help! If you need help, please use our forum. Comments will be published after administrator approval. Sponsored Links: Unified Communications: Thoughts, Strategies and Predictions Join the discussion. www.seamlessenterprise.com IP Convergence Integrate your wireless and wireline networks. Learn how from the experts at Sprint. www.seamlessenterprise.com Wireless & Wireline Integration Thoughts, strategies and solutions: join the discussion www.seamlessenterprise.com Unified Communications 2009 Join the Discussion. Now. www.seamlessenterprise.com Red Hat Virtual Experience - a free virtual event. Dec. 9th Trial: IBM Cognos Express Reporting, Analysis & Planning Free White Papers The Agile Heartbeat In this whitepaper I argue that the person most affected by the introduction ... Enterprise Authentication: Increasing Security Without Breaking The Bank Experts agree that username/password authentication does not provide enough p... State of the Data Integration Market Data integration is a critical and fundamental element in a variety of techno... More White Papers Howtos | Mini-Howtos | Forums | News | Search | Contribute | Subscription Site Map/RSS Feeds | Advertise | Contact | Disclaimer | Imprint Copyright © 2009 HowtoForge - Linux Howtos and Tutorials All Rights Reserved.12 de 12 02/12/2009 11:46