Update README.md (#9)

This cost me 1,5 hours of my life so i wanted to make sure nobody else does
This commit is contained in:
Dazer Studios 2024-02-16 08:11:06 +01:00 committed by GitHub
parent 791c738c3d
commit cebe01237c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 5 deletions

View File

@ -73,11 +73,12 @@ Driver support depends on the device you are using shimboot on. This list is for
### Build Instructions: ### Build Instructions:
1. Grab a Chrome OS RMA Shim from somewhere. Most of them have already been leaked and aren't too difficult to find. 1. Grab a Chrome OS RMA Shim from somewhere. Most of them have already been leaked and aren't too difficult to find.
2. Download a Chrome OS [recovery image](https://chromiumdash.appspot.com/serving-builds?deviceCategory=ChromeOS) for your board. 2. Download a Chrome OS [recovery image](https://chromiumdash.appspot.com/serving-builds?deviceCategory=ChromeOS) for your board.
3. Clone this repository and cd into it. 3. Unzip the recovery image and shim if you haven't done so already.
4. Run `mkdir -p data/rootfs` to create a directory to hold the rootfs. 4. Clone this repository and cd into it.
5. Run `sudo ./build_rootfs.sh data/rootfs bookworm` to build the base rootfs. 5. Run `mkdir -p data/rootfs` to create a directory to hold the rootfs.
6. Run `sudo ./patch_rootfs.sh path_to_shim path_to_reco data/rootfs` to patch the base rootfs and add any needed drivers. 6. Run `sudo ./build_rootfs.sh data/rootfs bookworm` to build the base rootfs.
7. Run `sudo ./build.sh image.bin path_to_shim data/rootfs` to generate a disk image at `image.bin`. 7. Run `sudo ./patch_rootfs.sh path_to_shim path_to_reco data/rootfs` to patch the base rootfs and add any needed drivers.
8. Run `sudo ./build.sh image.bin path_to_shim data/rootfs` to generate a disk image at `image.bin`.
### Booting the Image: ### Booting the Image:
1. Obtain a shimboot image by downloading a [prebuilt one](https://dl.ading.dev/shimboot/) or building it yourself. 1. Obtain a shimboot image by downloading a [prebuilt one](https://dl.ading.dev/shimboot/) or building it yourself.