I have the unique pleasure of waiting as /usr is copied back to my Ubuntu SSD after offloading it to a sea of spinning rust to save some space. Surprise surprise Ubuntu keeps almost everything in /usr these days and it didnt boot :l but hey, at least BusyBox in initramfs has my back for times like these. Can i mount a specific ext4 directory with options? the issue seems to be my attempt at using a bind mount fails while running from the ramdisk, for whatever reason it wont mount my large data drive on /data

    • TheWoozy@lemmy.fmhy.ml
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I’m surprised you can’t put /usr on a separate partition. Back in my SunOS days, we used to NFS mount /usr on all our workstations.

      • mvirts@lemmy.worldOP
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

        You totally can, this is some weirdness in the mount order during boot and not having the disk available at the same path in the init ramdisk

        Also, Ubuntu making bin a link to /usr/bin doesn’t help :P

    • mvirts@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Interestingly, when I added the bind mount to /usr the init environment failed when trying to set up the actual root fs because it was trying to bind mount from the init ramdisk filesystem paths into the new root path. im sure I could cloodge together a script to patch things up in the initrd but my days of straying from a sane upgrade path on Ubuntu are over (now I just do that on nixos because I don’t know what I’m doing)