Skip to content

Instantly share code, notes, and snippets.

@4U6U57
Created October 23, 2017 05:20
Show Gist options
  • Save 4U6U57/02f7bf0223c9fc5b2ec6c1d8cf5d5415 to your computer and use it in GitHub Desktop.
Save 4U6U57/02f7bf0223c9fc5b2ec6c1d8cf5d5415 to your computer and use it in GitHub Desktop.
CloudReady (ChromeOS) grub target
# 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