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