Skip to content

Instantly share code, notes, and snippets.

@jim-p
Created July 12, 2013 12:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jim-p/5984177 to your computer and use it in GitHub Desktop.
Save jim-p/5984177 to your computer and use it in GitHub Desktop.
safe mode tweaks
dup bootsafekey @ = if
s" arch-i386" environment? if
drop
s" acpi_load" unsetenv
s" 1" s" hint.acpi.0.disabled" setenv
s" 1" s" loader.acpi_disabled_by_user" setenv
s" 1" s" hint.apic.0.disabled" setenv
then
s" 0" s" hw.ata.ata_dma" setenv
s" 0" s" hw.ata.atapi_dma" setenv
s" 0" s" hw.ata.wc" setenv
s" 0" s" hw.eisa_slots" setenv
s" 1" s" hint.kbdmux.0.disabled" setenv
0 boot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment