{"id":30815116,"url":"https://github.com/ic7400a/lenovo-debian-bootfix","last_synced_at":"2025-09-06T08:08:13.662Z","repository":{"id":309217810,"uuid":"1035514192","full_name":"IC7400A/lenovo-debian-bootfix","owner":"IC7400A","description":"Windows batch script for Lenovo laptops that re-adds a Debian boot entry when BIOS updates remove it.","archived":false,"fork":false,"pushed_at":"2025-08-10T15:13:51.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-10T17:18:06.074Z","etag":null,"topics":["bios","boot","debian","linux"],"latest_commit_sha":null,"homepage":"","language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IC7400A.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,"zenodo":null}},"created_at":"2025-08-10T15:04:28.000Z","updated_at":"2025-08-10T15:10:58.000Z","dependencies_parsed_at":"2025-08-10T17:28:18.158Z","dependency_job_id":null,"html_url":"https://github.com/IC7400A/lenovo-debian-bootfix","commit_stats":null,"previous_names":["ic7400a/lenovo-debian-bootfix"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/IC7400A/lenovo-debian-bootfix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IC7400A%2Flenovo-debian-bootfix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IC7400A%2Flenovo-debian-bootfix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IC7400A%2Flenovo-debian-bootfix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IC7400A%2Flenovo-debian-bootfix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IC7400A","download_url":"https://codeload.github.com/IC7400A/lenovo-debian-bootfix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IC7400A%2Flenovo-debian-bootfix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273874160,"owners_count":25183368,"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","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bios","boot","debian","linux"],"created_at":"2025-09-06T08:05:00.495Z","updated_at":"2025-09-06T08:08:13.643Z","avatar_url":"https://github.com/IC7400A.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lenovo Debian BootFix\n\nA simple Windows batch script to quickly restore boot access to Debian after a Lenovo BIOS update removes or overwrites the Linux boot entry.\n\n## Why this exists\nMany Lenovo laptops remove custom EFI boot entries when the BIOS is updated. This often leaves Debian (and other Linux distros) unbootable until GRUB or another boot manager is restored.  \nThis script adds a **temporary UEFI boot entry** pointing to your Debian installation so you can boot immediately without a full reinstall or rescue media.\n\n---\n\n## Features\n- Works entirely from Windows — no live USB required.\n- No permanent changes to firmware (entry is temporary until reboot).\n- Lightweight and portable (single `.bat` file).\n\n---\n\n## Requirements\n- **Windows with Administrator privileges**\n- Built-in Windows tools: `bcdedit` and `bcdboot`\n- Knowledge of your Debian EFI partition location (usually `/boot/efi`)\n\n---\n\n## Usage (Windows)\n1. Download `debian-bios.bat` from the [releases](./releases) section or clone this repo.\n2. Open **Command Prompt as Administrator**  \n   - Press `Win` → type **cmd** → right-click → **Run as administrator**.\n3. Navigate to the folder containing `debian-bios.bat`.\n4. Run:\n   ```cmd\n   debian-bios.bat\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fic7400a%2Flenovo-debian-bootfix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fic7400a%2Flenovo-debian-bootfix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fic7400a%2Flenovo-debian-bootfix/lists"}