Cannot enable RW_LEGACY / bootloaders, sudo ‘no new privileges’ error

System Details

  • Device: YAHIKO (HP Chromebook, Intel N100)
  • OS: ChromeOS
  • Firmware Type: Stock firmware (no RW_LEGACY / no UEFI)
  • Firmware Version: Not installed (script cannot run)
  • Internal storage type: eMMC

Summary of the Issue

I am trying to install Windows on my Chromebook using MrChromebox firmware tools, but I am completely blocked.

  • Ctrl + L shows “Alternate bootloaders are disabled”

  • USB boot shows “No valid image detected”

  • Running the firmware utility script fails with:
    “The ‘no new privileges’ flag is set, which prevents sudo from running as root”

Because of this, I cannot install RW_LEGACY or UEFI firmware, so I cannot boot Windows.

Steps to Reproduce

  1. Enabled Developer Mode

  2. Opened crosh (Ctrl + Alt + T)

  3. Typed shell

  4. Tried to run: cd; curl -LO https://mrchromebox.tech/firmware-util.sh && sudo bash firmware-util.sh

  5. Got error: sudo: The “no new privileges” flag is set

  6. Pressed Ctrl + L “Alternate bootloaders are disabled”

  7. Tried booting USB “No valid image detected”

Expected Behavior

I want to install Windows, so I expected:

firmware script to run

RW_LEGACY or UEFI to install

Ctrl + L or USB boot to work,

but I’m unsure if there is any way to do this without opening the device. If hardware write-protect removal is required, I’m not confident what exactly I should be looking for inside (battery disconnect, write-protect screw, etc.), so any guidance would be appreciated.

the instructions on my site tell you exactly how to run the script on ChromeOS where the crosh shell doesn’t allow sudo (which it hasn’t for over a year now, IIRC)

I want to install Windows

sounds like you need to read the docs here, you can’t use RW_LEGACY for running Windows. You have to disable firmware WP (SuzyQ is easiest) and flash the UEFI Full ROM firmware.

all of this is well documented on my site and on the chrultrabook docs. There should be no guessing.

1 Like

Alright thanks so much