debian: 修复 256M 内存安装时找不到硬盘

This commit is contained in:
bin456789 2024-07-11 21:03:47 +08:00
parent 709741a504
commit 6fd3f18b54
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

View File

@ -2288,7 +2288,7 @@ EOF
# <=256M 极限优化
find_main_disk
extra_drivers=
for driver in $(get_disk_drivers); do
for driver in $(get_disk_drivers $xda); do
echo "using driver: $driver"
case $driver in
nvme | virtio_blk | virtio_scsi | xen_blkfront | xen_scsifront | hv_storvsc | vmw_pvscsi) extra_drivers+=" $driver" ;;