Etcher: Provide a way for users to bypass the Etcher system drive protection layer

Created on 14 Jun 2016  Â·  10Comments  Â·  Source: balena-io/etcher

There might be advanced users that really know what they're doing.

We could either:

  • Document the use of an environment variable, like ETCHER_ADVANCED_MODE=1. Advanced users will feel confortable doing so, and the feature will be nicely isolated from newbies.
  • Provide a checkbox in the drive selector modal saying something like "Advanced usage" with a big warning that will make system drives appear on the modal.
gui all feature

Most helpful comment

All 10 comments

I like the env var option, and I appreciate the distro without the check in it.

screen shot 2016-06-13 at 8 11 37 pm-1465863352770

screen shot 2016-06-13 at 8 07 42 pm

screen shot 2016-06-13 at 8 07 55 pm

screen shot 2016-06-13 at 8 08 07 pm

booted off the drive and it worked perfectly.

Sounds good. Possible names for the environment variable:

  • ETCHER_ADVANCED_MODE
  • ETCHER_UNSAFE_MODE
  • ETCHER_RUN_UNSAFE

I personally like the second one.

@jviotti how about an option in the settings?

@alexandrosm Yeah, I think that'd work even better. Propagating env vars from the main process to the renderer process is a pain, so I'm all for a more simplistic option.

maybe with a red "dangerous" label next to it, and a warning modal when the user wants to enable it?

I personally think the dangerous label is enough, and a warning modal is just annoying, but maybe that's just me. @taahirisaacs?

they'll only see it once anyway, not a big deal, and want to make sure
someone doesn't blow out their hard drive and blame etcher

_Alexandros Marinos_

Founder & CEO, Resin.io

+1 206-637-5498

@alexandrosm

On Wed, Jun 22, 2016 at 7:44 AM, Juan Cruz Viotti [email protected]
wrote:

I personally think the dangerous label is enough, and a warning modal is
just annoying, but maybe that's just me. @taahirisaacs
https://github.com/taahirisaacs?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/resin-io/etcher/issues/480#issuecomment-227766858,
or mute the thread
https://github.com/notifications/unsubscribe/ABLUCNKdTY77UI3gRMxLNHv4MUZQnAPNks5qOUpkgaJpZM4I00lV
.

unsafe-mode-300616

I found this thread looking for details on this setting, and while "Allow writing system drive [DANGEROUS]" or other text for this setting would be more correct, this text, as-is, is too hilarious to ever change!!

"Unsafe mode" is mysterious, but the "Dangerous" makes it delicious as well!

It's like a red button with a label next to it saying "DO NOT PRESS THIS BUTTON."

Was this page helpful?
0 / 5 - 0 ratings

Related issues

grash54 picture grash54  Â·  5Comments

robmcc1983 picture robmcc1983  Â·  5Comments

mwiegant picture mwiegant  Â·  5Comments

GGShinobi picture GGShinobi  Â·  4Comments

jwa5426 picture jwa5426  Â·  5Comments