pocopico / tinycore-redpill

GNU General Public License v3.0
2.13k stars 631 forks source link

HTML Builder cannot automatically identify VM's sata controller as a SATABOOT drive controller #354

Open xana2333 opened 12 months ago

xana2333 commented 12 months ago

Describe the bug HTML Builder cannot identify VM's boot sata controller

To Reproduce Steps to reproduce the behavior:

Expected behavior Should be like CLI builder. In the CLI builder, the original code works perfectly fine.

Screenshots in HTML builder image

in CLI builder

tc@box:~$ ./rploader.sh satamap
Machine is VIRTUAL Hypervisor=VMware
Found SCSI HBAs, We need to install the SCSI modules
scsi-5.10.3-tinycore64 is already installed!
Succesfully installed SCSI modules

Found "02:02.0 VMware SATA AHCI controller"
Detected 30 ports/1 drives. Mapping SATABOOT drive after maxdisks

Found "02:03.0 VMware SATA AHCI controller"
Detected 30 ports/1 drives. Defaulting 8 virtual ports for typical system compatibility
Override # of ports or ENTER to accept <8> 1

Found SCSI/HBA "03:00.0 LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)" (21 drives)

Computed settings:
SataPortMap=11
DiskIdxMap=1000

Should i update the user_config.json with these values ? [Yy/Nn] y
Done.
tc@box:~$