Windows: Difference between revisions

From David's Wiki
No edit summary
No edit summary
Line 3: Line 3:
==Bash==
==Bash==
Download [https://gitforwindows.org Git for Windows] to get a copy of Git Bash.
Download [https://gitforwindows.org Git for Windows] to get a copy of Git Bash.


==Blue Screen==
==Blue Screen==
Line 16: Line 15:
* Open your minidump
* Open your minidump
* Type <code>!analyze -v</code>
* Type <code>!analyze -v</code>


==Hosts file==
==Hosts file==
[[Wikipedia: hosts (file)]]<br>
[[Wikipedia: hosts (file)]]<br>
<code>%SystemRoot%\System32\drivers\etc\hosts</code>
<code>%SystemRoot%\System32\drivers\etc\hosts</code>
==Changing IDE/RAID to AHCI==
[http://triplescomputers.com/blog/uncategorized/solution-switch-windows-10-from-raidide-to-ahci-operation/ Reference]<br>
You should be using ACHI instead of IDE or RAID.<br>
Note that Intel's Rapid Storage Technology software raid won't be recognized by linux systems.<br>
* Run <code>bcdedit /set {current} safeboot minimal</code> in a cmd prompt with admin
* Change to ACHI in UEFI
* Run <code>bcdedit /deletevalue {current} safeboot</code>

Revision as of 21:01, 29 February 2020


Bash

Download Git for Windows to get a copy of Git Bash.

Blue Screen

How to troubleshoot BSOD (Blue Screen of Death).

  • When windows encounters a BSOD, it will create a minidump (.dmp) file in

C:\Windows\Minidump.

  • Copy out this dump file to somewhere like your desktop.
  • There are various software to open the minidump files such as WinDbg Preview and BlueScreenView,

WinDbg Preview

How to use WinDbg preview

  • Open your minidump
  • Type !analyze -v

Hosts file

Wikipedia: hosts (file)
%SystemRoot%\System32\drivers\etc\hosts

Changing IDE/RAID to AHCI

Reference
You should be using ACHI instead of IDE or RAID.
Note that Intel's Rapid Storage Technology software raid won't be recognized by linux systems.

  • Run bcdedit /set {current} safeboot minimal in a cmd prompt with admin
  • Change to ACHI in UEFI
  • Run bcdedit /deletevalue {current} safeboot