1 |
Hello Karl, |
2 |
|
3 |
My personal experience (with lilo, you'll see why its important) says |
4 |
that best practice is to install the new kernel with a different bootloader |
5 |
label, leave the default to the working kernel and then run "lilo -R |
6 |
<label of the new kernel>". This basicly means that only the next boot |
7 |
will be done using the new kernel, subsequent boots will revert to the |
8 |
default (that is, the working kernel). |
9 |
|
10 |
This way, if it doesn't boot you can just get the colo staff to reboot your |
11 |
server and you're up with the old, working kernel. |
12 |
|
13 |
Until now I've never managed to leave a server completely unusable, |
14 |
even while doing crazy stuff such as installing gentoo on the swap |
15 |
partition of a linux running suse ;) |
16 |
|
17 |
Of course, other ideas are more than welcome ;) |
18 |
|
19 |
Cheers, |
20 |
Dan. |
21 |
|
22 |
> ----- Original Message ----- |
23 |
> From: "Karl Zander" <gentoolist@××××××××××××.com> |
24 |
> To: <gentoo-server@l.g.o> |
25 |
> Sent: Monday, February 09, 2004 12:59 AM |
26 |
> Subject: [gentoo-server] Testing and Installing New Kernel Remotely |
27 |
> |
28 |
> |
29 |
> > |
30 |
> > Server will be at a colo site and run Gentoo. I am tying to think |
31 |
through |
32 |
> > how to handle kernel updates. Compiling is fine. But after copying the |
33 |
> > new kernel to /boot and configuring Grub, do I just re-boot and hope for |
34 |
> > the best? When I am at the console I can choose the kernel to load. |
35 |
I |
36 |
> > can then test the new kernel before setting it as the default in Grub. |
37 |
If |
38 |
> > the new kernel has a problem, I restart the server and choose a known |
39 |
> > working kernel. So far the kernels I have done have worked fine. But I |
40 |
> > have to think that sometime in the future I will manage to mess up my |
41 |
> > configuration. Mistakes happen. Its not like I will recompile the |
42 |
kernel |
43 |
> > every week. But from time to time I will want to take advantage of |
44 |
fixes |
45 |
> > or security patches. |
46 |
> > |
47 |
> > Still new to Gentoo so was wondering if there are any best practices for |
48 |
> this. |
49 |
> > |
50 |
> > -Karl |
51 |
> > |
52 |
> > |
53 |
> |