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 [2021/07/09 12:32] snarg64bit-migration [2022/03/30 11:57] snarg
Line 88: Line 88:
  
   * disable collision detection and emerge gcc AND binutils using this method:   * disable collision detection and emerge gcc AND binutils using this method:
-<code>LD_PRELOAD="/migration-backup/usr/lib/gcc/i686-pc-linux-gnu/10.3.0/libgcc_s.so.1" PATH="/migration-backup/bin:/migration-backup/usr/bin:/migration-backup/sbin:/migration-backup/usr/sbin:${PATH}"   FEATURES="-collision-detect -protect-owned" emerge -1kav sys-devel/gcc</code>+<code>LD_PRELOAD="/migration-backup/usr/lib/gcc/i686-pc-linux-gnu/10.3.0/libgcc_s.so.1:/migration-backup/usr/lib/libffi.so.7" PATH="/migration-backup/bin:/migration-backup/usr/bin:/migration-backup/sbin:/migration-backup/usr/sbin:${PATH}"   FEATURES="-collision-detect -protect-owned" emerge -1kav sys-devel/gcc</code>
  
   * check  /usr/libexec/gcc/x86_64-pc-linux-gnu/ for any links pointing at i686 versions. remove.   * check  /usr/libexec/gcc/x86_64-pc-linux-gnu/ for any links pointing at i686 versions. remove.
Line 111: Line 111:
 Double check /etc/nsswitch.conf and other files backed up above, this may have overwritten them again. Double check /etc/nsswitch.conf and other files backed up above, this may have overwritten them again.
          
-<code>mv /migration-backup/lib/modules /lib64</code>+<code>mv /migration-backup/lib/modules /lib64</code>  (or to /lib if 17.1 profile)
  
   * 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   * 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
Line 143: Line 143:
  
   * check for orphans in /usr/lib and all the other places. (bin sbin /usr/bin /usr/sbin). For finding orphan files after migration in /lib32, /usr/lib32, /usr/lib64   * check for orphans in /usr/lib and all the other places. (bin sbin /usr/bin /usr/sbin). For finding orphan files after migration in /lib32, /usr/lib32, /usr/lib64
 +<code>emerge -1av /lib32 /usr/lib32</code>
 +and
 <code>cd /lib32 ; find  -xdev -type f -exec qfile -o {} + |less</code> <code>cd /lib32 ; find  -xdev -type f -exec qfile -o {} + |less</code>
  
64bit-migration.txt · Last modified: 2023/06/21 12:02 by snarg