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 revision
Previous revision
Next revisionBoth sides next revision
64bit-migration [2019/01/15 15:24] snarg64bit-migration [2019/01/15 17:48] 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 =python-3.6* bash readline findutils install-xattr bzip2 tar xz-utils make grep patch gawk sed libpcre+  quickpkg glibc gcc zlib ncurses gmp mpfr util-linux acl attr sandbox coreutils procps binutils libcap mpc cracklib flex =db-5* glib 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+  * on target pc, mount or rsync /usr/portage/packages and emerge -1k to install them. If theres any differences in USE, set them in the prefix 
 + 
 +  USE="fix any differences" emerge -1kav <pasted list>
  
   mv /usr/lib to /usr/oldlib and symlink lib to lib64   mv /usr/lib to /usr/oldlib and symlink lib to lib64
Line 102: Line 104:
   ln -s lib64 lib   ln -s lib64 lib
  
 +  * Emerging gcc needs to be done now, but also acts as a sanity check to see what we've missed. Repeat the quickpkg / emerge -1k steps for missing things
  
 +  emerge gcc -1av
  
   * remove /etc/env.d/99migration, env-update, ldconfig, sanity check.   * remove /etc/env.d/99migration, env-update, ldconfig, sanity check.
-  * check for i686 compiler orphans with: qfile -o /usr/bin/i686-pc-linux-gnu-*+  * copy over a valid /etc/nsswitch.conf
  
 +  * @system rebuild - adjust USE as needed
  
-  emerge gcc -1av +  FEATURES="-sandbox -usersandbox" USE="-X -gtk -qt5 -introspection -cairo -gpm -consolekit -policykit -net -ipv6 -spell -sqlite -nls -berkdb -gdbm -openssl" emerge -1eav @system
- +
-  FEATURES="-sandbox -usersandbox" emerge -1eav @system+
  
   * remove -sandbox and -usersandbox from features   * remove -sandbox and -usersandbox from features
 +  * check for i686 compiler orphans with: qfile -o /usr/bin/i686-pc-linux-gnu-*
      
   emerge -eav --keep-going @world   emerge -eav --keep-going @world
Line 118: 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
Line 125: Line 127:
   * remove /migration-backup   * remove /migration-backup
   * erase /usr/portage/packages (whole dir)   * erase /usr/portage/packages (whole dir)
 +  * remove abi_x86_32 from package.use and profiles/use.mask, then emerge --newuse
   * clean up /lib.old and /usr/lib.old   * clean up /lib.old and /usr/lib.old
  
64bit-migration.txt · Last modified: 2023/06/21 12:02 by snarg