Создайте файл 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 "Android x86 - lineageOS 14.1" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 033e8fc7-4cfe-9454-bc59-df7329ca862d
linux /cm-x86-14.1-r2/kernel root=UUID=033e8fc7-4cfe-9454-bc59-df7329ca862d ro quiet splash
initrd /cm-x86-14.1-r2/initrd.img
}
И потом выполните команду:
sudo chmod +x /etc/grub.d/40_custom && sudo update-grub && sudo reboot