View previous topic :: View next topic |
Author |
Message |
erosenst n00b
Joined: 25 Jan 2025 Posts: 1
|
Posted: Sat Jan 25, 2025 4:23 pm Post subject: braindead stage3 file (llvm, mysl, (openrc?)) |
|
|
Hello I typically partition my hd's/ssd's for two partitons. First 1-2GB and second is rest of disk.
1.st partiton is type FD (raid-auto) (md0)
2nd partiton is type FD (raid-auto) (md1)
md0 -> / (boot, etc, lib, sbin, bin)
Reason for that no need initrd due enough big root & boot raid partiton. (even in one disk laptop that make sense due easy backup/clone installation)
and pvcreate /dev/md1, vgcreate sysVG /dev/md1
then lvcreate usr, var, tmp, home and mount them with -o nosuid,usrquota (or atleast nosuid, so /sbin/sudo + su leave only suid programs and location is / -partition (md0))
There is current braindead situation from ubuntu to debian, gentoo etc that installation generate symlinks /sbin -> /usr/sbin, /lib -> /usr/lib, /bin -> /usr/bin.
Situation is untolerable and is REAL BUG that cant be true and really stupid to force these symlinks to /usr partition. It damage functionality severe and is difficult to clean from stage files etc through wide array of distros..
How to get raid1(5) functional stage3(1-3) file for openRC & llvm-compiler (if musl then better. Intrested also /-part busybox tools.)
Any help.? (even script to run for stage3-file to move files to correct directories (/sbin /lib /bin) )
Thank you. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23049
|
Posted: Sat Jan 25, 2025 4:42 pm Post subject: |
|
|
Welcome to the forums. Please try to be a bit nicer.
If I understand your post correctly, you object both to merged-usr and to non-separate-usr. The separate-usr configuration has been unsupported for many years. The merged-usr layout is recently unsupported by systemd, and other projects are gradually showing regressions as they begin assuming the merged-usr layout everywhere. Gentoo still supports non-merged-usr for non-systemd.
You can make separate-usr work, though it usually requires an initramfs to cover that detail.
You can make non-merged-usr work by avoiding systemd and choosing the right stage and profile. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|