Comment 0 for bug 1881872

Revision history for this message
PERCE-NEIGE (perce-neige) wrote :

Everything worked fine, until I created and edited the 40_custom file.

I wanted to add Android-x86 Lineage to Grub, which is not possible through os-prober.

After refreshing Grub-customizer to take into consideration the content of 40_custom, 40_custom disappeared (it can't be found in the "backup" file in grub.d, the only 40_custom in this backup folder is an untouched version, without what I've added.) and it produced a Grub-customizer error.

Content of 40_custom:
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Lineage" {
set root='(hd0,1)'
linux /android-4.4-RC2/kernel quiet root=/dev/ram0 androidboot.hardware=android_x86 acpi_sleep=s3_bios,s3_mode SRC=/android-4.4-RC2S SDCARD=/data/sdcard.img
initrd /android-4.4-RC2/initrd.img}