reynhout / chrx

Chromebook Unix
419 stars 56 forks source link

[Request] Documentation: please provide instructions for changing boot order in Legacy OS #110

Open mrjohnc opened 3 years ago

mrjohnc commented 3 years ago

I can't find this on chrx.org or MrChromeBox's site, it would be really helpful if you could provide a command for changing the boot order of Legacy OS to be able to chose between USB first or HDD first.

Thanks very much

espoelstra commented 3 years ago

You can run sudo crossystem to see all the available options.

The flag you are looking for is dev_default_boot and you would set it with sudo crossystem dev_default_boot=disk (or legacy or usb).

You can confirm the setting took by running sudo crossystem again or to examine the value of a single flag you can use sudo crossystem dev_default_boot without a value, but the output doesn't include a trailing newline so sudo crossystem | grep dev_default_boot will probably be easier to read.