Page 1 of 1

Can Porteus handle power cuts without data corruption?

Posted: 25 Apr 2014, 21:28
by Dave99
Hi all

I intend to use Porteus Desktop Edition on some computers (booting off USB flash drive) which are prone to being switched off at anytime.
My question is, does Porteus mount the boot USB flash drive in Read Only and copy everything to RAM and run from there, thus making possible data corruption on flash disk not possible
when the power is suddenly cut?

T.I.A.

Re: Can Porteus handle power cuts without data corruption?

Posted: 25 Apr 2014, 21:50
by fanthom
hi Dave99,

if you boot without 'changes=' cheatcode and do not write anything on usb then in fact Porteus works in read-only mode. additionally - if you boot with copy2ram then you can even unplug the stick completely :)

if you want to save changes and still be immune to corruption then 'changes=EXIT:' is the best way to go as data are buffered in RAM and dumped on the stick only during reboot/shutdown. there are still some tradeoffs:
- if power cut happens during live session then the session is lost
- if power cut happens during shutdown then data are corrupted. shutdown time is fast but depends on how much data needs to be copied on the stick so chances are rather small to see it happening :)

Re: Can Porteus handle power cuts without data corruption?

Posted: 25 Apr 2014, 22:17
by Dave99
Hi fanthom and thank you for your prompt reply and confirmation that Porteus will run completely in RAM.
My application will have no writing/saving to USB flash disk (once it's customized and iso created).