this post was submitted on 06 Jul 2023
5 points (100.0% liked)

Linux

48208 readers
1412 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] burningquestion@lemmy.world 1 points 1 year ago* (last edited 1 year ago) (1 children)

You didn't mention why you're trying to bind-mount your /data volume from your initramfs environment, but the only reason I can even guess at is that you're trying to use it as part of your recovery environment. In which case, you'd probably be better served by doing the recovery from an Ubuntu live usb rather than try to cobble together a working environment from the shrapnel you left scattered across your drive.

This process should literally look like -- boot, mount drives, rsync /usr back to root volume, clean up fstab/any other config changes, reboot, try again later after you've done more reading.

[–] Woozy@lemmy.fmhy.ml 1 points 1 year ago (1 children)

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.

[–] burningquestion@lemmy.world 1 points 1 year ago

There was a movement to make /bin /sbin etc symlinks to /usr a few back. I honestly don't remember the rationale, but here's Debian's page about the change: https://wiki.debian.org/UsrMerge. If I hadn't been following the distros at the exact moment they did the changeover it probably would have thrown me for a loop too.

I think it had to do with the fact that these days relatively few people need /usr on a separate partiton and so it very rarely happens and something about system binaries being easier to manage if they're actually all in one place. People are ready for some tweaks to the FHS, I guess.