Enabling boot with initrd.img
As we learnt in Chapter 6, Debugging the Boot Up Process Using a Customized ramdisk, we can boot the emulator in two stages. This is very helpful to debug the init process and troubleshoot issues at system level. in Chapter 6, Debugging the Boot Up Process Using a Customized ramdisk, we create a separate disk image, x86emu_x86.img, to store all the necessary file images to support a first-stage boot up similar to Android-x86. The x86emu_x86.img image appears in the system as /dev/sda and includes all images: system.img, install.img, initrd.img, ramdisk.img, kernel, and so on.
In this chapter, we will change the Android-x86 newinstaller further to support two-stages boot up just using system.img instead of creating ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access