SlideShare a Scribd company logo
1 of 12
Download to read offline
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
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



          Who's 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
          Don't 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

                                                                                                                  more




2 de 12                                                                                                          02/12/2009 11:46
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 3



3 de 12                                                                                                                                    02/12/2009 11:46
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
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
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
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
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
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
How To Compile A Kernel - The SuSE Way - Page 3 | HowtoForge - L...                 http://www.howtoforge.com/kernel_compilation_suse_p3




           That's 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

             ###Don't 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 run




10 de 12                                                                                                               02/12/2009 11:46
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 it's really using your new
           kernel by running


               uname -r


           This should display something like

           2.6.18.2-default

           If the system doesn't 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. Don't 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 Tutorials




11 de 12                                                                                                                 02/12/2009 11:46
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

More Related Content

What's hot

Troubleshooting vm's presen
Troubleshooting vm's presenTroubleshooting vm's presen
Troubleshooting vm's presenkiwimjg
 
Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...
Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...
Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...Carlos Eduardo
 
Linux boot process – explained
Linux boot process – explainedLinux boot process – explained
Linux boot process – explainedLinuxConcept
 
Raspberry zero usb in linux
Raspberry zero usb in linuxRaspberry zero usb in linux
Raspberry zero usb in linuxGSHCO
 
Yum package manager
Yum package managerYum package manager
Yum package managerLinuxConcept
 
Xubuntu with a *pure* debian base from scratch
Xubuntu with a *pure* debian base from scratchXubuntu with a *pure* debian base from scratch
Xubuntu with a *pure* debian base from scratchRichJack
 
Steam backup-game-files
Steam backup-game-filesSteam backup-game-files
Steam backup-game-filesssuser1eca7d
 
Lavigne sept11 bsdmag
Lavigne sept11 bsdmagLavigne sept11 bsdmag
Lavigne sept11 bsdmagDru Lavigne
 
"Relax and Recover", an Open Source mksysb for Linux on Power
"Relax and Recover", an Open Source mksysb for Linux on Power"Relax and Recover", an Open Source mksysb for Linux on Power
"Relax and Recover", an Open Source mksysb for Linux on PowerSebastien Chabrolles
 

What's hot (13)

Troubleshooting vm's presen
Troubleshooting vm's presenTroubleshooting vm's presen
Troubleshooting vm's presen
 
KonBoot-Help
KonBoot-HelpKonBoot-Help
KonBoot-Help
 
Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...
Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...
Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...
 
hw1a
hw1ahw1a
hw1a
 
Linux boot process – explained
Linux boot process – explainedLinux boot process – explained
Linux boot process – explained
 
Raspberry zero usb in linux
Raspberry zero usb in linuxRaspberry zero usb in linux
Raspberry zero usb in linux
 
Yum package manager
Yum package managerYum package manager
Yum package manager
 
Xubuntu with a *pure* debian base from scratch
Xubuntu with a *pure* debian base from scratchXubuntu with a *pure* debian base from scratch
Xubuntu with a *pure* debian base from scratch
 
Bootable Usb
Bootable UsbBootable Usb
Bootable Usb
 
Steam backup-game-files
Steam backup-game-filesSteam backup-game-files
Steam backup-game-files
 
PHP selber bauen
PHP selber bauenPHP selber bauen
PHP selber bauen
 
Lavigne sept11 bsdmag
Lavigne sept11 bsdmagLavigne sept11 bsdmag
Lavigne sept11 bsdmag
 
"Relax and Recover", an Open Source mksysb for Linux on Power
"Relax and Recover", an Open Source mksysb for Linux on Power"Relax and Recover", an Open Source mksysb for Linux on Power
"Relax and Recover", an Open Source mksysb for Linux on Power
 

Similar to How to compile a kernel suse 3

BITS: Introduction to linux, distributions and installation
BITS: Introduction to linux, distributions and installationBITS: Introduction to linux, distributions and installation
BITS: Introduction to linux, distributions and installationBITS
 
L hammonds adventure
L hammonds adventureL hammonds adventure
L hammonds adventureMuhamad Fauzi
 
Slackware Demystified [SELF 2011]
Slackware Demystified [SELF 2011]Slackware Demystified [SELF 2011]
Slackware Demystified [SELF 2011]Vincent Batts
 
All about linux gaining root remote exploitation
All about linux  gaining root   remote exploitationAll about linux  gaining root   remote exploitation
All about linux gaining root remote exploitationn0rz
 
How to make multi-boot USB drive for LiveCD iso images on EFI/UEFI and BIOS
 How to make multi-boot USB drive for LiveCD iso images on EFI/UEFI and BIOS How to make multi-boot USB drive for LiveCD iso images on EFI/UEFI and BIOS
How to make multi-boot USB drive for LiveCD iso images on EFI/UEFI and BIOSKentaro Hatori
 
Startup guide for kvm on cent os 6
Startup guide for kvm on cent os 6Startup guide for kvm on cent os 6
Startup guide for kvm on cent os 6Carlos Eduardo
 
Containers with systemd-nspawn
Containers with systemd-nspawnContainers with systemd-nspawn
Containers with systemd-nspawnGábor Nyers
 
Advanced Level Training on Koha / TLS (ToT)
Advanced Level Training on Koha / TLS (ToT)Advanced Level Training on Koha / TLS (ToT)
Advanced Level Training on Koha / TLS (ToT)Ata Rehman
 
Lightweight Virtualization: LXC containers & AUFS
Lightweight Virtualization: LXC containers & AUFSLightweight Virtualization: LXC containers & AUFS
Lightweight Virtualization: LXC containers & AUFSJérôme Petazzoni
 
3. configuring a compute node for nfv
3. configuring a compute node for nfv3. configuring a compute node for nfv
3. configuring a compute node for nfvvideos
 
Linux booting process, Dual booting, Components involved
Linux booting process, Dual booting, Components involvedLinux booting process, Dual booting, Components involved
Linux booting process, Dual booting, Components involveddivyammo
 
Instalando Cacti no CentOS 5
Instalando Cacti no CentOS 5Instalando Cacti no CentOS 5
Instalando Cacti no CentOS 5Carlos Eduardo
 
Intro To Linux
Intro To LinuxIntro To Linux
Intro To Linuxtechlug
 
Ubuntu初體驗:脫離邪惡微軟帝國吧!_150606
Ubuntu初體驗:脫離邪惡微軟帝國吧!_150606Ubuntu初體驗:脫離邪惡微軟帝國吧!_150606
Ubuntu初體驗:脫離邪惡微軟帝國吧!_150606Eunice Lin
 

Similar to How to compile a kernel suse 3 (20)

BITS: Introduction to linux, distributions and installation
BITS: Introduction to linux, distributions and installationBITS: Introduction to linux, distributions and installation
BITS: Introduction to linux, distributions and installation
 
L hammonds adventure
L hammonds adventureL hammonds adventure
L hammonds adventure
 
Slackware Demystified [SELF 2011]
Slackware Demystified [SELF 2011]Slackware Demystified [SELF 2011]
Slackware Demystified [SELF 2011]
 
All about linux gaining root remote exploitation
All about linux  gaining root   remote exploitationAll about linux  gaining root   remote exploitation
All about linux gaining root remote exploitation
 
How to make multi-boot USB drive for LiveCD iso images on EFI/UEFI and BIOS
 How to make multi-boot USB drive for LiveCD iso images on EFI/UEFI and BIOS How to make multi-boot USB drive for LiveCD iso images on EFI/UEFI and BIOS
How to make multi-boot USB drive for LiveCD iso images on EFI/UEFI and BIOS
 
Startup guide for kvm on cent os 6
Startup guide for kvm on cent os 6Startup guide for kvm on cent os 6
Startup guide for kvm on cent os 6
 
Containers with systemd-nspawn
Containers with systemd-nspawnContainers with systemd-nspawn
Containers with systemd-nspawn
 
Advanced Level Training on Koha / TLS (ToT)
Advanced Level Training on Koha / TLS (ToT)Advanced Level Training on Koha / TLS (ToT)
Advanced Level Training on Koha / TLS (ToT)
 
.ppt
.ppt.ppt
.ppt
 
QEMU in Cross building
QEMU in Cross buildingQEMU in Cross building
QEMU in Cross building
 
Recompile
RecompileRecompile
Recompile
 
Lightweight Virtualization: LXC containers & AUFS
Lightweight Virtualization: LXC containers & AUFSLightweight Virtualization: LXC containers & AUFS
Lightweight Virtualization: LXC containers & AUFS
 
Cups start
Cups startCups start
Cups start
 
3. configuring a compute node for nfv
3. configuring a compute node for nfv3. configuring a compute node for nfv
3. configuring a compute node for nfv
 
Linux booting process, Dual booting, Components involved
Linux booting process, Dual booting, Components involvedLinux booting process, Dual booting, Components involved
Linux booting process, Dual booting, Components involved
 
pptdisk
pptdiskpptdisk
pptdisk
 
Os Bernier
Os BernierOs Bernier
Os Bernier
 
Instalando Cacti no CentOS 5
Instalando Cacti no CentOS 5Instalando Cacti no CentOS 5
Instalando Cacti no CentOS 5
 
Intro To Linux
Intro To LinuxIntro To Linux
Intro To Linux
 
Ubuntu初體驗:脫離邪惡微軟帝國吧!_150606
Ubuntu初體驗:脫離邪惡微軟帝國吧!_150606Ubuntu初體驗:脫離邪惡微軟帝國吧!_150606
Ubuntu初體驗:脫離邪惡微軟帝國吧!_150606
 

More from JOSE MANUEL SANCHEZ REQUENA (12)

X creacion de lun
X creacion de lunX creacion de lun
X creacion de lun
 
Error en el tsm debido a falta de espacio en la base de datos
Error en el tsm debido a falta de espacio en la base de datosError en el tsm debido a falta de espacio en la base de datos
Error en el tsm debido a falta de espacio en la base de datos
 
Creacion de lun
Creacion de lunCreacion de lun
Creacion de lun
 
Creacion de maquinas virtuales
Creacion de maquinas virtualesCreacion de maquinas virtuales
Creacion de maquinas virtuales
 
Creacion de lun
Creacion de lunCreacion de lun
Creacion de lun
 
Actualizacion cabinas ds4700
Actualizacion cabinas ds4700Actualizacion cabinas ds4700
Actualizacion cabinas ds4700
 
1.subida de nivel del aix 6
1.subida de nivel del aix 61.subida de nivel del aix 6
1.subida de nivel del aix 6
 
Romper mirro rs y crearlos
Romper mirro rs y crearlosRomper mirro rs y crearlos
Romper mirro rs y crearlos
 
Cluster administration rh
Cluster administration rhCluster administration rh
Cluster administration rh
 
Cluster suse bueno
Cluster suse  buenoCluster suse  bueno
Cluster suse bueno
 
Cganen1 6 c luster
Cganen1 6 c lusterCganen1 6 c luster
Cganen1 6 c luster
 
Curso linux operación
Curso linux operaciónCurso linux operación
Curso linux operación
 

How to compile a kernel suse 3

  • 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 Who's 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 Don't 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 more 2 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 3 3 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 That's 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 ###Don't 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 run 10 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 it's really using your new kernel by running uname -r This should display something like 2.6.18.2-default If the system doesn't 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. Don't 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 Tutorials 11 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