I don't know PXE or how to make it work.
For USB, you can put the iso to USB and
boot from it directly:
menuentry 'Android-x86_64 6.0-r3 iso' --class android-x86 {
insmod loopback
insmod iso9660
set isofile=/iso/android-x86/android-x86_64-6.0-r3.iso
search --no-floppy -f ${isofile} --set=root --hint hd0,msdos2
loopback loop0 ${isofile}
linux (loop0)/kernel iso-scan/filename=${isofile}
initrd (loop0)/initrd.img
}
For 7.1, remember to set selinux mode
which is necessary:
menuentry 'Android-x86_64 7.1 iso' --class android-x86 {
insmod loopback
insmod iso9660
set isofile=/iso/android-x86/android-x86_64-7.1-rc1.iso
search --no-floppy -f ${isofile} --set=root --hint hd0,msdos2
loopback loop0 ${isofile}
linux (loop0)/kernel androidboot.selinux=permissive
iso-scan/filename=${isofile}
initrd (loop0)/initrd.img
}
If the iso is on the network server,
I think the init script needs to be modified
to find it.
> The $path (/pub/tftp/android) above has both the iso and the extracted
> contents (so ramdisk.img & system.sfs are there). This is just an example as
> I get the same result with USB stick.
>
> DEBUG is no help, as tty switch is unresponsive.
> This post did not help:
>
https://groups.google.com/forum/#!topic/android-x86/vGsmcFn82zo
--
Chih-Wei
Android-x86 project
http://www.android-x86.org