• Re: In cross install, cannot mount fstabe

    From Tim Woodall@21:1/5 to Haines Brown on Tue Apr 22 14:30:01 2025
    On Tue, 22 Apr 2025, Haines Brown wrote:

    I try as you sugggest abd run within chroot. But this is what
    I get:?

    /# mount -o bind /sys/ /mnt/debinst/sys
    mount: /mnt/debinst/sys: mount point does not exist.
    dmesg(1) may have more information after failed mount system call.

    However,

    $ ls /mnt/debinst | grep sys
    sys


    Why not ls -ld /mnt/debian/sys ? I don't know what happens if sys is a
    file.

    No, you don't need to bound mount if you create the device but nowadays
    I'm not sure that having device nodes on the partition makes sense YMMV

    Tim.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Smith@21:1/5 to All on Tue Apr 22 15:10:01 2025
    Hi,

    On Tue, 22 Apr 2025, Haines Brown wrote:
    I try as you sugggest abd run within chroot. But this is what
    I get:?

    /# mount -o bind /sys/ /mnt/debinst/sys
    mount: /mnt/debinst/sys: mount point does not exist.
    dmesg(1) may have more information after failed mount system call.

    ?? No one suggested trying to do bind mounts from inside the chroot.
    Clearly that is not going to work. Bind mounts are normally done from
    outside before you enter the chroot.

    If you want a step by step tutorial on how to install Debian bookworm
    into a chroot it's probably not that hard to find and I would recommend following something like that (assuming you really want to do a chroot
    install) because it seems like you are struggling with some of the
    fundamentals here.

    Thanks,
    Andy

    --
    https://bitfolk.com/ -- No-nonsense VPS hosting

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)