Thanks for pointing out the stage2 logs. It looks like I overlooked that part. Here are the logs
# stage2-init.log
2024-06-28 10:38:34 INFO [takeover::init] Init entered
2024-06-28 10:38:34 INFO [takeover::init] Init check pid success!
2024-06-28 10:38:34 INFO [takeover::init] Stage 2 config was read successfully
2024-06-28 10:38:34 INFO [takeover::init] Stage 2 closed 35 fd's
2024-06-28 10:38:34 INFO [takeover::init] Now logging to '/tmp/balena-takeover/mnt/log/stage2-init.log' on '/dev/sdb1'
2024-06-28 10:38:34 INFO [takeover::init] Stage 2 setup_log success!, ext_log: true
2024-06-28 10:38:42 DEBUG [takeover::common] call: output: Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" }
2024-06-28 07:38:47 DEBUG [takeover::common] call: output: Output { status: ExitStatus(unix_wait_status(0)), stdout: "", stderr: "" }
2024-06-28 07:38:47 INFO [takeover::init] Stage 2 migrate worker spawned
# stage2.log
2024-06-28 07:38:47 INFO [takeover::stage2] Stage 2 migrate_worker entered
2024-06-28 07:38:47 INFO [takeover::stage2] Stage 2 config was read successfully
2024-06-28 07:38:47 INFO [takeover::stage2] Set logfile to /mnt/log/stage2.log
2024-06-28 07:38:47 DEBUG [takeover::stage2] active processes:
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 1 name: systemd executable: /mnt/old_root/lib/systemd/systemd ppid: 0
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 2 name: '[kthreadd]' executable: - ppid: 0
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 3 name: '[ksoftirqd/0]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 5 name: '[kworker/0:0H]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 7 name: '[rcu_preempt]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 8 name: '[rcu_sched]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 9 name: '[rcu_bh]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 10 name: '[migration/0]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 11 name: '[lru-add-drain]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 12 name: '[watchdog/0]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 13 name: '[cpuhp/0]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 14 name: '[kdevtmpfs]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 16 name: '[netns]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 17 name: '[khungtaskd]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 18 name: '[oom_reaper]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 19 name: '[writeback]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 20 name: '[kcompactd0]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 21 name: '[ksmd]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 22 name: '[crypto]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 23 name: '[kintegrityd]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 24 name: '[bioset]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 25 name: '[kblockd]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 26 name: '[ata_sff]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 27 name: '[irq/171-4802a00]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 28 name: '[irq/172-4819c00]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 29 name: '[devfreq_wq]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 30 name: '[watchdogd]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 31 name: '[rpciod]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 32 name: '[xprtiod]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 33 name: '[kswapd0]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 34 name: '[vmstat]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 35 name: '[nfsiod]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 36 name: '[bioset]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 37 name: '[xfsalloc]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 38 name: '[xfs_mru_cache]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 67 name: '[kthrotld]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 68 name: '[kapmd]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 71 name: '[irq/41-48060000]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 73 name: '[53500000.aes-en]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 87 name: '[irq/191-TI-am33]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 88 name: '[irq/195-4803800]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 89 name: '[irq/194-4803800]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 90 name: '[ipv6_addrconf]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 91 name: '[bioset]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 100 name: '[bioset]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 101 name: '[irq/170-44e0b00]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 103 name: '[mmcqd/0]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 104 name: '[irq/200-tps6521]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 260 name: '[kworker/0:1H]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 435 name: '[jbd2/mmcblk0p1-]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 436 name: '[ext4-rsv-conver]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 464 name: systemd-journal executable: /mnt/old_root/lib/systemd/systemd-journald ppid: 1
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 470 name: '[kauditd]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 484 name: systemd-udevd executable: /lib/systemd/systemd-udevd ppid: 1
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 527 name: systemd-timesyn executable: /lib/systemd/systemd-timesyncd ppid: 1
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 546 name: '[ptp0]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 551 name: cron executable: /mnt/old_root/usr/sbin/cron ppid: 1
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 554 name: rsyslogd executable: /mnt/old_root/usr/sbin/rsyslogd ppid: 1
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 555 name: node executable: /mnt/old_root/home/user/.nvm/versions/node/v6.9.2/bin/node ppid: 1
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 559 name: systemd-logind executable: /mnt/old_root/lib/systemd/systemd-logind ppid: 1
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 561 name: dbus-daemon executable: /mnt/old_root/usr/bin/dbus-daemon ppid: 1
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 586 name: python2 executable: /mnt/old_root/usr/bin/python2.7 ppid: 1
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 590 name: python2 executable: /mnt/old_root/usr/bin/python2.7 ppid: 1
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 595 name: avahi-daemon executable: /mnt/old_root/usr/sbin/avahi-daemon ppid: 1
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 602 name: avahi-daemon executable: /mnt/old_root/usr/sbin/avahi-daemon ppid: 595
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 650 name: dhclient executable: /mnt/old_root/sbin/dhclient ppid: 1
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 776 name: login executable: /mnt/old_root/bin/login ppid: 1
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 780 name: sshd executable: /mnt/old_root/usr/sbin/sshd ppid: 1
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 1116 name: python2 executable: /mnt/old_root/usr/bin/python2.7 ppid: 1
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 1187 name: agetty executable: /mnt/old_root/sbin/agetty ppid: 1
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 1216 name: login executable: /mnt/old_root/bin/login ppid: 1
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 1227 name: systemd executable: /mnt/old_root/lib/systemd/systemd ppid: 1
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 1229 name: (sd-pam) executable: /mnt/old_root/lib/systemd/systemd ppid: 1227
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 1233 name: startx executable: /mnt/old_root/bin/dash ppid: 1216
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 1262 name: xinit executable: /mnt/old_root/usr/bin/xinit ppid: 1233
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 1264 name: Xorg executable: /mnt/old_root/usr/lib/xorg/Xorg ppid: 1262
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 1284 name: fluxbox executable: /mnt/old_root/usr/bin/fluxbox ppid: 1262
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 1298 name: dbus-daemon executable: /mnt/old_root/usr/bin/dbus-daemon ppid: 1227
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 1345 name: unclutter executable: /mnt/old_root/usr/bin/unclutter ppid: 1284
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 1346 name: ssh-agent executable: /mnt/old_root/usr/bin/ssh-agent ppid: 1284
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 1355 name: midori executable: /mnt/old_root/usr/bin/midori ppid: 1284
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 1476 name: bash executable: /mnt/old_root/bin/bash ppid: 776
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 13769 name: sshd executable: /mnt/old_root/usr/sbin/sshd ppid: 780
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 13779 name: sshd executable: /mnt/old_root/usr/sbin/sshd ppid: 13769
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 13780 name: bash executable: /mnt/old_root/bin/bash ppid: 13779
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 14235 name: '[kworker/u2:2]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 14395 name: '[scsi_eh_0]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 14396 name: '[scsi_tmf_0]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 14397 name: '[usb-storage]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 14403 name: '[bioset]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 14404 name: '[bioset]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 14510 name: '[kworker/0:3]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 16699 name: '[kworker/u2:0]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 16779 name: '[kworker/0:0]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 17191 name: '[kworker/u2:1]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 17344 name: '[kworker/0:1]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 17531 name: '[kworker/0:2]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 17637 name: bash executable: /mnt/old_root/bin/bash ppid: 1
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 17644 name: sudo executable: /mnt/old_root/usr/bin/sudo ppid: 17637
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 17645 name: python2 executable: /mnt/old_root/usr/bin/python2.7 ppid: 17644
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 17651 name: sudo executable: /mnt/old_root/usr/bin/sudo ppid: 13780
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 17652 name: takeover executable: /mnt/old_root/home/user/balena/takeover ppid: 17651
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 17667 name: '[bioset]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 17669 name: '[bioset]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 17670 name: '[bioset]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 17671 name: '[bioset]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 17672 name: '[bioset]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 17673 name: '[bioset]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 17674 name: '[bioset]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 17676 name: '[bioset]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 17687 name: '[jbd2/sdb1-8]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 17688 name: '[ext4-rsv-conver]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 17689 name: '[ext4lazyinit]' executable: - ppid: 2
2024-06-28 07:38:47 DEBUG [takeover::stage2] pid: 17705 name: takeover executable: /bin/takeover ppid: 1
2024-06-28 07:38:47 DEBUG [takeover::common::system] looking at pid: 1, fd 0, file: '/proc/1/fd/0' -> 'pipe:[1213351]'
2024-06-28 07:38:47 DEBUG [takeover::common::system] looking at pid: 1, fd 1, file: '/proc/1/fd/1' -> '/stdout.log'
2024-06-28 07:38:47 DEBUG [takeover::common::system] looking at pid: 1, fd 2, file: '/proc/1/fd/2' -> '/stderr.log'
2024-06-28 07:38:47 DEBUG [takeover::common::system] looking at pid: 1, fd 3, file: '/proc/1/fd/3' -> '/mnt/log/stage2-init.log'
2024-06-28 07:38:47 DEBUG [takeover::common::system] looking at pid: 1, fd 4, file: '/proc/1/fd/4' -> 'pipe:[1213351]'
2024-06-28 07:38:47 DEBUG [takeover::common::system] looking at pid: 464, fd 0, file: '/proc/464/fd/0' -> '/mnt/old_root/dev/null'
2024-06-28 07:38:47 DEBUG [takeover::common::system] sending signal 15 to 464
2024-06-28 07:38:47 DEBUG [takeover::common::system] looking at pid: 484, fd 0, file: '/proc/484/fd/0' -> '/mnt/old_root/dev/null'
2024-06-28 07:38:47 DEBUG [takeover::common::system] sending signal 15 to 484
2024-06-28 07:38:47 DEBUG [takeover::common::system] looking at pid: 527, fd 0, file: '/proc/527/fd/0' -> '/mnt/old_root/dev/null'
2024-06-28 07:38:47 DEBUG [takeover::common::system] sending signal 15 to 527
2024-06-28 07:38:47 DEBUG [takeover::common::system] looking at pid: 551, fd 0, file: '/proc/551/fd/0' -> '/mnt/old_root/dev/null'
2024-06-28 07:38:47 DEBUG [takeover::common::system] sending signal 15 to 551
2024-06-28 07:38:47 DEBUG [takeover::common::system] looking at pid: 554, fd 0, file: '/proc/554/fd/0' -> '/mnt/old_root/dev/null'
2024-06-28 07:38:47 DEBUG [takeover::common::system] sending signal 15 to 554
2024-06-28 07:38:47 DEBUG [takeover::common::system] looking at pid: 555, fd 0, file: '/proc/555/fd/0' -> '/mnt/old_root/dev/null'
2024-06-28 07:38:47 DEBUG [takeover::common::system] sending signal 15 to 555
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 559, fd 0, file: '/proc/559/fd/0' -> '/mnt/old_root/dev/null'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 559
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 561, fd 0, file: '/proc/561/fd/0' -> '/mnt/old_root/dev/null'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 561
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 586, fd 0, file: '/proc/586/fd/0' -> '/mnt/old_root/dev/null'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 586
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 590, fd 0, file: '/proc/590/fd/0' -> '/mnt/old_root/dev/null'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 590
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 595, fd 0, file: '/proc/595/fd/0' -> '/mnt/old_root/dev/null'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 595
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 602, fd 0, file: '/proc/602/fd/0' -> '/mnt/old_root/dev/null'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 602
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 650, fd 0, file: '/proc/650/fd/0' -> '/mnt/old_root/dev/null'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 650
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 776, fd 0, file: '/proc/776/fd/0' -> '/mnt/old_root/dev/ttyS0'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 776
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 780, fd 0, file: '/proc/780/fd/0' -> '/mnt/old_root/dev/null'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 780
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 1116, fd 0, file: '/proc/1116/fd/0' -> '/mnt/old_root/dev/null'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 1116
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 1187, fd 0, file: '/proc/1187/fd/0' -> '/mnt/old_root/dev/ttyGS0'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 1187
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 1216, fd 0, file: '/proc/1216/fd/0' -> '/mnt/old_root/dev/tty1'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 1216
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 1227, fd 0, file: '/proc/1227/fd/0' -> '/mnt/old_root/dev/null'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 1227
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 1229, fd 0, file: '/proc/1229/fd/0' -> '/mnt/old_root/dev/null'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 1229
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 1233, fd 0, file: '/proc/1233/fd/0' -> '/mnt/old_root/dev/tty1'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 1233
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 1262, fd 0, file: '/proc/1262/fd/0' -> '/mnt/old_root/dev/tty1'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 1262
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 1264, fd 0, file: '/proc/1264/fd/0' -> '/mnt/old_root/dev/tty1'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 1264
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 1284, fd 0, file: '/proc/1284/fd/0' -> '/mnt/old_root/dev/tty1'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 1284
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 1298, fd 0, file: '/proc/1298/fd/0' -> '/mnt/old_root/dev/null'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 1298
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 1346, fd 0, file: '/proc/1346/fd/0' -> '/mnt/old_root/dev/null'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 1346
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 1355, fd 0, file: '/proc/1355/fd/0' -> '/mnt/old_root/dev/null'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 1355
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 13769, fd 0, file: '/proc/13769/fd/0' -> '/mnt/old_root/dev/null'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 13769
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 13780, fd 0, file: '/proc/13780/fd/0' -> '/mnt/old_root/dev/pts/0'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 13780
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 17637, fd 0, file: '/proc/17637/fd/0' -> '/mnt/old_root/dev/null'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 17637
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 17644, fd 0, file: '/proc/17644/fd/0' -> '/mnt/old_root/dev/null'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 17644
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 17651, fd 0, file: '/proc/17651/fd/0' -> '/mnt/old_root/dev/pts/0 (deleted)'
2024-06-28 07:38:48 DEBUG [takeover::common::system] sending signal 15 to 17651
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 17705, fd 0, file: '/proc/17705/fd/0' -> 'pipe:[1213351]'
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 17705, fd 1, file: '/proc/17705/fd/1' -> '/stdout.log'
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 17705, fd 2, file: '/proc/17705/fd/2' -> '/stderr.log'
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 17705, fd 3, file: '/proc/17705/fd/3' -> '/mnt/log/stage2.log'
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 17705, fd 4, file: '/proc/17705/fd/4' -> 'pipe:[1213351]'
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 17705, fd 5, file: '/proc/17705/fd/5' -> '/proc'
2024-06-28 07:38:48 DEBUG [takeover::common::system] looking at pid: 17705, fd 6, file: '/proc/17705/fd/6' -> '/proc/17705/fd'
2024-06-28 07:38:51 WARN [takeover::common::system] process still alive after signal 15, pid: 1284, '/mnt/old_root/usr/bin/fluxbox'
2024-06-28 07:38:56 DEBUG [takeover::common::system] looking at pid: 1, fd 0, file: '/proc/1/fd/0' -> 'pipe:[1213351]'
2024-06-28 07:38:56 DEBUG [takeover::common::system] looking at pid: 1, fd 1, file: '/proc/1/fd/1' -> '/stdout.log'
2024-06-28 07:38:56 DEBUG [takeover::common::system] looking at pid: 1, fd 2, file: '/proc/1/fd/2' -> '/stderr.log'
2024-06-28 07:38:56 DEBUG [takeover::common::system] looking at pid: 1, fd 3, file: '/proc/1/fd/3' -> '/mnt/log/stage2-init.log'
2024-06-28 07:38:56 DEBUG [takeover::common::system] looking at pid: 1, fd 4, file: '/proc/1/fd/4' -> 'pipe:[1213351]'
2024-06-28 07:38:56 DEBUG [takeover::common::system] looking at pid: 1284, fd 0, file: '/proc/1284/fd/0' -> '/mnt/old_root/dev/tty1'
2024-06-28 07:38:56 DEBUG [takeover::common::system] sending signal 9 to 1284
2024-06-28 07:38:56 DEBUG [takeover::common::system] looking at pid: 17705, fd 0, file: '/proc/17705/fd/0' -> 'pipe:[1213351]'
2024-06-28 07:38:56 DEBUG [takeover::common::system] looking at pid: 17705, fd 1, file: '/proc/17705/fd/1' -> '/stdout.log'
2024-06-28 07:38:56 DEBUG [takeover::common::system] looking at pid: 17705, fd 2, file: '/proc/17705/fd/2' -> '/stderr.log'
2024-06-28 07:38:56 DEBUG [takeover::common::system] looking at pid: 17705, fd 3, file: '/proc/17705/fd/3' -> '/mnt/log/stage2.log'
2024-06-28 07:38:56 DEBUG [takeover::common::system] looking at pid: 17705, fd 4, file: '/proc/17705/fd/4' -> 'pipe:[1213351]'
2024-06-28 07:38:56 DEBUG [takeover::common::system] looking at pid: 17705, fd 5, file: '/proc/17705/fd/5' -> '/proc'
2024-06-28 07:38:56 DEBUG [takeover::common::system] looking at pid: 17705, fd 6, file: '/proc/17705/fd/6' -> '/proc/17705/fd'
2024-06-28 07:38:59 INFO [takeover::stage2] Found 484 MiB total, 253 MiB free memory
2024-06-28 07:38:59 ERROR [takeover::stage2] Not enough memory space found to copy files to RAMFS, required size is 287 MiB free memory is 253 MiB
2024-06-28 07:38:59 ERROR [takeover::stage2] Failed to copy files to RAMFS, error: Error { kind: Displayed, cause: None, context: None }
# df -h
Filesystem Size Used Avail Use% Mounted on
udev 215M 0 215M 0% /dev
tmpfs 49M 3.6M 45M 8% /run
/dev/mmcblk0p1 26G 2.3G 23G 10% /
tmpfs 243M 0 243M 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 243M 0 243M 0% /sys/fs/cgroup
tmpfs 49M 4.0K 49M 1% /run/user/1001
/dev/sdb1 3.7G 15M 3.4G 1% /mnt
If I understand correctly, the RAMFS is /tmp/balena-takeover
, or am I mistaken?