User Tools

Site Tools


64bit-migration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
64bit-migration [2019/01/15 14:29] snarg64bit-migration [2019/01/15 15:24] 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* pam pambase =python-3.6* bash readline findutils install-xattr bzip2 tar xz-utils make grep patch gawk sed libpcre
  
   * mount or copy /usr/portage/packages and emerge -1k to install them   * mount or copy /usr/portage/packages and emerge -1k to install them
Line 79: Line 79:
   ldconfig   ldconfig
  
-  * fix 32bit gcc and python libs in wrong directory by running: +  * fix 32bit toolchain and python in wrong directory by running:
- +
-  emerge -1kav sys-devel/gcc mpfr mpc =python-3.6* python-exec+
  
 +  emerge -1kav sys-devel/gcc glibc mpfr mpc binutils 
 +  binutils-config 1
 +  . /etc/profile
 +  
 +  emerge -1av python-exec 
 +  emerge -1kav =python-3.6* --binpkg-changed-deps=n
 +  
   mv /lib/modules /lib64   mv /lib/modules /lib64
   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 /lib/modules /lib64   mv /lib/modules /lib64
   mv /lib/gentoo /lib64   mv /lib/gentoo /lib64
 +  
 +  cd /
 +  mv lib oldlib
 +  ln -s lib64 lib
 +
 +
  
   * remove /etc/env.d/99migration, env-update, ldconfig, sanity check.   * remove /etc/env.d/99migration, env-update, ldconfig, sanity check.
64bit-migration.txt · Last modified: 2023/06/21 12:02 by snarg