You are not logged in.
I had a power failure during an update. I need to rebuild my initramfs and/or try to continue the upgrade anew because I cannot boot (magic number error).
The problem is I can't chroot. I have a x64 system, but when I go into the liveCD, downloaded from here: http://archlinux.surlyjake.com/archlinu … 016.11.01/, called "archlinux-2016.11.01-dual.iso ", I get: chroot: cannot run command '/usr/bin/bash': Exec format error
The following page: https://wiki.archlinux.org/index.php/change_root says that should only happen if the CD architecture is wrong.
A screenshot is attached too: http://imgur.com/a/NJhDc. The disk appears to be x64 but It doesn't work.
What is the problem? Can I download a guaranteed x64 disk?
Offline
MIght be able to restore something broken by reinstalling the broken packages that were upgraded during the power failure.
You can use pacman without invoking chroot with pacman -r /mnt --cachedir=/mnt/var/cache/pacman/pkg and then append the usual pacman command.
I'd try to reinstall bash first.
Offline
OK I tried this but it does not change anything, I still get the exec format error.
Is there some way I can curl down a working initramfs into /mnt/boot?
Last edited by tommyjcarpenter (2016-11-21 20:31:38)
Offline
Wow! I got farther by upgrading bash, then linux, then bash again.. I wish I wrote down everything I executed but I kept reinstalling things via this method and *eventually* chroot worked. Thanks!
Last edited by tommyjcarpenter (2016-11-21 21:45:53)
Offline