Skip to content

Instantly share code, notes, and snippets.

@zhaostu
Last active December 8, 2017 17:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save zhaostu/4746672 to your computer and use it in GitHub Desktop.
Save zhaostu/4746672 to your computer and use it in GitHub Desktop.
Android-x86 and Chromium OS grub2 entries.
menuentry "Android-x86" {
savedefault
set root='(hd0,3)'
linux /android-4.0-RC2/kernel quiet root=/dev/ram0 androidboot.hardware=asus_laptop acpi_sleep=s3_bios,s3_mode SRC=/android-4.0-RC2
initrd /android-4.0-RC2/initrd.img
}
menuentry "Chromium OS" {
savedefault
insmod ext2
set root='(hd0,2)'
linux /boot/vmlinuz quiet console=tty2 init=/sbin/init boot=local rootwait ro noresume noswap loglevel=1 noinitrd root=/dev/sda2 i915.modeset=1 cros_efi cros_debug
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment