Files
gpu-stack-bootstrap/01-hardware-check.md
T
hwd32 58fdb03c30 docs: 初始装机指南
包含 6 章步骤 + 排错手册:
- 01 硬件与基础检查
- 02 Windows 装 Studio 驱动
- 03 WSL2 + CUDA 12.8
- 04 Ollama 装 LLM
- 05 PyTorch 验证(待补,依赖实机跑通)
- 06 ComfyUI 装出图(待补,依赖实机跑通)
- 90 排错手册
2026-06-14 12:08:38 +08:00

78 lines
1.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 01 硬件与基础检查
## 目标
确认你的硬件能跑这套配置 + 基础环境 OK。
## 检查清单
- [ ] RTX 5060 Ti 16GB 已装进主板
- [ ] 电源线 8pin 接好
- [ ] 显示器接在显卡 HDMI/DP 上(**不是**主板的核显口)
- [ ] 主板 BIOS 里 Resizable BAR / Above 4G Decoding 开启(默认开的,没动过就不用管)
- [ ] Windows 11 已更新到最新版(设置 → Windows 更新 → 检查更新)
## 必备工具(Windows 端先装好)
打开 PowerShell(管理员),跑:
```powershell
# 1. WSL2
wsl --install
# 2. 装完重启后,验证
wsl --list --verbose
```
应当看到 `VERSION` 列 = `2`
## 装 Ubuntu 24.04
```powershell
wsl --install -d Ubuntu-24.04
```
第一次进 Ubuntu 会提示设用户名密码(**记好**),完成后会自动回到命令行。
## 回到 WSL2 Ubuntu 终端,更新系统
```bash
sudo apt update && sudo apt upgrade -y
sudo apt install -y build-essential git curl wget netcat-openbsd
```
## 验证硬件识别
**Windows PowerShell**
```powershell
nvidia-smi
```
**应当看到**
```
+-----------------------------------------+
| NVIDIA-SMI 610.47 ... |
| 0 NVIDIA GeForce RTX 5060 Ti ... 16311MiB |
+-----------------------------------------+
```
如果**报错 / 没看到卡**
- 检查显示器接的是**显卡**不是核显
- 检查 PCIe 插槽插紧没
- 主板 BIOS 里把 PEG/PCIe16 优先级设第一
## 验证 WSL2 看得到 GPU
**WSL2 Ubuntu 终端**
```bash
nvidia-smi
```
**应当看到同一张 5060 Ti**(同驱动版本 610.47 / 610.43.02 都行)。
如果**看不到 / 报错**
- 确认 WSL2 是 v2`wsl --set-default-version 2`
- 更新 WSL2 内核(PowerShell 管理员):`wsl --update`
- 重启 WSL2`wsl --shutdown` 然后重新打开终端
## 下一步
✅ 通过后 → [02 Windows 装 Studio 驱动](./02-windows-driver.md)