#LFS

Nick (Alatar the Blue)alatartheblue@polymaths.social
2025-06-09

Seriously considering torching my laptop and doing #lfs #LinuxFromScratch on bare metal again.

2025-06-04

LFS ASCII block. Done on vim.
Turns out, I just need to press Ctrl + k + ? + S simultaneously.

LFS ASCII block.
2025-06-04

A huge benefit with building your custom Linux From Scratch is that the software that has been built and tested on the latest version of LFS is _very_ recent.

Compared to my Debian stable there is a big difference. For example curl on Debian stable is version 7.88.1 and on LFS it's 8.12.1 and Emacs Debian is 28.2 compared to 30.1 on LFS.

#lfs #linux

2025-05-30

Stay with Linux From Scratch Musl.

LFS musl.
2025-05-27

I'll resurface a bit from LFS a few days now before diving back in again. A few thoughts I had this morning:

* I'm honestly baffled Linux works at all. There are so many systems running side by side. It's more like a brain really.

* I very much appreciate the work distro maintainers are doing. In particular the Debian devs since that's my go to distro

* A package manager simplifies matters a lot. And it's not an easy problem to solve

#lfs #linux

2025-05-27

When GRUB later launches the kernel the path to the linux kernel image is relative to the /boot _partition_ so you must remove /boot from the path to the kernel IF you have a separate boot partition.

Once you get that right you can also pass a root=UUID=... argument to the kernel (to avoid specifying /dev/sdb2 etc), but this requires you to have initramfs running, which isn't available in LFS, so it doesn't work.

However, you CAN use root=PARTUUID=.. which is available.

2/2

#grub #lfs #linux

2025-05-24

My first #LFS push. 👶

#UE5 werkt met hele grote binaries. Je hele wereld, waar je uren werk aan besteed hebt met sculpten en verven en beplanten, bestaat uit binaries. Eigenlijk wil je wel versiebeheer hebben op je binaries, maar daar is git van origine niet voor bedoeld. Het kan wel met Large File Storage en de gratis #GitLab tier geeft je 10GB storage per project. Dat neemt niet weg dat #Unreal om de haverklap die ~700MB aan wereld voor je updatet, dus sporadisch pushen is dan wel het devies.

git.exe push --progress  -- "origin" main:main
Locking support detected on remote "origin". Consider enabling it with:
$ git config lfs.https://gitlab.com/group/repository.git/info/lfs.locksverify true
Uploading LFS objects: 100% (295/295), 686 MB | 1.0 MB/s, done.
Enumerating objects: 614, done.
Counting objects: 100% (614/614), done.
Delta compression using up to 12 threads
Compressing objects: 100% (609/609), done.
Writing objects: 100% (611/611), 62.78 KiB | 676.00 KiB/s, done.
Total 611 (delta 2), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (2/2), completed with 2 local objects.
To gitlab.com:group/repository.git
5a8945a..f8d3813  main -> main

Success (701265 ms @ 24/05/2025 15:16:15)
2025-05-20

Systemd seems to be taking over more and more and there's a specific sub project within LFS to use that as the main process started by the kernel.

However, the default docs for LFS use the old school SysVinit. I think I'll go with this to start with. Maybe it's even possible to have different GRUB configurations so I can start the kernel with different inits? E.g. have the option to boot with SysVinit OR systemd.

#lfs #systemd #sysvinit #linux

2025-05-19

Just finished compiling the `procps-ng` package for LFS which contains `top` and other programs and noticed that the ui has changed quite a bit. It looks more like `htop`.

Here's a comparison between top from versions 4.0.2 and 4.0.5.

#lfs #top #linux

Output from top program (from procps-ng 4.0.2)Output from top program (from procps-ng 4.0.5). Looks more like htop.
2025-05-13

TIL: Linux from Scratch braucht nur für die Compilerläufe ca. 110 "SBU" wobei eine #sbu die Zeit ist, die der jeweilige Computer braucht um die binutils zu übersetzen.

#lfs

Alex Lohr (RIP Natenom)lexLohr@chaos.social
2025-05-11

@Linux The opposite is exactly what I loved about the #lfs #LinuxFromScratch IRC channel 25 years ago.

Don Curren 🇨🇦🇺🇦dbcurren.bsky.social@bsky.brid.gy
2025-05-09

2 CIBC: And the pain was clearly due to #trade tensions. The largest drop in #employment came in #manufacturing (-31K) and #wholesale and #retail trade (-27K). #cdnecon #jobs #jobsdata #LFS

2025-05-08

Literally no one knows I use LFS...

#linux #lfs

saiki 🚒💨:manjaro: :debian:saiki@social.tchncs.de
2025-05-07

Nach dem anstrengenden Tag an der Schule zieh ich mir jetzt noch ne Sitcom rein.

#shiftinggears #lfs #feuerwehr

Violette - K.I.S.SViolette@cyberpunk.lol
2025-05-07

I'm a mid-level #linux amateur.
I recently switched from a little bit of everything but mainly #debian to #ArchLinux. The great think is the possibility to be light and have the right setup.
with #pacman and #aur almost everything is there.
i do web, office, virtualization, and it want ok on day to day computer.
The small frustration is that if you want more, choose #init for example...is there a way inside linux to do #lfs?
But in fact building a day by day #os with #freebsd seems demanding.

2025-05-02

#git #lfs #git-lfs

LFS is so tricky. You *think* your big binary files are being cleverly handled so as not to bloat your local and remote drive space, but…No. Nope.

Afaict, the only use for git-lfs is to ensure that when someone *CLONES* your repo, they will get the minimum number of large files fetched.

If you are using it, look into `git lfs prune` This will actually remove a bunch of duplicates in your local .git/lfs directory and save you a tonne of space.

Read docs first!
🦇

2025-05-01
2025-04-30

#git #lfs #Codeberg

Is anyone having trouble pushing to Codeberg?

I was getting "connection closed by remote host" errors.

Turns out my git-lfs was old, and Codeberg has some strict ssh settings.

To fix this, read: codeberg.org/Codeberg/Communit

Short version, do this (once per repo) before pushing:
git config --local lfs.sshTransfer never

Ensure lfs version is > 3.5.x

hth
🦇

2025-04-27

#git #lfs
I was told, a few days ago, that git lfs only saves space on my local drive but that the server (origin, i guess) grows full of file versions.

E.g i push 3d.blend, it's 10mb.
I edit it, push again, server now reports 20mb used. Then 30mb etc.

Is this the expected lfs behaviour? Can someone point me to where this is documented?

I'd much rather there be one 3d.blend file locally AND remotely. Is that even possible to do?

I don't think people realize this issue about lfs.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst