{"id":15510404,"url":"https://github.com/nowlinuxing/rpi4-installer","last_synced_at":"2026-05-18T11:35:17.906Z","repository":{"id":69536241,"uuid":"304296348","full_name":"nowlinuxing/rpi4-installer","owner":"nowlinuxing","description":"Raspberry Pi OS installer for USB mass storage device","archived":false,"fork":false,"pushed_at":"2020-10-23T00:30:03.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T15:09:07.696Z","etag":null,"topics":["raspberry-pi","raspberry-pi4"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/nowlinuxing.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":"2020-10-15T10:54:19.000Z","updated_at":"2024-03-17T13:35:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"22edc52c-b613-4274-b488-ce1fe3a08603","html_url":"https://github.com/nowlinuxing/rpi4-installer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nowlinuxing/rpi4-installer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowlinuxing%2Frpi4-installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowlinuxing%2Frpi4-installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowlinuxing%2Frpi4-installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowlinuxing%2Frpi4-installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nowlinuxing","download_url":"https://codeload.github.com/nowlinuxing/rpi4-installer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowlinuxing%2Frpi4-installer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33177160,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["raspberry-pi","raspberry-pi4"],"created_at":"2024-10-02T09:48:28.718Z","updated_at":"2026-05-18T11:35:17.901Z","avatar_url":"https://github.com/nowlinuxing.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rpi4-installer\n\nrpi4-installer is a Raspberry Pi OS installer for USB mass storage device for Raspberry Pi 4.\n\n## Features\n\n* Create a swap partition (optional).\n* Install Raspberry Pi OS to LVM.\n* Create SSD optimized `fstab`.\n\n## Getting Started\n\n### Prerequisites\n\nIn order to boot the Raspberry Pi 4 from USB, it is necessary to upgrade the EEPROM to supports USB mass storage device boot.\n\n```sh\n# Require Sep 3 2020 or later\n$ vcgencmd bootloader_version\nSep  3 2020 13:11:43\nversion c305ZZ1a6d7e532693cc7ff57fddfc8649def167 (release)\ntimestamp 1599135103\n```\n\nIf not, upgrade it.\n\n```sh\n$ sudo apt update\n$ sudo apt full-upgrade\n$ sudo reboot\n```\n\nAfter reboot, set USB device as a primary boot devise (and microSD as a secondary).\n\n```sh\n$ sudo raspi-config\n```\n\n### Installation\n\n1. Download Raspberry Pi OS and install to a microSD.\n2. Boot Raspberry Pi 4 from a microSD.\n3. Open a terminal and type commands:\n   ```sh\n   $ cd /run/shm\n   $ wget https://raw.githubusercontent.com/nowlinuxing/rpi4-installer/main/rpi4-install.sh\n   $ sh ./rpi4-install.sh\n   ```\n4. Shutdown the Raspberry Pi 4, remove the microSD, and boot the device.\n\n## License\n\nDistributed under the MIT License. See [LICENSE](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnowlinuxing%2Frpi4-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnowlinuxing%2Frpi4-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnowlinuxing%2Frpi4-installer/lists"}