{"id":13510488,"url":"https://github.com/comfies/tldrlfs","last_synced_at":"2025-03-30T16:33:38.694Z","repository":{"id":43822599,"uuid":"186566497","full_name":"comfies/tldrlfs","owner":"comfies","description":"Too Long; Didn't Read Linux From Scratch","archived":false,"fork":false,"pushed_at":"2024-06-10T18:42:21.000Z","size":67,"stargazers_count":318,"open_issues_count":2,"forks_count":14,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-08-02T02:16:31.965Z","etag":null,"topics":["lfs","lfs-book","linux","tldr"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/comfies.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-05-14T07:17:58.000Z","updated_at":"2024-07-17T12:01:46.000Z","dependencies_parsed_at":"2024-06-10T21:10:40.986Z","dependency_job_id":"ee3376c4-4a69-4a5b-9546-dd6edb680a48","html_url":"https://github.com/comfies/tldrlfs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comfies%2Ftldrlfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comfies%2Ftldrlfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comfies%2Ftldrlfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comfies%2Ftldrlfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/comfies","download_url":"https://codeload.github.com/comfies/tldrlfs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222566739,"owners_count":17004237,"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":["lfs","lfs-book","linux","tldr"],"created_at":"2024-08-01T02:01:41.070Z","updated_at":"2024-11-01T11:30:21.369Z","avatar_url":"https://github.com/comfies.png","language":null,"funding_links":[],"categories":["Others","linux"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com\"\u003etoo long; didn't read linux from scratch\u003c/a\u003e\n  \u003cbr/\u003e\n\u003c/p\u003e\n\n---\n\ntoo long; didn't read linux from scratch.\n\ntldrlfs is a short guide that will teach you how to build a working operating system using the Linux kernel in much fewer commands and less time than LFS. It's meant to inform the reader, but be much more straight to the point in nature. All that's needed is a little bit of time, some hardware to work on, and if you're so inclined, copious amounts of alcohol if you want a fun drinking game.\n\n---\n\nWhile Linux From Scratch is a great book, it provides a fair bit of unnecessary information to an end user. It is filled to the brim with information, and while that's not at all a bad thing, it is very daunting to readers who wish to only have a minimal operating system. At the bare minimum you only need the kernel and a process that runs as PID 1. _That's it._ Of course, readers probably want a tailored distribution to their needs. Perhaps that's a desktop, a specialized media server -- whatever the case may be, the two components previously mentioned are the greatest common denominator.\n\nThis GitHub repository is comprised entirely of README files to guide you through the bare minimum and just a _little_ bit more to get an operating system up and off the ground.\n\n---\n\nTable of Contents -\n\n- [building the kernel](https://github.com/comfies/tldrlfs/tree/master/kernel)\n- [installing an init](https://github.com/comfies/tldrlfs/tree/master/init)\n- [installing a shell](https://github.com/comfies/tldrlfs/tree/master/shells)\n- [installing a bootloader](https://github.com/comfies/tldrlfs/tree/master/bootloaders)\n- [core utilities](https://github.com/comfies/tldrlfs/tree/master/coreutils)\n- [additional guides](https://github.com/comfies/tldrlfs/)\n\n---\n\nThere's only two prerequisites to begin tl;dr lfs.\n\n(1) An already running Linux distribution to bootstrap from     \n(B) A storage medium to install to.\n\nThe distribution to bootstrap from does not necessarily need to be installed on anything; you can do this from a live medium if you so choose. If you're not comfortable working on real hardware or want to practice, you can always work with a virtual machine.\n\nTo prepare you storage medium you will need to partition the disk, format it, and mount it somewhere on your currently running distribution.\n\n```\n$ mkdir -p ./tldrlfs\n$ fdisk /dev/sdX\n$ mkfs.ext4 /dev/sdXY\n$ mount /dev/sdXY ./tldrlfs\n$ export BUILDDIR=./tldrlfs\n$ export THREADS=$(nproc || printf '%s\\n' 1)\n```\n\n`/dev/sdX` and `/dev/sdXY` refers to a device file for a storage medium. Yours may be `/dev/sdb`, `/dev/sdc`, or anything else. If you do not know the path for your device, you can use `lsblk`. `X` refers to the drive itself, and `Y` is the specific partition you wish to use.\n\nYou are not at all tied to using `ext4` as your filesystem, `fdisk` for your partitioning program, or otherwise. Keep in mind, this is a guide, not a legally binding contract. Feel free to supplement your own preferences where applicable.\n\nJust remember: have fun!\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/comfies/tldrlfs/blob/master/CONTRIBUTING.md\"\u003etl;dr lfs needs help! feel free to contribute if you find something missing\u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomfies%2Ftldrlfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomfies%2Ftldrlfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomfies%2Ftldrlfs/lists"}