[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Pls help fixing /boot/efi and GRUB



On Mon, Mar 24, 2025 at 22:40:52 +0300, J wrote:
> user@debian:~$ sudo for i in /dev /dev/pts /proc /sys
> /sys/firmware/efi/efivars /run; do mount -B $i /mnt/$i; done
> bash: syntax error near unexpected token `do'

sudo sh -c '...'

(You're not using any bash-specific syntax there, so sh will do.)

> user@debian:~$ sudo bash bash.sh
> mount: /mnt//dev: mount point does not exist.
>        dmesg(1) may have more information after failed mount system call.

Have you considered doing something crazy like creating the mount points?


Reply to: