3 ms·
Recovery disk, then either copy the disk's copy of bash (if it doesn't depend on a later glibc version), copy another shell to /bin/bash (as the system probably
by lights0123 5y ago
Recovery disk, then either copy the disk's copy of bash (if it doesn't depend on a later glibc version), copy another shell to /bin/bash (as the system probably doesn't depend on bash-specific commands to boot), chroot and use the package manager, or use the package manager with an explicit sysroot (e.g. pacman --sysroot). The first two steps are very easy compared to the latter two, but should be followed by a reinstallation of the package that provides bash.
- r00f 5y agoi wonder, wouldn't copy over sftp work? i don't think it depends on shell
- andrewstuart2 5y agoYou should also usually be able to just reboot and as long as another shell is installed, choose that shell as your startup command in the bootloader.