RE: [newbie] Kernel update question [How to]

2002-01-14 Thread Johnson, David

Running the RPM -ivh did add the new kernel's boot info to the bottom of
lilo.conf, and it included the read-only directive.  If/when I decide the
move solely to the new kernel and nix the old kernel, should I remove this
directive?  The default boot info does not include this.  What does it mean?

-Original Message-
From: skinky [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 11, 2002 9:44 PM
To: [EMAIL PROTECTED]; Johnson, David;
'[EMAIL PROTECTED]'
Subject: Re: [newbie] Kernel update question [How to]


On Saturday 12 January 2002 10:01, Johnson, David wrote:
|  You've all been so helpful today...Here's another question:
|
|  I'm going through the process of updating my kernel as detailed in
|  http://www.linux-mandrake.com/en/security/2001/MDKSA-2001-079-1.php3
| and my question comes from this snippet of text where I'm supposed to
| add something to lilo so I can boot to the old kernel if I need to:
|
|  You will also want to create a new entry with the initrd and image
|  directives pointing to the old kernel's vmlinuz and initrd images so
| you may also boot from the old images if required.
|  How do I make these additions to /etc/lilo.conf?

After installing your kernel with 
# rpm -ivh kernel-2.4.x-xmdk.i586.rpm
look in /boot where your new vmlinuz/images will have been installed.
Sometimes the new kernel installation adds the new kernel vmlinuz (boot 
image) to /etc/lilo.conf for you (usually at the bottom of the file).  If 
it has not already been added for you, add it yourself.  For example when 
I installed a new kernel (2.4.16.3mdk-1-1mdkenterprise) I added:

image=/boot/vmlinuz-2.4.16.3mdk-1-1mdkenterprise
label=24163-1-1mdkent
root=/dev/hda5
read-only
optional
vga=normal
append= hdc=ide-scsi hdd=ide-scsi devfs=nomount mem=1152M

You can use similar parameters to your existing kernel listing in the 
lilo.conf file.  The label can be anything you like so that you can 
identify it when lilo gives you the option at boot.  If you want to make 
the new kernel your default to boot, just change the default= (near the 
top of the file) to your new kernel label.

After saving the file, you must run lilo for changes to take effect.  In a 
terminal as root:
# lilo  or  # /sbin/lilo

Then reboot and enjoy!

skinky
-- 
oxymoron:  Microsoft Works



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] Kernel update question [How to]

2002-01-11 Thread Johnson, David

You've all been so helpful today...Here's another question:

I'm going through the process of updating my kernel as detailed in
http://www.linux-mandrake.com/en/security/2001/MDKSA-2001-079-1.php3 and my
question comes from this snippet of text where I'm supposed to add something
to lilo so I can boot to the old kernel if I need to:

You will also want to create a new entry with the initrd and image
directives pointing to the old kernel's vmlinuz and initrd images so you may
also boot from the old images if required.
How do I make these additions to /etc/lilo.conf?




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Kernel update question [How to]

2002-01-11 Thread skinky

On Saturday 12 January 2002 10:01, Johnson, David wrote:
|  You've all been so helpful today...Here's another question:
|
|  I'm going through the process of updating my kernel as detailed in
|  http://www.linux-mandrake.com/en/security/2001/MDKSA-2001-079-1.php3
| and my question comes from this snippet of text where I'm supposed to
| add something to lilo so I can boot to the old kernel if I need to:
|
|  You will also want to create a new entry with the initrd and image
|  directives pointing to the old kernel's vmlinuz and initrd images so
| you may also boot from the old images if required.
|  How do I make these additions to /etc/lilo.conf?

After installing your kernel with 
# rpm -ivh kernel-2.4.x-xmdk.i586.rpm
look in /boot where your new vmlinuz/images will have been installed.
Sometimes the new kernel installation adds the new kernel vmlinuz (boot 
image) to /etc/lilo.conf for you (usually at the bottom of the file).  If 
it has not already been added for you, add it yourself.  For example when 
I installed a new kernel (2.4.16.3mdk-1-1mdkenterprise) I added:

image=/boot/vmlinuz-2.4.16.3mdk-1-1mdkenterprise
label=24163-1-1mdkent
root=/dev/hda5
read-only
optional
vga=normal
append= hdc=ide-scsi hdd=ide-scsi devfs=nomount mem=1152M

You can use similar parameters to your existing kernel listing in the 
lilo.conf file.  The label can be anything you like so that you can 
identify it when lilo gives you the option at boot.  If you want to make 
the new kernel your default to boot, just change the default= (near the 
top of the file) to your new kernel label.

After saving the file, you must run lilo for changes to take effect.  In a 
terminal as root:
# lilo  or  # /sbin/lilo

Then reboot and enjoy!

skinky
-- 
oxymoron:  Microsoft Works



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com