@keftar: Installing Linux From Scratch (LFS) is one of the most rewarding and challenging adventures in the computer science world. Unlike traditional distributions, you do not install pre-compiled software; instead, you compile every single component of your operating system from the original source code, using an existing host Linux distribution. To begin, you need a healthy host distribution (like Ubuntu, Debian, Fedora, or Arch), between 10 to 30 hours of spare time depending on your CPU speed, and ironclad patience, as a single typo can break the entire compilation chain. The installation process begins by preparing a dedicated storage partition of at least 30 GB on your drive. You must format this partition with ext4 using the command ⁠mkfs -v -t ext4 /dev/sdXX⁠, create a mount point at ⁠/mnt/lfs⁠, and mount the partition using ⁠export LFS=/mnt/lfs⁠, ⁠mkdir -pv $LFS⁠, and ⁠mount -v -t ext4 /dev/sdXX $LFS⁠. Once your storage is ready, you must download the source code for all the base software—including the Linux Kernel, GCC compiler, Glibc system library, and Bash—by creating a writable directory at ⁠$LFS/sources⁠ and downloading the packages using the official LFS "wget-list". To prevent any accidental damage to your host system during compilation, you must create a dedicated, non-privileged user named "lfs" using ⁠useradd -s /bin/bash -g lfs -m -k /dev/null lfs⁠, grant this user ownership of the ⁠$LFS/sources⁠ and ⁠$LFS/tools⁠ directories, and log into this profile to configure a clean, isolated environment in ⁠.bash_profile⁠ and ⁠.bashrc⁠. Under this user, you will compile the temporary toolchain, which is a "bootstrap" phase where you compile a first pass of GCC, Binutils, and Glibc into ⁠$LFS/tools⁠ to serve as a clean, isolated compiler for the final system. After building the temporary tools, you must switch back to the root user on your host system, bind the host's virtual kernel filesystems (⁠/dev⁠, ⁠/proc⁠, ⁠/sys⁠) to your LFS partition, and enter the chroot environment using ⁠chroot "$LFS" /usr/bin/env -i HOME=/root TERM="$TERM" PS1='(lfs chroot) \u:\w\$ ' /bin/bash --login⁠. Now virtually locked inside your LFS partition, you enter the longest phase: compiling the final system. Here, you compile all the core software of a standard Linux system (around 80 packages including Glibc, GCC, Coreutils, and system utilities) from source, running the standard configuration, compilation (⁠make⁠), testing (⁠make check⁠), and installation (⁠make install⁠) for every single package. Once the binaries are compiled, you configure the system by manually writing crucial files such as ⁠/etc/hostname⁠ for the machine name, network interface configurations, and ⁠/etc/fstab⁠ to define your storage and boot layout. Finally, you compile the Linux Kernel itself by running ⁠make menuconfig⁠ to manually enable the exact hardware drivers your system requires to prevent a boot-time Kernel Panic, compile and install the kernel image, and configure the GRUB bootloader on your drive so you can select your newly built, custom Linux From Scratch operating system when you turn on your computer. Keep the official Linux From Scratch book open at all times during this process, as every compilation flag and command must be followed precisely. #nichetok #linux #psh

￴ ￴ ￴ ￴ ￴ ￴￴ ￴ ￴￴ ￴￴ ￴ ￴ ￴
￴ ￴ ￴ ￴ ￴ ￴￴ ￴ ￴￴ ￴￴ ￴ ￴ ￴
Open In TikTok:
Region: BE
Thursday 16 July 2026 11:14:37 GMT
135143
15709
216
3369

Music

Download

Comments

cameroonets
Cameroonets :
why theres windows tutorial under linux tutorial
2026-07-17 14:06:45
141
jade.mpeg
jade.mpeg  :
The bottom video is just a summary of the top video
2026-07-18 09:09:26
3
t.da_coolest.noob
thomas :
israel history gotta be moving like a young sheldon recap. Theirs enough history in israel for like a 10 hour video
2026-07-18 04:19:51
1
castellanoesmuycomplejo
rayan :
1 hour and 50 minutes is too long tho, it should be a short
2026-07-16 11:29:27
1340
istrijanski
️𔓙 :
tutorial on one of the most complex pieces of software to productively use vs storytelling of events
2026-07-16 16:48:18
117
pubertcool
Pubert :
why is there 2 1+ hour linux videos next to eachother🤣
2026-07-16 22:07:13
432
bobinstin
cd ~/home/skid/videos/porn :
a video about windows, and a video about linux.
2026-07-17 01:37:23
34
legendary1_o
𝐘 :
even linux got better history 😭😭😭😭
2026-07-18 07:25:54
3
egyptian.psycho.v3
Egyptian Thragg :
fnaf timeline has more history😭
2026-07-17 18:53:46
26
domsimus
︎Domsimus :
We all love tux the goat
2026-07-16 15:39:14
135
toharxp0
toharxp :
A tutorial vs short documentary vid🫩✌
2026-07-17 05:48:36
24
opsec1234
opsec😭😈 :
CUZ SCRATCH MEANS COMPILING IT BROO THAT TAKES LIKE 6-10 HOURS TO DO WITH UR CPU AT MAX BUT ITS NOT NECESSARY TO COMPILE U CAN USE ISO
2026-07-18 09:16:16
1
katiezyn
katiezyn :
took me way longer to setup linux lol
2026-07-17 10:51:19
5
wisetank_alt
Wisetank :
a video about becoming level 1 mod and above a video about becoming a level 100 owner
2026-07-17 17:34:44
2
peoegot206
Peugeot 206 1.6 :
is rael a distro linux?
2026-07-17 05:16:48
5
piksze
Roni :
Anddd im dying alone 🙏✌
2026-07-16 19:56:27
24
eustass_capn_kidd_fan
eustass_capn_kidd_fan🚦 :
linux in general is more tangible than israel is tangible as a country btw
2026-07-17 11:24:34
9
fatman10ten
fatman🟧🟦🗽 :
How does the same vid pop up twice lol😭
2026-07-17 22:44:22
7
puphahadd
puphahadd :
Talking about Linux and windows in both vida
2026-07-17 01:51:28
6
To see more videos from user @keftar, please go to the Tikwm homepage.

Other Videos


About