May 2017
Beginner to intermediate
470 pages
10h 49m
English
With the PXE boot menu, we can configure the system to boot to recovery as well. We can use the following configuration:
label 5. x86vbox recovery (ROOT=/dev/sda2) menu x86vbox_recovery kernel x86vbox/kernel append ip=dhcp console=ttyS3,115200 initrd=x86vbox/ramdisk-recovery.img androidboot.hardware=x86vbox DEBUG=2 SRC=/android-x86vbox ROOT=/dev/sda2
We will use a configuration similar to this in Chapter 12, Introducing Recovery to Chapter 14, Customizing and Debugging Recovery, when we explore recovery programming. The difference here is that we use a recovery ramdisk instead of initrd.img. Since recovery is a self-contained environment, we can set the ROOT variable to other partitions as well.
Read now
Unlock full access