View Single Post
Old 06-26-2012, 04:41 PM   #36
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by NiLuJe View Post
@geekmaster/@eureka: Err, wasn't the point of doing it in a diags RUNME instead of USBNet to be able to dump an *unmounted* part? Because doing it from usbnet on main would be dumping main from main == bad, no? (And since it's an unknown firmware/kernel, doing it from a flashed older diags+ssh isn't a great idea either).

(Take that with a grain of salt, I'm not familiar with the RUNME stuff, and I still can't remember wich part is main/diags... ^^)
Exactly! If you go back and read my post(s) about this, I say the RUNME.sh should run from diags and dump main, then change bootmode to main and reboot, then detect that it is in main (/proc/bootmode) and dump diags, then quit...

That not only dumps UNMOUNTED partitions, but also UNMODIFIED partitions. The only changes are to /mnt/us and /var/local (where the payload goes).

I want UNMODIFIED partition images. SSH requires CHANGES to main and/or diags before it can even RUN...

Remember that it has to delete RUNME.done exactly ONE time, so it can run again after rebooting to main...

I have already written a version of this script a couple of months ago, but I do not have it with me... It might even be posted somewhere, but the MR search engine isn't finding it for me. It must be buried somewhere in my thousands of posts and PMs, but good luck finding it...

Last edited by geekmaster; 06-26-2012 at 04:44 PM.
geekmaster is offline   Reply With Quote