1 |
V Fri, 24 Feb 2012 18:08:43 -0800 |
2 |
Grant <emailgrant@×××××.com> napsáno: |
3 |
|
4 |
> >> I need to test a kernel config change on a remote system. Is |
5 |
> >> there a safe way to do this? The fallback thing in grub has never |
6 |
> >> worked for me. When does that ever work? |
7 |
> > |
8 |
> > |
9 |
> > You can press ESC in the Grub screen and it will take you to |
10 |
> > text-only mode. There, you select an entry, press "e" and edit it. |
11 |
> > Press ENTER when you're finished, and then press "b" to boot your |
12 |
> > modified entry. |
13 |
> > |
14 |
> > That way, you can boot whatever kernel you want if the current one |
15 |
> > doesn't work. |
16 |
> |
17 |
> I can't do that remotely though. I'm probably asking for something |
18 |
> that doesn't exist. |
19 |
> |
20 |
> - Grant |
21 |
> |
22 |
|
23 |
Don't do that if you don't have some tool like KVM, or other remote |
24 |
management of the server. Or if it is available in the data center, |
25 |
just call them and order this service for the time you need to do |
26 |
updates. |
27 |
|
28 |
This is why I don't use gentoo on servers any more, just because |
29 |
I rather stay safe than sorry. |
30 |
|
31 |
But if you really need to do that (and you don't have any chance to |
32 |
get KVM attached), just create an virtual machine with backup of your |
33 |
server and test that kernel there, and check that you have all the |
34 |
modules you need on the server. But this is the last thing I would do. |
35 |
|
36 |
|
37 |
Good luck, |
38 |
Robert. |