Re:Ubuntu Core On The Nexus 7
by drivebyacct2 on Friday October 26, 2012 @07:39PM
(#4704738)
Could you at least write a rebooter that would rewrite /boot and then have two "partitions"? You could go into Ubuntu and choose "reboot into Android" and it would rewrite /boot and then restart the device?
I wonder how the bootloader for the Touchpad works. It had the functionality I describe though I have no idea how it was implemented.
Yes, you could do that. On all the devices I've played with the kernel+initrd image is a standard format and exposed as a single partition. You'd just dd your new one over it and reboot. But this would be fragile, to say the least.
Obviously a second stage bootloader could be written, but it's going to be highly hardware-specific -- one for the OMAP4-based Galaxy Nexus wouldn't work with the Tegra3-based Nexus 7, etc...