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.
Can Porteus handle power cuts without data corruption?
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: Can Porteus handle power cuts without data corruption?
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
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
Please add [Solved] to your thread title if the solution was found.
Re: Can Porteus handle power cuts without data corruption?
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).
My application will have no writing/saving to USB flash disk (once it's customized and iso created).