Help! /bin/bash not found on chroot

Volker Wysk post at volker-wysk.de
Tue Nov 30 06:53:18 UTC 2021


Am Montag, dem 29.11.2021 um 23:07 +0100 schrieb Lentes, Bernd:
> ----- On Nov 27, 2021, at 4:47 PM, Volker Wysk post at volker-wysk.de wrote:
> 
> > I'm trying to fix the problem by booting from an USB stick. Then I
> > mount the faulty system at /mnt/rootneu and do this:
> > 
> > mount BOOTPART /mnt/rootneu/boot
> > mount EFIPART /mnt/rootneu/boot/efi
> > mount --rbind /dev /mnt/rootneu/dev
> > mount --rbind /proc /mnt/rootneu/proc
> > mount --rbind /sys /mnt/rootneu/sys
> > 
> > I do this so I can "update-initramfs -u", "grub-install ..." and
> > "update-grub" later.
> > 
> > So far, it works. But then I try to chroot to the system that fails
> > with:
> > 
> > chroot /mnt/rootneu
> > 
> > This FAILS with:
> > 
> > chroot: failed to run command '/bin/bash': No such file or directory
> > 
> 
> If your broken Ubuntu is a 64bit system your system from the USB-stick must also be a 64bit system.
> Same for 32bit.

Yes it is, both are 64 bit. But I don't see how a discrepancy could cause
the errors which I've described.

Bye, Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20211130/7fa8cf2b/attachment.sig>


More information about the ubuntu-users mailing list