{"id":25716194,"url":"https://github.com/haletran/42_ft_linux","last_synced_at":"2025-08-22T20:19:05.364Z","repository":{"id":276217349,"uuid":"928598174","full_name":"Haletran/42_ft_linux","owner":"Haletran","description":" Build a basic, but functional, linux distribution using LFS book","archived":false,"fork":false,"pushed_at":"2025-02-06T23:02:45.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T00:18:27.865Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Haletran.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-06T22:34:00.000Z","updated_at":"2025-02-06T23:02:50.000Z","dependencies_parsed_at":"2025-02-07T00:28:32.735Z","dependency_job_id":null,"html_url":"https://github.com/Haletran/42_ft_linux","commit_stats":null,"previous_names":["haletran/42_ft_linux"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haletran%2F42_ft_linux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haletran%2F42_ft_linux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haletran%2F42_ft_linux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haletran%2F42_ft_linux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Haletran","download_url":"https://codeload.github.com/Haletran/42_ft_linux/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240690538,"owners_count":19841953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-25T14:51:42.033Z","updated_at":"2025-08-22T20:19:05.352Z","avatar_url":"https://github.com/Haletran.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 42_ft_linux\n Build a basic, but functional, linux distribution using LFS book\n\n## REQUIREMENTS\n\n- [ ] Use a kernel version 4.x. Stable or not, as long as it’s a 4.x version\n- [ ] Kernel sources must be in /usr/src/kernel-$(version)\n- [ ] 3 differents partitions or more (root, /boot and a swap partition)\n- [ ] Implement a kernel_module loader, like udev.\n- [ ] The kernel version must contain your student login : `kernel 4.1.2-\u003cstudent_login\u003e`\n- [ ] The distribution hostname must be your student login\n- [ ] 32 or 64-bit system\n- [ ] Use central management and configuration, like SysV or SystemD\n- [ ] Boot with a bootloader, like LILO or GRUB.\n- [ ] Your kernel binary located in /boot must be named like this: `vmlinuz-\u003clinux_version\u003e-\u003cstudent_login\u003e`\n- [ ] Install the following packages:\n\n\u003cdetails\u003e\n\n| Package | Version |\n|---------|---------|\n| Acl | 2.2.52 |\n| Attr | 2.4.47 |\n| Autoconf | 2.69 |\n| Automake | 1.15 |\n| Bash | 4.3.30 |\n| Bc | 1.06.95 |\n| Binutils | 2.25.1 |\n| Bison | 3.0.4 |\n| Bzip2 | 1.0.6 |\n| Check | 0.10.0 |\n| Coreutils | 8.24 |\n| DejaGNU | 1.5.3 |\n| Diffutils | 3.3 |\n| Eudev | 3.1.2 |\n| E2fsprogs | 1.42.13 |\n| Expat | 2.1.0 |\n| Expect | 5.45 |\n| File | 5.24 |\n| Findutils | 4.4.2 |\n| Flex | 2.5.39 |\n| Gawk | 4.1.3 |\n| GCC | 5.2.0 |\n| GDBM | 1.11 |\n| Gettext | 0.19.5.1 |\n| Glibc | 2.22 |\n| GMP | 6.0.0a |\n| Gperf | 3.0.4 |\n| Grep | 2.21 |\n| Groff | 1.22.3 |\n| GRUB | 2.02 beta2 |\n| Gzip | 1.6 |\n| Iana-Etc | 2.30 |\n| Inetutils | 1.9.4 |\n| Intltool | 0.51.0 |\n| IPRoute2 | 4.2.0 |\n| Kbd | 2.0.3 |\n| Kmod | 21 |\n| Less | 458 |\n| Libcap | 2.24 |\n| Libpipeline | 1.4.1 |\n| Libtool | 2.4.6 |\n| M4 | 1.4.17 |\n| Make | 4.1 |\n| Man-DB | 2.7.2 |\n| Man-pages | 4.02 |\n| MPC | 1.0.3 |\n| MPFR | 3.1.3 |\n| Ncurses | 6.0 |\n| Patch | 2.7.5 |\n| Perl | 5.22.0 |\n| Pkg-config | 0.28 |\n| Procps | 3.3.11 |\n| Psmisc | 22.21 |\n| Readline | 6.3 |\n| Sed | 4.2.2 |\n| Shadow | 4.2.1 |\n| Sysklogd | 1.5.1 |\n| Sysvinit | 2.88dsf |\n| Tar | 1.28 |\n| Tcl | 8.6.4 |\n| Texinfo | 6.0 |\n| Time Zone Data | 2015f |\n| Udev-lfs Tarball | udev-lfs-20140408 |\n| Util-linux | 2.27 |\n| Vim | 7.4 |\n| XML::Parser | 2.44 |\n| Xz Utils | 5.2.1 |\n| Zlib | 1.2.8 |\n\n\u003c/details\u003e\n\n\n## STEPS\n\n\n```bash\n# check if the requirements are met\nsudo bash check_requirements.sh\n\n#if there are some missing requirements (on Debian-based system)\nsudo apt-get update\nsudo apt install make g++ texinfo bison gawk\n\n# setup lfs (wget the book, create the lfs user, create the lfs partition)\nsudo bash create_lfs.sh\n\n# login as lfs user\nsu - lfs\n\n# setup env\n./setup_env.sh\n\n# install and the build packages toolkit\n./install_packages.sh\n\n# setup base system\n./setup_base.sh\n\n# launch the shell\nexec /tools/bin/bash --login +h\n\n# install apps\n./install_apps.sh\n\n# Here i am : https://www.fr.linuxfromscratch.org/view/lfs-8.2-fr/chapter06/kernfs.html\n\n```\n\n## RESSOURCE\n\n- [LFS book 8.2](https://www.fr.linuxfromscratch.org/view/lfs-8.2-fr/index.html)\n- [ChrisTitusTech LFS video](https://www.youtube.com/watch?v=oV541sgHKGo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaletran%2F42_ft_linux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaletran%2F42_ft_linux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaletran%2F42_ft_linux/lists"}