Thanks theyosh, Hurrian and juiceme for your input. Theyosh may be right, that Nemo may not be possible to boot from p7 instead of p4 (opposed to Hurrians -fully agreed from side- answer)? @juiceme of course I modified that func and edited some more passages where p4 was mentioned (even in kexec_load). And also modified cmdline of Nemo boot partition. The kernel of Nemo bzImage is already located as link inside tarball, so there is no need to copy anything after untaring. Right? I checked everything once again. And I do not get it. Grrr... :angry: I have attached all my mods in a zip file. Nitdroid and all kernels of Harmattan work fine. If you could check that once again, please?
OCMD=$(cat /proc/original_cmdline); TMP1=$(echo "$OCMD" | sed -e "s/root\=\/dev\/mmcblk0p2/root\=\/dev\/mmcblk0p7/") ; TMP2=$(echo "$TMP1" | sed -e "s/ init\=\/sbin\/preinit/init\=\/sbin\/init/") ; FCMD="\"$TMP2\"" ; kexec -l --type=zImage --command-line=$FCMD /mnt/7/boot/bzImage ; echo $?
/usr/bin/disable_pm ; kexec -e ; echo $? ; sleep 10