mirror of
https://github.com/bin456789/reinstall.git
synced 2026-04-25 07:24:17 +08:00
debian: 修复在 256M 内存安装模式下无法识别 nvme 硬盘
This commit is contained in:
@@ -3480,7 +3480,14 @@ EOF
|
|||||||
for driver in $(get_disk_drivers $xda); do
|
for driver in $(get_disk_drivers $xda); do
|
||||||
echo "using driver: $driver"
|
echo "using driver: $driver"
|
||||||
case $driver in
|
case $driver in
|
||||||
nvme) extra_drivers+=" nvme nvme-core" ;;
|
nvme)
|
||||||
|
extra_drivers+=" nvme nvme-core"
|
||||||
|
# debian 13+ / kali 有 nvme-auth 模块
|
||||||
|
# 添加后才能识别 nvme 硬盘
|
||||||
|
if grep -q nvme-auth lib/modules/$kver/modules.order; then
|
||||||
|
extra_drivers+=" nvme-auth"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
# xen 的横杠特别不同
|
# xen 的横杠特别不同
|
||||||
xen_blkfront) extra_drivers+=" xen-blkfront" ;;
|
xen_blkfront) extra_drivers+=" xen-blkfront" ;;
|
||||||
xen_scsifront) extra_drivers+=" xen-scsifront" ;;
|
xen_scsifront) extra_drivers+=" xen-scsifront" ;;
|
||||||
|
|||||||
Reference in New Issue
Block a user