{"id":11925,"date":"2026-11-25T15:06:36","date_gmt":"2026-11-25T15:06:36","guid":{"rendered":"https:\/\/www.canaldelasrecetas.com\/cms\/retro-kali-laptop-2011-en\/"},"modified":"2026-11-25T15:06:36","modified_gmt":"2026-11-25T15:06:36","slug":"retro-kali-laptop-2011-en","status":"publish","type":"post","link":"https:\/\/www.canaldelasrecetas.com\/cms\/retro-kali-laptop-2011-en\/","title":{"rendered":"Upgrading a neglected Kali Linux on a 2011 laptop (AMD E-450) without fear, and running Claude Code on a CPU without SSE4.2"},"content":{"rendered":"<style>\n.rb-lang{font-size:.9em}\n.rb-serie{font-size:.9em;background:#f4f1ea;border-radius:8px;padding:.6em 1em}\n.rb-anuncio{border:2px solid #cc1500;border-radius:10px;padding:1em 1.2em;margin:1.8em 0;background:#fffaf2}\n.rb-anuncio .rb-et{font-size:.75em;letter-spacing:.08em;text-transform:uppercase;color:#8a6a4a}\n.rb-anuncio img{vertical-align:middle}\n.rb-post figure{margin:1.2em 0;text-align:center}\n.rb-post figure img{max-width:100%;height:auto;image-rendering:pixelated;border:1px solid #ccc}\n.rb-post figcaption{font-size:.85em;color:#6a5a4a}\n.rb-post pre{background:#1e1e1e;color:#e8e8e8;padding:1em;border-radius:8px;overflow:auto;font-size:.85em}\n.rb-bajar{display:inline-block;background:#1f6feb;color:#fff!important;padding:.6em 1.1em;border-radius:8px;font-weight:700;text-decoration:none}\n.rb-tg{display:inline-block;background:#229ed9;color:#fff!important;padding:.5em 1em;border-radius:8px;font-weight:700;text-decoration:none}\n<\/style>\n<p class=\"rb-lang\">\ud83c\udf10 <a href=\"https:\/\/www.canaldelasrecetas.com\/cms\/retro-kali-laptop-2011-es\/\" hreflang=\"es\">Leer en espa\u00f1ol<\/a><\/p>\n<div class=\"rb-post\">\n<p>We have a 2011 <strong>ASUS K73BY<\/strong> laptop: an <strong>AMD E-450<\/strong> CPU (two &#8220;Bobcat&#8221; cores at 1.65 GHz), a Radeon HD 6470M, Atheros AR9285 Wi-Fi, Realtek Ethernet and, to its credit, 16 GB of RAM. It runs Kali Linux and had gone almost two years without an <code>apt upgrade<\/code>, out of fear that after upgrading the system wouldn&#8217;t boot or programs would stop running.<\/p>\n<p>The fear had a real basis. Trying to install Claude Code with its official installer did this:<\/p>\n<pre><code>$ curl -fsSL https:\/\/claude.ai\/install.sh | bash\nSetting up Claude Code...\nbash: line 227: Illegal instruction (core dumped)\nInstallation was killed before it could finish (exit code 132).\n<\/code><\/pre>\n<h2>Step 1: find out what the CPU is missing<\/h2>\n<p>&#8220;Illegal instruction&#8221; (exit code 132, signal SIGILL) means the program used an instruction the processor doesn&#8217;t know. Check which extensions the CPU has:<\/p>\n<pre><code>grep -m1 &quot;model name&quot; \/proc\/cpuinfo\ngrep -m1 flags \/proc\/cpuinfo | tr ' ' '\\n' | grep -E '^(sse4_1|sse4_2|avx|avx2|popcnt|ssse3|sse4a)$'\n<\/code><\/pre>\n<p>The E-450 has <code>ssse3<\/code>, <code>sse4a<\/code>, <code>popcnt<\/code> and <code>abm<\/code>, but <strong>no SSE4.1, SSE4.2 or AVX<\/strong>. In today&#8217;s x86-64 classification that is level <strong>v1<\/strong>: the 2003 x86-64 baseline plus a few AMD extras. Modern binaries built for <strong>x86-64-v2<\/strong> (SSE4.2 and POPCNT) or <strong>v3<\/strong> (AVX2) die on startup. That is what happens to Claude Code&#8217;s native executable, which is built with Bun.<\/p>\n<h2>Step 2: will Kali keep working after upgrading?<\/h2>\n<p>Yes. <strong>Debian, and Kali with it, still builds its amd64 packages for the x86-64 baseline (v1).<\/strong> <code>apt full-upgrade<\/code> won&#8217;t bring in binaries the E-450 can&#8217;t run. What doesn&#8217;t run are <strong>third-party<\/strong> binaries (Bun, AppImages, some &#8220;curl | bash&#8221; installers), and that doesn&#8217;t change whether you upgrade or not.<\/p>\n<p>The hardware isn&#8217;t a worry either, because everything uses in-kernel drivers:<\/p>\n<pre><code>lspci -nnk | grep -A2 -E &quot;VGA|Network|Ethernet|SATA&quot;\n<\/code><\/pre>\n<table>\n<thead>\n<tr>\n<th>Part<\/th>\n<th>Driver<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Radeon HD 6470M (Seymour)<\/td>\n<td><code>radeon<\/code><\/td>\n<\/tr>\n<tr>\n<td>Atheros AR9285<\/td>\n<td><code>ath9k<\/code><\/td>\n<\/tr>\n<tr>\n<td>Realtek RTL8111<\/td>\n<td><code>r8169<\/code><\/td>\n<\/tr>\n<tr>\n<td>SATA AHCI (SB7x0\/SB8x0)<\/td>\n<td><code>ahci<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The real risk wasn&#8217;t the CPU. It was <strong>two years of a rolling-release system<\/strong>: ~4,200 pending packages. On top of that, the system was already halfway there: <code>libc6<\/code> was from 2026, but the desktop was from 2024.<\/p>\n<h2>Step 3: Claude Code on a CPU without SSE4.2<\/h2>\n<p>The npm package now ships the native binary too. We found the last release that was still <strong>pure JavaScript<\/strong> (<code>cli.js<\/code>) with a binary search over the published versions:<\/p>\n<pre><code>npm view @anthropic-ai\/claude-code@2.1.112 bin   # { claude: 'cli.js' }\nnpm view @anthropic-ai\/claude-code@2.1.113 bin   # { claude: 'bin\/claude.exe' }\n<\/code><\/pre>\n<p><strong>2.1.112<\/strong> is the last JavaScript release. But with Kali&#8217;s Node 18 it fails:<\/p>\n<pre><code>TypeError: Object not disposable\n<\/code><\/pre>\n<p>That release uses <code>Symbol.dispose<\/code>, which needs Node 20 or newer. We installed <strong>Node 22 for the user only<\/strong>, without touching the system one. Node&#8217;s V8 does detect the CPU and works on the E-450:<\/p>\n<pre><code>cd ~\/.local\/lib\nV=$(curl -fsSL https:\/\/nodejs.org\/dist\/latest-v22.x\/SHASUMS256.txt | grep -o &quot;node-v22[0-9.]*-linux-x64.tar.xz&quot; | head -1)\ncurl -fsSLO https:\/\/nodejs.org\/dist\/latest-v22.x\/$V\ncurl -fsSL https:\/\/nodejs.org\/dist\/latest-v22.x\/SHASUMS256.txt | grep &quot; $V\\$&quot; | sha256sum -c -\nmkdir node22 &amp;&amp; tar -xJf $V -C node22 --strip-components=1 &amp;&amp; rm $V\n<\/code><\/pre>\n<p>Then Claude Code 2.1.112 in <code>~\/.local\/lib\/claude-code<\/code>, and a small script that starts it with that Node:<\/p>\n<pre><code>npm pack @anthropic-ai\/claude-code@2.1.112\nmkdir -p ~\/.local\/lib\/claude-code ~\/.local\/bin\ntar -xzf anthropic-ai-claude-code-2.1.112.tgz -C ~\/.local\/lib\/claude-code --strip-components=1\n\ncat &gt; ~\/.local\/bin\/claude &lt;&lt;'EOF'\n#!\/bin\/sh\nexport DISABLE_AUTOUPDATER=1\nexec &quot;$HOME\/.local\/lib\/node22\/bin\/node&quot; &quot;$HOME\/.local\/lib\/claude-code\/cli.js&quot; &quot;$@&quot;\nEOF\nchmod +x ~\/.local\/bin\/claude\nclaude --version     # 2.1.112 (Claude Code)\n<\/code><\/pre>\n<p><code>DISABLE_AUTOUPDATER=1<\/code> is essential. If Claude Code updates itself, it switches to the native binary and the &#8220;illegal instruction&#8221; comes back.<\/p>\n<blockquote>\n<p><strong>Gotcha:<\/strong> at first <code>~\/.local\/bin\/claude<\/code> was a symlink to <code>cli.js<\/code>. Writing the script over it with <code>cat &gt;<\/code> made the shell follow the link and <strong>overwrite <code>cli.js<\/code><\/strong>. We had to delete the link (<code>rm<\/code>) before creating the script and extract the package again. Always <code>rm<\/code> before writing over something that may be a link.<\/p>\n<\/blockquote>\n<h2>Step 4: back up before the upgrade<\/h2>\n<p>On rolling Kali the repository only has the newest version of each package. If something goes wrong, <strong>the 2024 versions can no longer be downloaded<\/strong>. That&#8217;s why you save them first. On this laptop <code>\/home<\/code> lives on another disk (LUKS-encrypted) with plenty of space, so the backup went there. <code>\/home<\/code> itself isn&#8217;t backed up because the upgrade doesn&#8217;t touch it.<\/p>\n<p><strong>The dpkg database<\/strong> (what is installed, and which version):<\/p>\n<pre><code>R=~\/backup-preupgrade\nmkdir -p $R\/debs $R\/dpkg-db $R\/system $R\/repack\ndpkg-query -W -f='${Package}_${Version}_${Architecture}\\n' | sed 's\/:\/%3a\/' | sort &gt; $R\/installed-with-version.txt\ndpkg --get-selections &gt; $R\/dpkg-selections.txt\napt-mark showmanual   &gt; $R\/apt-manual.txt\nrsync -a \/var\/lib\/dpkg\/ $R\/dpkg-db\/\n<\/code><\/pre>\n<p><strong>The <code>.deb<\/code> files in the apt cache that match the installed versions <em>exactly<\/em>.<\/strong> The cache had 2,639 <code>.deb<\/code> files; 2,598 were the installed versions (4.5 GB):<\/p>\n<pre><code>cd \/var\/cache\/apt\/archives\nls *.deb | sed 's\/\\.deb$\/\/' | sort | comm -12 $R\/installed-with-version.txt - | sed 's\/$\/.deb\/' &gt; $R\/debs-copied.txt\nrsync -a --files-from=$R\/debs-copied.txt .\/ $R\/debs\/\n<\/code><\/pre>\n<p><strong>The system:<\/strong><\/p>\n<pre><code>sudo tar -cpzf $R\/system\/etc.tar.gz       -C \/ etc\nsudo tar -cpzf $R\/system\/usr-local.tar.gz -C \/ usr\/local\nsudo tar -cpzf $R\/system\/opt.tar.gz       -C \/ opt\nsudo cp -a \/boot\/grub\/grub.cfg $R\/system\/\n<\/code><\/pre>\n<p>Plus your own scripts that live outside any package. On this laptop that&#8217;s the one that opens the LUKS disk and mounts <code>\/home<\/code>.<\/p>\n<p><strong>The critical packages that were <em>not<\/em> in the cache<\/strong> (<code>lightdm<\/code>, <code>nfs-common<\/code>, <code>xserver-xorg-core<\/code>, <code>libc6<\/code>, and the AMD, Atheros and Realtek firmware) are rebuilt from what&#8217;s installed with <code>dpkg-repack<\/code>. The new <code>dpkg-repack<\/code> requires Perl 5.40 and the laptop had 5.38. We downloaded it without installing it and adjusted one line:<\/p>\n<pre><code>apt-get download dpkg-repack &amp;&amp; dpkg-deb -x dpkg-repack_*.deb x\nsed -i 's\/^use v5\\.40;\/use v5.36; use feature qw(try); no warnings qw(experimental::try);\/' x\/usr\/bin\/dpkg-repack\ncd $R\/repack\nfor p in lightdm nfs-common xserver-xorg-core libc6 firmware-amd-graphics firmware-atheros firmware-realtek firmware-misc-nonfree; do\n  sudo perl ..\/x\/usr\/bin\/dpkg-repack $p\ndone\n<\/code><\/pre>\n<p>The last lifeline is the <strong>old kernel<\/strong>. It isn&#8217;t removed until the new one is proven to boot, so you can always pick the previous one in GRUB.<\/p>\n<h2>Step 5: Kali&#8217;s new signing key<\/h2>\n<p>In April 2025 Kali changed the key it signs its repository with. On an old Kali, <code>apt update<\/code> fails until you install the new one:<\/p>\n<pre><code>sudo wget https:\/\/archive.kali.org\/archive-keyring.gpg -O \/usr\/share\/keyrings\/kali-archive-keyring.gpg\ngpg --show-keys \/usr\/share\/keyrings\/kali-archive-keyring.gpg    # rsa4096 2025-04-17 ... ED65462EC8D5E4C5\nsudo apt update\n<\/code><\/pre>\n<h2>Step 6: simulate, then upgrade inside tmux<\/h2>\n<p>First a simulation, which installs nothing. That&#8217;s where you check what will be <strong>removed<\/strong>:<\/p>\n<pre><code>sudo apt-get -s full-upgrade &gt; $R\/simulation.txt\ngrep -c ^Inst $R\/simulation.txt\ngrep ^Remv $R\/simulation.txt | awk '{print $2}'\ngrep ^Remv $R\/simulation.txt | grep -E ' (cryptsetup|lightdm|nfs-common|xserver-xorg|firmware-|linux-image|grub)'\n<\/code><\/pre>\n<p>On the E-450 the simulation alone took over ten minutes. The result: <strong>4,200 packages to upgrade, 1,508 new, 398 to remove and a 10.9 GB download<\/strong>. Almost everything being removed was expected: old libraries that change names, <code>php8.1<\/code> \u2192 <code>php8.4<\/code>, <code>mariadb-server-10.6<\/code> \u2192 <code>11.8<\/code>, <code>openjdk-17<\/code>, <code>policykit-1<\/code> \u2192 <code>polkitd<\/code>, and <code>wireshark-qt<\/code>, which is now <code>wireshark<\/code>.<\/p>\n<p>But there was a trap: <strong><code>kali-linux-firmware<\/code> and <code>firmware-atheros<\/code> were being removed too<\/strong>, and <code>firmware-amd-graphics<\/code> (the Radeon firmware) stayed at its 2022 version. <code>apt-cache policy<\/code> told the story:<\/p>\n<pre><code>$ apt-cache policy firmware-atheros\n  Installed: 20221012-1+kali1\n  Candidate: 20221012-1+kali1\n<\/code><\/pre>\n<p>The cause: since 2023, Debian and Kali moved firmware out of <code>non-free<\/code> into its own component, <strong><code>non-free-firmware<\/code><\/strong>. An old <code>sources.list<\/code> doesn&#8217;t include it, so apt can&#8217;t see the new firmware and prefers removing it to leaving dependencies broken. The fix is one word:<\/p>\n<pre><code>sudo sed -i 's#kali-rolling main contrib non-free$#kali-rolling main contrib non-free non-free-firmware#' \/etc\/apt\/sources.list\nsudo apt update\napt-cache policy firmware-atheros     # Candidate: 20260916-1\n<\/code><\/pre>\n<p><strong>Always check this on an old Kali before upgrading.<\/strong> Without firmware, Wi-Fi or video acceleration can die on the next boot.<\/p>\n<p>The second simulation came out clean: <strong>4,218 to upgrade, 1,510 new, 396 to remove<\/strong>. Now the firmware gets upgraded (<code>firmware-amd-graphics<\/code>, <code>-atheros<\/code>, <code>-realtek<\/code> and <code>-misc-nonfree<\/code> go from 20221012 to 20260916), and so do the packages the boot depends on:<\/p>\n<table>\n<thead>\n<tr>\n<th>Package<\/th>\n<th>Before<\/th>\n<th>After<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>linux-image-amd64<\/code><\/td>\n<td>6.10.9<\/td>\n<td>7.2.15<\/td>\n<\/tr>\n<tr>\n<td><code>cryptsetup<\/code><\/td>\n<td>2.7.5<\/td>\n<td>2.8.8<\/td>\n<\/tr>\n<tr>\n<td><code>lightdm<\/code><\/td>\n<td>1.32.0<\/td>\n<td>1.33.1<\/td>\n<\/tr>\n<tr>\n<td><code>nfs-common<\/code><\/td>\n<td>2.6.2<\/td>\n<td>3.1.1<\/td>\n<\/tr>\n<tr>\n<td><code>xserver-xorg-core<\/code><\/td>\n<td>21.1.4<\/td>\n<td>21.1.25<\/td>\n<\/tr>\n<tr>\n<td><code>lxde<\/code> (this laptop&#8217;s desktop)<\/td>\n<td>12<\/td>\n<td>13.1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><code>xserver-xorg-video-radeon<\/code> has no newer version and stays as it is.<\/p>\n<p>Then the real upgrade, <strong>inside <code>tmux<\/code><\/strong>. That way, if the SSH connection drops, the upgrade keeps going, and anyone can peek in with <code>tmux attach -t upgrade<\/code> (to leave without stopping it: <strong>Ctrl+b<\/strong>, then <strong>d<\/strong>). We used a small script: download first, then install. It logs everything and never stops to ask. When a config file has been modified, it <strong>keeps yours<\/strong> (<code>--force-confold<\/code>):<\/p>\n<pre><code>cat &gt; upgrade.sh &lt;&lt;'EOF'\n#!\/bin\/bash\nexport DEBIAN_FRONTEND=noninteractive APT_LISTCHANGES_FRONTEND=none NEEDRESTART_MODE=a\nOPTS=&quot;-y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold&quot;\n{\necho &quot;=== START $(date)&quot;\nsudo -E apt-get $OPTS -d full-upgrade &amp;&amp; echo &quot;=== DOWNLOAD OK $(date)&quot;\nsudo -E apt-get $OPTS full-upgrade    &amp;&amp; echo &quot;=== INSTALL OK $(date)&quot;\necho &quot;=== END $(date)&quot;\n} 2&gt;&amp;1 | tee -a upgrade.log\nexec bash\nEOF\nchmod +x upgrade.sh\ntmux new-session -d -s upgrade .\/upgrade.sh\n<\/code><\/pre>\n<p>On a laptop, also make sure it doesn&#8217;t suspend halfway (or when you close the lid) until the log says <code>=== END<\/code>:<\/p>\n<pre><code>sudo systemd-run --unit=upgrade-no-suspend systemd-inhibit --what=sleep:idle:handle-lid-switch \\\n  --why=&quot;apt full-upgrade&quot; sh -c &quot;until grep -q '=== END' $HOME\/upgrade.log; do sleep 30; done&quot;\n<\/code><\/pre>\n<p>This runs as root, which brings two details. It watches the log rather than the tmux session, because root can&#8217;t see the user&#8217;s session: with <code>tmux has-session<\/code>, the inhibitor would end instantly and protect nothing. And the double quotes are on purpose: <code>$HOME<\/code> expands to <em>your<\/em> folder before it reaches root; with <code>~<\/code>, inside root it would point to <code>\/root<\/code>.<\/p>\n<p>The download: <strong>10.9 GB in 27 minutes<\/strong> over Wi-Fi.<\/p>\n<h3>Gotcha 1: SSH stops accepting connections halfway<\/h3>\n<p>Partway through the install, the laptop&#8217;s SSH started dropping every connection, even to <code>localhost<\/code>:<\/p>\n<pre><code>kex_exchange_identification: read: Connection reset by peer\n<\/code><\/pre>\n<p>The new OpenSSH split part of the server into a separate program (<code>sshd-session<\/code>). The old <code>sshd<\/code>, still running, tries to use files that have already changed and drops the connection. <strong>The upgrade isn&#8217;t affected, because it runs in <code>tmux<\/code>.<\/strong> It&#8217;s fixed by restarting the service (<code>sudo systemctl restart ssh<\/code>) or once apt configures <code>openssh-server<\/code>. The host keys don&#8217;t change. If connecting to <code>localhost<\/code> shows a &#8220;new&#8221; fingerprint, that&#8217;s because <code>localhost<\/code> is a different name in your <code>known_hosts<\/code>.<\/p>\n<p>This warning also showed up in the terminal:<\/p>\n<pre><code>\/etc\/ssh\/ssh_config line 53: Unsupported option &quot;gssapiauthentication&quot;\n<\/code><\/pre>\n<p>The new client comes without GSSAPI (Kerberos), but the old <code>ssh_config<\/code> was kept (<code>--force-confold<\/code>). Commenting out that line is enough.<\/p>\n<h3>Gotcha 2: two wallpaper packages collide<\/h3>\n<p>An hour later, the install stopped:<\/p>\n<pre><code>dpkg: error processing archive ...\/kali-wallpapers-2026_2026.3.0_all.deb (--unpack):\n trying to overwrite '\/usr\/share\/backgrounds\/kali\/login.svg', which is also in package kali-wallpapers-2024 (2024.1.1)\nE: Sub-process \/usr\/bin\/dpkg returned an error code (1)\n<\/code><\/pre>\n<p>A typical Kali clash: two packages ship the same file. <strong>Nothing is damaged:<\/strong> out of ~5,700 packages only 80 had been configured, and 2,176 were left unpacked and waiting. The fix: install <em>that<\/em> package allowing it to overwrite the file, then carry on with <code>--fix-broken<\/code>. A plain <code>full-upgrade<\/code> refuses to run while dependencies are incomplete.<\/p>\n<pre><code>sudo dpkg -i --force-overwrite \/var\/cache\/apt\/archives\/kali-wallpapers-2026_2026.3.0_all.deb\nsudo apt-get -f install          # picks up where it stopped\nsudo apt full-upgrade            # whatever is left\n<\/code><\/pre>\n<p>Don&#8217;t use <code>--force-overwrite<\/code> for the whole upgrade. That way each clash is reviewed on its own and a real problem doesn&#8217;t get hidden.<\/p>\n<p>In total there were <strong>three clashes<\/strong>, all from packages Kali renamed or merged:<\/p>\n<table>\n<thead>\n<tr>\n<th>New package<\/th>\n<th>File<\/th>\n<th>Already owned by<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>kali-wallpapers-2026<\/code><\/td>\n<td><code>\/usr\/share\/backgrounds\/kali\/login.svg<\/code><\/td>\n<td><code>kali-wallpapers-2024<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>python3-pyspnego<\/code><\/td>\n<td><code>\/usr\/bin\/pyspnego-parse<\/code><\/td>\n<td><code>python3-spnego<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>powershell-empire<\/code> 7.0<\/td>\n<td><code>\/usr\/bin\/starkiller<\/code><\/td>\n<td><code>starkiller<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>To avoid doing it by hand, the script became a loop. It runs <code>apt-get -f install<\/code>. If that fails with <code>trying to overwrite<\/code>, it pulls the <code>.deb<\/code> name out of the error, installs it with <code>--force-overwrite<\/code> from <code>\/var\/cache\/apt\/archives<\/code>, logs the case in <code>clashes.log<\/code> and starts over. Any other error stops it. Careful: after forcing it, <code>dpkg -i<\/code> may still exit with an error because the package is missing dependencies (<code>powershell-empire<\/code> was waiting for <code>pyinstaller<\/code>). That isn&#8217;t a failure: the package was unpacked (<code>iU<\/code>) and gets configured in the next round. Check its state with <code>dpkg-query -W -f='${db:Status-Abbrev}'<\/code>, not the exit code.<\/p>\n<h3>Gotcha 3: GRUB doesn&#8217;t know which disk to install to<\/h3>\n<p>At the end a single package was left unconfigured, the most delicate one:<\/p>\n<pre><code>grub-pc: Running grub-install ...\nYou must correct your GRUB install devices before proceeding:\n  DEBIAN_FRONTEND=dialog dpkg --configure grub-pc\n<\/code><\/pre>\n<p><code>debconf-show grub-pc<\/code> showed <code>install_devices<\/code> empty. In non-interactive mode, apt can&#8217;t ask. The GRUB already on disk <strong>is still intact<\/strong>, so there&#8217;s no need to panic or reboot. First, find where GRUB is:<\/p>\n<pre><code>[ -d \/sys\/firmware\/efi ] &amp;&amp; echo EFI || echo BIOS\nfor d in sda sdb; do echo -n &quot;$d: &quot;; sudo dd if=\/dev\/$d bs=512 count=1 2&gt;\/dev\/null | grep -ao GRUB | head -1; done\n<\/code><\/pre>\n<p>Both disks had GRUB in the MBR. Since you can&#8217;t tell from the running system which one the BIOS boots, we installed it on both, after saving their first 1 MB:<\/p>\n<pre><code>for d in sda sdb; do sudo dd if=\/dev\/$d of=mbr-$d.bin bs=512 count=2048; done\necho &quot;grub-pc grub-pc\/install_devices multiselect \/dev\/disk\/by-id\/ata-DISK1, \/dev\/disk\/by-id\/ata-DISK2&quot; | sudo debconf-set-selections\nsudo dpkg --configure -a\n<\/code><\/pre>\n<p>(The real names come from <code>ls -l \/dev\/disk\/by-id\/<\/code>.)<\/p>\n<p><strong>And Windows was missing from the menu.<\/strong> Since 2.06, GRUB no longer runs <code>os-prober<\/code> unless you ask it to:<\/p>\n<pre><code>sudo sed -i 's\/^#GRUB_DISABLE_OS_PROBER=false\/GRUB_DISABLE_OS_PROBER=false\/' \/etc\/default\/grub\nsudo update-grub      # Found Windows 10 on \/dev\/sda1\n<\/code><\/pre>\n<p>One last check before rebooting: that the new kernel ships the modules for <em>this<\/em> hardware.<\/p>\n<pre><code>for m in radeon ath9k r8169 ahci dm_crypt xfs nfs; do modinfo -k 7.2.15+kali-amd64 -F filename $m &gt;\/dev\/null &amp;&amp; echo &quot;$m ok&quot;; done\n<\/code><\/pre>\n<h2>Result<\/h2>\n<p><strong>The laptop booted the 7.2.15 kernel on the first try.<\/strong> The full upgrade took about six and a half hours: download from 16:32 to 17:00, install from 17:00 to 22:55, including the pauses for the clashes. Afterwards:<\/p>\n<table>\n<thead>\n<tr>\n<th>What<\/th>\n<th>Result<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Kernel<\/td>\n<td>7.2.15 (6.10.9 stays in GRUB, just in case)<\/td>\n<\/tr>\n<tr>\n<td>Radeon HD 6470M video<\/td>\n<td><code>radeon<\/code> driver, X and LXDE as usual<\/td>\n<\/tr>\n<tr>\n<td>Atheros AR9285 Wi-Fi \/ Realtek Ethernet<\/td>\n<td><code>ath9k<\/code> \/ <code>r8169<\/code>, connected<\/td>\n<\/tr>\n<tr>\n<td>LUKS disk for <code>\/home<\/code><\/td>\n<td>opens and mounts as always (cryptsetup 2.8.8)<\/td>\n<\/tr>\n<tr>\n<td>Failed services<\/td>\n<td>none<\/td>\n<\/tr>\n<tr>\n<td>Microsoft Edge 158 and Chromium<\/td>\n<td>load pages on the E-450, no &#8220;illegal instruction&#8221;<\/td>\n<\/tr>\n<tr>\n<td>Claude Code 2.1.112 (Node 22)<\/td>\n<td>works<\/td>\n<\/tr>\n<tr>\n<td>Input Leap built on another machine<\/td>\n<td>runs: uses no SSE4\/AVX instructions (checked with <code>objdump<\/code>)<\/td>\n<\/tr>\n<tr>\n<td>Kali tools (nmap, msfconsole, sqlmap, wireshark, john, hashcat)<\/td>\n<td>work<\/td>\n<\/tr>\n<tr>\n<td>System Node \/ Python<\/td>\n<td>18 \u2192 24.22, 3.12 \u2192 3.14<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The fear of &#8220;after upgrading nothing will run&#8221; turned out to be unfounded. What could break wasn&#8217;t the CPU, but the firmware, because of the old <code>sources.list<\/code>, and GRUB, because of the question it couldn&#8217;t ask. Both were caught <em>before<\/em> rebooting.<\/p>\n<p>To check whether a binary built on a modern machine will run on an old CPU, look for instructions the CPU doesn&#8217;t have:<\/p>\n<pre><code>objdump -d --no-show-raw-insn .\/program | awk '{print $2}' \\\n  | grep -cE '^(v[a-z0-9]+|pcmpistri|crc32[bwlq]?|popcnt|ptest|pmovzx[a-z]+|pinsr[bdq]|lzcnt|tzcnt|andn|shlx|pdep|pext)$'\n<\/code><\/pre>\n<p>If it returns 0, there&#8217;s no AVX, SSE4.x or BMI. Then run it once: exit code 132 means illegal instruction.<\/p>\n<h2>Summary<\/h2>\n<ul>\n<li>&#8220;Illegal instruction&#8221; on an old CPU = missing extensions (here SSE4.2 and AVX). You can see it in <code>\/proc\/cpuinfo<\/code>.<\/li>\n<li>Debian and Kali are still x86-64 v1: <strong>upgrading doesn&#8217;t break the system because of the CPU<\/strong>. What doesn&#8217;t run are third-party binaries.<\/li>\n<li>Claude Code: release <strong>2.1.112<\/strong> (pure JavaScript) + <strong>Node 22<\/strong> in <code>~\/.local<\/code> + <code>DISABLE_AUTOUPDATER=1<\/code>.<\/li>\n<li>Before a big upgrade on a rolling release: save the dpkg database, the exact <code>.deb<\/code> files from the cache, a <code>dpkg-repack<\/code> of the critical packages, <code>\/etc<\/code>, and keep the old kernel in GRUB.<\/li>\n<li>Kali&#8217;s new key (2025) before <code>apt update<\/code>; simulate before installing; upgrade inside <code>tmux<\/code>.<\/li>\n<\/ul>\n<\/div>\n<p>Got an old PC, a backup or a question? Tell us in the blog&#x27;s Telegram group: <a class=\"rb-tg\" href=\"https:\/\/t.me\/canaldelasrecetas\" rel=\"noopener\">Telegram group<\/a><\/p>\n<aside class=\"rb-anuncio\">\n<div class=\"rb-et\">Advertisement<\/div>\n<p><strong>From yesterday&#x27;s shareware to today&#x27;s deals.<\/strong> With <strong>JamboQR<\/strong> you set up a deals club with your neighbours and friends: everyone posts what they find, with a photo, price and place. Free.<\/p>\n<p><a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.jamboqr.app&amp;hl=en&amp;referrer=utm_source%3Dcanaldelasrecetas%26utm_medium%3Dkali-laptop-2011-final%26utm_campaign%3Dretroblog-en\" rel=\"noopener sponsored\"><img decoding=\"async\" src=\"https:\/\/www.canaldelasrecetas.com\/cms\/wp-content\/uploads\/2026\/10\/google-play-en.png\" alt=\"Google Play\" width=\"180\" loading=\"lazy\" title=\"Upgrading a neglected Kali Linux on a 2011 laptop (AMD E-450) without fear, and running Claude Code on a CPU without SSE4.2\"><\/a> &nbsp;or at <a href=\"https:\/\/jamboqr.net\/?utm_source=canaldelasrecetas&amp;utm_medium=kali-laptop-2011-final&amp;utm_campaign=retroblog-en\" rel=\"noopener sponsored\"><strong>jamboqr.net<\/strong><\/a><\/p>\n<\/aside>\n","protected":false},"excerpt":{"rendered":"<p>A 2011 ASUS with an AMD E-450 had gone almost two years without updates, out of fear that &#8220;the binaries won&#8217;t run anymore&#8221;. We explain which instructions the CPU lacks, why Kali will keep working, how to back up the exact packages before a 4,200-package full-upgrade, and how to run Claude Code (which now requires SSE4.2) with Node 22 and the last pure-JavaScript release.<\/p>\n","protected":false},"author":1,"featured_media":11923,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[11],"tags":[],"class_list":["post-11925","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-retro-informatica"],"spectra_blocks_featured_image_url":{"thumbnail":{"url":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-content\/uploads\/2026\/11\/retro-kali-laptop-2011-e450-portada-claude-e450-150x150.png","width":150,"height":150},"medium":{"url":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-content\/uploads\/2026\/11\/retro-kali-laptop-2011-e450-portada-claude-e450-300x169.png","width":300,"height":169},"medium_large":{"url":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-content\/uploads\/2026\/11\/retro-kali-laptop-2011-e450-portada-claude-e450-768x432.png","width":768,"height":432},"large":{"url":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-content\/uploads\/2026\/11\/retro-kali-laptop-2011-e450-portada-claude-e450-1024x576.png","width":1024,"height":576},"full":{"url":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-content\/uploads\/2026\/11\/retro-kali-laptop-2011-e450-portada-claude-e450.png","width":1600,"height":900}},"spectra_blocks_author_info":{"display_name":"EucL1d35","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/cecf603aee34f11aa921ff30ea69d89a4e51b3cd8d5143029343fa76b0682442?s=96&d=mm&r=g","author_link":"https:\/\/www.canaldelasrecetas.com\/cms\/author\/eucl1d35\/","description":""},"_links":{"self":[{"href":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-json\/wp\/v2\/posts\/11925","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-json\/wp\/v2\/comments?post=11925"}],"version-history":[{"count":0,"href":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-json\/wp\/v2\/posts\/11925\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-json\/wp\/v2\/media\/11923"}],"wp:attachment":[{"href":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-json\/wp\/v2\/media?parent=11925"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-json\/wp\/v2\/categories?post=11925"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.canaldelasrecetas.com\/cms\/wp-json\/wp\/v2\/tags?post=11925"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}