Help! /bin/bash not found on chroot

Liam Proven lproven at gmail.com
Mon Nov 29 16:44:08 UTC 2021


On Sat, 27 Nov 2021 at 16:49, Volker Wysk <post at volker-wysk.de> wrote:
>
> I'm trying to fix the problem by booting from an USB stick.

OK...

> 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

What?! Why? No, don't do that!

Step 1: mount the disk

Step 2: try to see what's wrong with it

Step 3: see if you can fix it

Step 4: reboot from USB

Step 5: see if it's still looking OK (not due to caching etc.)

Step 6: see if you can boot off it

Step 7: _then_ and only now consider writing anything to the disk to
make it usable again. *Only* after you know it's good and the problem
is fixed.


-- 
Liam Proven ~ Profile: https://about.me/liamproven
Email: lproven at cix.co.uk ~ gMail/gTalk/FB: lproven at gmail.com
Twitter/LinkedIn: lproven ~ Skype: liamproven
UK: (+44) 7939-087884 ~ Czech [+ WhatsApp/Telegram/Signal]: (+420) 702-829-053




More information about the ubuntu-users mailing list