- Notifications
You must be signed in to change notification settings - Fork0
Live linux distro combined in one ~20MB file. Runs on any UEFI computer.
coolcoder613eb/OneFileLinux
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Live linux distro combined in one EFI file.
Download herehttps://github.com/zhovner/OneFileLinux/releases
More information in russianhttps://habrahabr.ru/post/349758/
diskutil mount disk_NUMBERTo find out EFI partition disk number usediskutil list
The command is as follows in my case:
diskutil mount disk0s1cp ~/Downloads/OneFileLinux.efi /Volumes/EFI
sudo bless --mount /Volumes/EFI --setBoot --nextonly --file /Volumes/EFI/OneFileLinux.efi
This command will boot linux only once. Next reboot will return previous boot sequence.
!!! Note that System Integrity Protection (SIP) prohibits to change boot options.
You can runbless from Recover Mode console. Press CMD+R while power on and go to "Utilities —> Terminal"
If your motherboard has UEFI Shell, just choose the path to OneFileLinux.efi on ESP.
Otherwise add new boot options to NVRAM and choose it from boot menu.
Example for ThinkPad x220
efibootmgr --disk /dev/sda --part 2 --create --label "One File Linux" --loader /OneFileLinux.efi
Press F12 while power on and choose new boot entry
This project is based on vanilla linux kernel4.16-rc1
and Alpine Linux Minimal root filesystemhttps://alpinelinux.org/downloads/
https://git.kernel.org/torvalds/t/linux-4.16-rc1.tar.gz and extract it tolinux-4.16-rc1
This repository contatinslinux-4.16-rc1/.config file with kernel config.
Chroot into root filesystemchroot ./alpine-minirootfs /bin/ash
Edit what you need. Install packages withapk packet manager.
Run bulding script
./build.shAbout
Live linux distro combined in one ~20MB file. Runs on any UEFI computer.
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Languages
- C97.9%
- Assembly1.5%
- Makefile0.3%
- Perl0.1%
- Shell0.1%
- Python0.1%


