View Single Post
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#6
Originally Posted by Hurrian View Post
Slightly off topic, but speaking of your kexec idea, may I suggest setting the flashable kernel's cmdline for boot device to:
Code:
ubi.mtd=var root=ubi0:var rootfstype=ubifs rootflags=bulk_read,no_chk_data_crc
so that the system will be completely independent of the state of Harmattan, Nemo and NITDroid?
mmh, I am not that familiar using UBIFS so I have not thought of that. (actuallly just now googled it) I guess the rootfs location would then be somewhere outside mmcblk0, in an unpartitioned flash area...?

The reason I have now thought of booting Harmattan/Nitdroid as the first stage and then if Nemo is selected, boot to that using kexec is that I was unable to boot reliably to the existing Harmattan/Nitdroid installation from the Nemo loader. I have trouble understanding where does flashing the kernal actually store the kernel and initrd, they seem to be outside the filesystem, maybe in this UBIFS area?

Originally Posted by Hurrian View Post
The base system can probably be done with evtap + Harmattan components (as seen in the touch preinit)

With the right interface script, you can do everything.

It would allow really easy repartitioning and an extra layer of safety (no need to load Rescue Initrds anymore, you can simply not care about whether the eMMC gets wiped, and with modifiable boot menus, you can kexec into Harmattan outside of mmcblk0p2).

You can probably even slap a complete Debian base system into the "var" partition, which is ~500MB.
All of this sounds really good if doable.

Originally Posted by Hurrian View Post
Oh, and I've answered some of your questions on the triple-boot thread.
Yes, now I see. I somehow missed that post!