1 |
On Sun, Apr 07, 2013 at 04:06:40PM -0500, William Hubbs wrote: |
2 |
> That's why I said "may". I haven't attempted that migration manually, so |
3 |
> I don't know how easy or difficult it would be. You may be able to do |
4 |
> that, but you will be basically on your own to figure it out. |
5 |
I did it on a really old box yesterday. |
6 |
It's a little bumpy since I can't reboot the box all yet, so it's not |
7 |
entirely done. |
8 |
|
9 |
21:51:38 up 1035 days, 15:04, 2 users, load average: 2.24, 1.70, 1.31 |
10 |
|
11 |
It went from sys-apps/baselayout-1.12.14-r1 to sys-apps/baselayout-2.1-r1. |
12 |
Still has kernel 2.6.11, glibc-2.10.1-r1, sys-fs/udev-151-r4, sys-apps/coreutils-8.7 |
13 |
|
14 |
Rough guide: |
15 |
1. Make your own /run and mount it beforehand. |
16 |
2. Grab a list of ALL services that are running to a file. You won't be |
17 |
able to do this later. |
18 |
3. Upgrade the package. |
19 |
4. Update your configs, esp hwclock/clock, and ensure clocks are good. |
20 |
5. echo default >/run/openrc/softlevel |
21 |
6. For each service from #2, "touch /run/openrc/started/$SERVICE" |
22 |
7. rc-update -u |
23 |
8. Check that all your services are still good. |
24 |
|
25 |
The kernel/udev/glibc/coreutils upgrade is going to be a little bit more |
26 |
fun. |
27 |
|
28 |
Disclaimer for the foolhardy: I have taken on consulting in the past on |
29 |
upgrading ancient Gentoo servers to latest, with minimal downtime or |
30 |
breakage; my record is a box with updates more than 6 years prior. |
31 |
|
32 |
-- |
33 |
Robin Hugh Johnson |
34 |
Gentoo Linux: Developer, Trustee & Infrastructure Lead |
35 |
E-Mail : robbat2@g.o |
36 |
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85 |