1 |
V Sat, 25 Feb 2012 10:32:20 -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 |
6 |
> >> >> never 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 |
11 |
> >> > it. Press ENTER when you're finished, and then press "b" to boot |
12 |
> >> > your modified entry. |
13 |
> >> > |
14 |
> >> > That way, you can boot whatever kernel you want if the current |
15 |
> >> > one 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 |
> How is another distro different in this situation? |
32 |
> |
33 |
> - Grant |
34 |
|
35 |
Just because when using distros like Centos/RHEL or Debian stable, you |
36 |
have very little chance that the kernel released will fail. Due to |
37 |
extensive testing, user base and update policy. And major kernel update |
38 |
you done only once in few years and the transition is tested before |
39 |
release done (though you are supposed to test yourself to be safe). |
40 |
|
41 |
This is not saying that gentoo is bad, I'm very big fan of gentoo. |
42 |
But you have to concern where it use and where not. |
43 |
|
44 |
Robert. |
45 |
|
46 |
|
47 |
> |
48 |
> |
49 |
> > But if you really need to do that (and you don't have any chance to |
50 |
> > get KVM attached), just create an virtual machine with backup of |
51 |
> > your server and test that kernel there, and check that you have all |
52 |
> > the modules you need on the server. But this is the last thing I |
53 |
> > would do. |
54 |
> > |
55 |
> > |
56 |
> > Good luck, |
57 |
> > Robert. |
58 |
> |