34c3321ffe | ||
---|---|---|
bootloader/bin | ||
rootfs/opt | ||
.gitignore | ||
LICENSE | ||
README.md | ||
build.sh | ||
build_image.sh | ||
build_rootfs.sh | ||
patch_initramfs.sh | ||
patch_rootfs.sh |
README.md
Chrome OS RMA Shim Bootloader
This is a set of scripts for patching a Chrome OS RMA shim to serve as a bootloader for a standard Linux disto.
Current Development Roadmap:
build the image automaticallyboot to a shellswitch_root into an actual rootfsstart X11 in the actual rootfsui improvements in the bootloaderload all needed driversautostart X11host repo for patched systemd packagesuse debootstrap to install debian- prompt user for hostname and account when creating the rootfs
- auto load iwlmvm
- host prebuilt images
- write detailed documentation
Usage:
- Grab a Chrome OS RMA Shim from somewhere. Most of them have already been leaked and aren't too difficult to find.
- Download a Chrome OS recovery image for your board.
- Clone this repository and cd into it.
- Run
mkdir -P data/rootfs
to make a directory for the rootfs. - Run
sudo ./build_rootfs.sh data/rootfs bookworm
to build the base rootfs. - Run
sudo ./patch_rootfs.sh path_to_shim path_to_reco data/rootfs
to patch the base rootfs and add any needed drivers. - Run
sudo ./build.sh image.bin path_to_shim data/rootfs
to generate a disk image atimage.bin
. - Flash the generated image to a USB drive or SD card.
Note that these instructions are currently incomplete.
License:
ading2210/shimboot: Boot desktop Linux from a Chrome OS RMA shim.
Copyright (C) 2023 ading2210
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.