Skip to content
项目

关于

Windows 崩溃了?直接进入 Linux shell!

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
+2
15天
+2
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

BugCheck2Linux

Windows crashed? Dropping you into a linux shell!

https://user-images.githubusercontent.com/51860844/236764849-0b6bc55e-f4ee-442f-83c7-7450ce74be49.mp4

How to run it?

  1. Enable test signing and reboot
bcdedit /set testsigning on
shutdown /r /t 0
  1. Create a service using SC
sc create BugCheck2Linux binPath=C:\where\ever\the\driver\is\BugCheck2Linux.sys type=kernel start=demand
  1. Run it!
sc start BugCheck2Linux

*4. In case you change your mind then unload the driver to revert the changes

sc stop BugCheck2Linux

How does this work?

We simply register a BugCheck callback. The callback function runs a tiny RISC V emulator running linux.

For the video output we use bootvid.dll and for input we have a horrible simple polling based PS/2 keyboard driver.

Limitations?

  • No ANSI escape sequences supported.
  • Runs at 640x480 with 16 colors.
  • Only works on BIOS systems.
  • Is really slow at times.
  • Keyboard support is poor. You will have to use CapsLock instead of Shift if you want to access special letters or capital letters. Oh also Backspace does not work.

Credits

mini-rv32ima for the RISC V emulator and the Linux image.

ReactOS Project for providing documentations for bootvid

OSdev Wiki for providing documentations for PS/2

探索相关项目

加载中…