The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
android-x86 pxe boot
2018-07-08, 20:31
Post: #1
android-x86 pxe boot
Hello all,
this is my first post , i am badly in need for help Confused

I want to network boot android-x86 using iPXE. So far i have done the following

1. i have recompiled the android kernel adding nfs , pnp, ethernet , sunrpc etc related supports.
2. Built the final image successfully
3. tested the ISO in virtual box by live cd mode . it works okay

but i am stuck at pxe booting it.
At my server side laptop i have hosted the build output folder of the android-x86 over NFS . Here all the kernel,initrd, ramdisk, system.sfs images & other folders like root ,system etc are residing.

At my client side laptop during the pxe boot , kernel & initrd gets downloaded and the OS seems starts booting as many log prints but the booting gets stuck at "detecting android-x86 ....." . i know that android-x86 has 2 stage booting mechanism and it seems it is stuck at the 2nd stage , maybe it is unable find the ramdisk.img . here is my script ..
iPXE> set server_ip
iPXE> set nfs_path /home/ayx/android-x86/out/target/product/x86_64
iPXE> kernel nfs://${server_ip}${nfs_path}/kernel || read void
iPXE> initrd nfs://${server_ip}${nfs_path}/initrd.img || read void

iPXE> imgargs kernel root=/dev/nfs rw ip=dhcp androidboot.hardware=android_x86_64 netboot=nfs nfsroot=${server_ip}:${nfs_path},nolock,wsize=1024,rsize=1024 initrd=initrd.img ROOT=${server_ip}:${nfs_path}

boot || read void

How can i load the ramdisk.img over nfs using iPXE ? or how can i properly boot android-x86 using iPXE ?
i will be very grateful to your help
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
android-x86 pxe boot - ayx - 2018-07-08 20:31
RE: android-x86 pxe boot - ayx - 2018-07-10, 18:47
RE: android-x86 pxe boot - shahul - 2018-12-15, 07:39

User(s) browsing this thread: 1 Guest(s)