64bit-migration
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
64bit-migration [2019/01/15 14:29] – snarg | 64bit-migration [2019/01/15 16:38] – snarg | ||
---|---|---|---|
Line 63: | Line 63: | ||
* on donor pc or VM: | * on donor pc or VM: | ||
- | quickpkg glibc gcc zlib ncurses gmp mpfr util-linux acl attr sandbox coreutils procps binutils libcap mpc cracklib flex =db-5* pam pambase | + | quickpkg glibc gcc zlib ncurses gmp mpfr util-linux acl attr sandbox coreutils procps binutils libcap mpc cracklib flex =db-5* |
- | * mount or copy / | + | * on target pc, mount or rsync / |
+ | |||
+ | USE=" | ||
mv /usr/lib to /usr/oldlib and symlink lib to lib64 | mv /usr/lib to /usr/oldlib and symlink lib to lib64 | ||
Line 79: | Line 81: | ||
ldconfig | ldconfig | ||
- | * fix 32bit gcc and python | + | * fix 32bit toolchain |
- | + | ||
- | emerge -1kav sys-devel/ | + | |
+ | emerge -1kav sys-devel/ | ||
+ | binutils-config 1 | ||
+ | . / | ||
+ | | ||
+ | emerge -1av python-exec | ||
+ | emerge -1kav =python-3.6* --binpkg-changed-deps=n | ||
+ | | ||
mv / | mv / | ||
mv /lib/gentoo /lib64 | mv /lib/gentoo /lib64 | ||
- | |||
- | |||
- | dns was broken at this point (prob somethign to do with libnss_dns.so) | ||
*for the lib / lib64 link <-> switcheroo | *for the lib / lib64 link <-> switcheroo | ||
** make sure busybox is functional. run this from busybox | ** make sure busybox is functional. run this from busybox | ||
** have a few shells open, in case you break the one you're working from | ** have a few shells open, in case you break the one you're working from | ||
- | |||
mv / | mv / | ||
mv /lib/gentoo /lib64 | mv /lib/gentoo /lib64 | ||
+ | | ||
+ | cd / | ||
+ | mv lib oldlib | ||
+ | ln -s lib64 lib | ||
- | * remove / | + | * Emerging gcc needs to be done now, but also acts as a sanity check to see what we've missed. Repeat the quickpkg |
- | * check for i686 compiler orphans with: qfile -o /usr/ | + | |
emerge gcc -1av | emerge gcc -1av | ||
- | FEATURES=" | + | |
+ | * copy over a valid / | ||
+ | |||
+ | * @system rebuild - adjust USE as needed | ||
+ | |||
+ | | ||
* remove -sandbox and -usersandbox from features | * remove -sandbox and -usersandbox from features | ||
+ | * check for i686 compiler orphans with: qfile -o / | ||
| | ||
emerge -eav --keep-going @world | emerge -eav --keep-going @world | ||
Line 111: | Line 122: | ||
== Things to do later == | == Things to do later == | ||
- | |||
- | * whatever is left over in /lib and /usr/lib can be deleted from /lib32 and /usr/lib32 as everything was originally copied. | ||
* uncomment LINGUAS from make.conf | * uncomment LINGUAS from make.conf |
64bit-migration.txt · Last modified: 2023/06/21 12:02 by snarg