Created
October 23, 2017 05:20
-
-
Save 4U6U57/02f7bf0223c9fc5b2ec6c1d8cf5d5415 to your computer and use it in GitHub Desktop.
CloudReady (ChromeOS) grub target
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Target for booting into CloudReady on a dual booted system with grub | |
# Loads bootx64.efi instead of a specific CloudReady Kernel A/B | |
# (which would prevent automatic updates) | |
# Easy way: | |
# Install grub-customizer, and create a new script item | |
# Copy and paste the contents in between the { ... } into the script | |
# More Linux-y way: | |
# Open up /boot/grub/grub.cfg and paste in the entire contents (sans comments) | |
# to make it the first menuentry (which will make it the one that runs auto) | |
# Note in both cases, $UUID should be replaced with the UUID of the partition | |
# containing your EFI (the partition mounted at /boot/ in your Linux system) | |
# You might want to use gparted to find this | |
menuentry "CloudReady (ChromeOS)" { | |
insmod chain | |
insmod search_fs_uuid | |
search --fs-uuid --no-floppy --set=root $UUID | |
chainloader ($root)/efi/boot/bootx64.efi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment