Gentoo Archives: gentoo-user

From: Nilesh Govindrajan <contact@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Safe way to test a new kernel?
Date: Sat, 25 Feb 2012 12:35:34
Message-Id: 4F48D510.9010803@nileshgr.com
In Reply to: Re: [gentoo-user] Re: Safe way to test a new kernel? by Mick
1 On Sat 25 Feb 2012 05:48:49 PM IST, Mick wrote:
2 > On Saturday 25 Feb 2012 02:32:49 Pandu Poluan wrote:
3 >> On Feb 25, 2012 9:14 AM, "Grant" <emailgrant@×××××.com> wrote:
4 >>>>> I need to test a kernel config change on a remote system. Is there a
5 >>>>> safe way to do this? The fallback thing in grub has never worked for
6 >>>>> me. When does that ever work?
7 >>>>
8 >>>> You can press ESC in the Grub screen and it will take you to text-only
9 >>
10 >> mode.
11 >>
12 >>>> There, you select an entry, press "e" and edit it. Press ENTER when
13 >>
14 >> you're
15 >>
16 >>>> finished, and then press "b" to boot your modified entry.
17 >>>>
18 >>>> That way, you can boot whatever kernel you want if the current one
19 >>
20 >> doesn't
21 >>
22 >>>> work.
23 >>>
24 >>> I can't do that remotely though. I'm probably asking for something
25 >>> that doesn't exist.
26 >>>
27 >>> - Grant
28 >>
29 >> Situations like these that made me decide with great conviction to always
30 >> deploy my servers virtualized, even if the box in question will only host a
31 >> single VM.
32 >>
33 >> Now, if I lost my intelligence for a couple of seconds and somehow ended up
34 >> with a VM that's no longer accessible remotely, I just connect to the
35 >> virtual console.
36 >>
37 >> The flip side? Now I'm getting too daring/careless, and the uptime now
38 >> drops below my (self-imposed) target of 99.99% :-P
39 >
40 > What do you do when you need to upgrade the host, rather than the guest?
41 >
42
43 I think setting up a VM on the server using the new kernel should help
44 test a new kernel?
45
46 --
47 Nilesh Govindarajan
48 http://nileshgr.com

Replies

Subject Author
Re: [gentoo-user] Re: Safe way to test a new kernel? Grant <emailgrant@×××××.com>