From 5d4cc57a0eacd81014dead1c0acdbf54bca989d1 Mon Sep 17 00:00:00 2001 From: FlintyLemming Date: Thu, 2 Jan 2025 10:18:36 +0800 Subject: [PATCH] new post --- .../c7aqQDgpFk4moMMfjVhLW3/index.zh-cn.md | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 content/post/c7aqQDgpFk4moMMfjVhLW3/index.zh-cn.md diff --git a/content/post/c7aqQDgpFk4moMMfjVhLW3/index.zh-cn.md b/content/post/c7aqQDgpFk4moMMfjVhLW3/index.zh-cn.md new file mode 100644 index 0000000..aaba10a --- /dev/null +++ b/content/post/c7aqQDgpFk4moMMfjVhLW3/index.zh-cn.md @@ -0,0 +1,25 @@ ++++ +author = "FlintyLemming" +title = "QNAP TS-453B mini 安装黑群晖硬盘识别问题解决" +slug = "c7aqQDgpFk4moMMfjVhLW3" +date = "2025-01-01" +description = "" +categories = ["HomeLab"] +tags = ["黑群晖"] +image = "https://gitee.com/flintylemming/mitsea-public-source/raw/master/images/blog/posts/2025/01/zach-lezniewicz-E4IDq9NfFYY-unsplash.avif" ++++ + +这台机器用的外挂 SATA 控制器不能被大多数 Linux 系统默认识别,Windows 倒是可以,所以黑群晖自然也是识别不到。 + +解决方案参考知乎这篇文章修改 GRUB,既然改的是引导,所以其实跟你用什么群晖机型无关,它在 rr 的 bootloader 里执行 `lsblk` 就看不到设备 + +[https://zhuanlan.zhihu.com/p/409567877](https://zhuanlan.zhihu.com/p/409567877) + +解决方法他这里也写了,就是改 GRUB 然后修改 `GRUB_CMDLINE_LINUX="pcie_port_pm=off"` ,只不过 rr 的引导是靠 grub.cfg 来定义的 GRUB,所以刚上手不知道这个文件对应改哪里。摸索了一下发现改 `set RR_CMDLINE` 内的内容有效。 + +在这行的最后加一段 `pcie_port_pm=off` 就可以了 + +![](https://gitee.com/flintylemming/mitsea-public-source/raw/master/images/blog/posts/2025/01/image_850z0ohy1Z.avif) + +> Photo by [Zach Lezniewicz](https://unsplash.com/@zachlez?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash) on [Unsplash](https://unsplash.com/photos/a-black-and-white-photo-of-a-large-body-of-water-E4IDq9NfFYY?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash) + \ No newline at end of file