Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No partition located on disk! #23

Closed
dobitamas opened this issue Sep 30, 2019 · 10 comments
Closed

No partition located on disk! #23

dobitamas opened this issue Sep 30, 2019 · 10 comments

Comments

@dobitamas
Copy link

Gathering info...

  • Got CloverISO-5092.tar.lzma
    Downloading...
    Downloaded 2.51 MB of 2.51 MB (100.00%)
    Extracting CloverISO-5092.tar.lzma...
    Extracting CloverISO-5092.tar...
    Extracting EFI from Clover-v2.5k-5092-X64.iso...
    Extracting boot0af from Clover-v2.5k-5092-X64.iso...
    Extracting boot1f32alt from Clover-v2.5k-5092-X64.iso...
    Extracting boot6 from Clover-v2.5k-5092-X64.iso...
    No partitions located on disk!

Press [enter] to return...

@corpnewt
Copy link
Owner

Often caused by one of the following:

  • Outdated or incorrectly setup Windows install
  • 3rd party partition managers

The commands run by diskwin.py to map the disks and partitions are as follows:

wmic diskdrive get deviceid,model,index,size,partitions /format:csv
wmic path Win32_LogicalDiskToPartition get antecedent,dependent
wmic logicaldisk get deviceid,filesystem,volumename,size,drivetype /format:csv

You can try running them individually and sending the results to verify what the script can see.

-CorpNewt

@BRNKR
Copy link

BRNKR commented Oct 3, 2019

Hey,

same from my side.

But i had to set the "Show all devices"-flag to True to see my USB Stick. The problem is, that it is not marked as "removable" usb device. it is recognized as harddisk. "Sandisk USB Extreme".
i don't have any partition tool installed that i know of. Do you have an example?
Here are my logs from wmic before and after running your tool:

###############

wmic diskdrive get deviceid,model,index,size,partitions /format:csv

BEFORE

Node,DeviceID,Index,Model,Partitions,Size DESKTOP-VN77TBO,\\.\PHYSICALDRIVE2,2,SanDisk Extreme USB Device,1,15685608960 DESKTOP-VN77TBO,\\.\PHYSICALDRIVE0,0,Crucial_CT240M500SSD1,2,240054796800 DESKTOP-VN77TBO,\\.\PHYSICALDRIVE1,1,SAMSUNG HD103SJ,2,1000202273280

AFTER

Node,DeviceID,Index,Model,Partitions,Size DESKTOP-VN77TBO,\\.\PHYSICALDRIVE2,2,SanDisk Extreme USB Device,2,15685608960 DESKTOP-VN77TBO,\\.\PHYSICALDRIVE0,0,Crucial_CT240M500SSD1,2,240054796800 DESKTOP-VN77TBO,\\.\PHYSICALDRIVE1,1,SAMSUNG HD103SJ,2,1000202273280

###############

wmic path Win32_LogicalDiskToPartition get antecedent,dependent

BEFORE

\\DESKTOP-VN77TBO\root\cimv2:Win32_DiskPartition.DeviceID="Disk #0, Partition #0" \\DESKTOP-VN77TBO\root\cimv2:Win32_LogicalDisk.DeviceID="C:" \\DESKTOP-VN77TBO\root\cimv2:Win32_DiskPartition.DeviceID="Disk #1, Partition #0" \\DESKTOP-VN77TBO\root\cimv2:Win32_LogicalDisk.DeviceID="D:" \\DESKTOP-VN77TBO\root\cimv2:Win32_DiskPartition.DeviceID="Disk #1, Partition #1" \\DESKTOP-VN77TBO\root\cimv2:Win32_LogicalDisk.DeviceID="E:" \\DESKTOP-VN77TBO\root\cimv2:Win32_DiskPartition.DeviceID="Disk #2, Partition #0" \\DESKTOP-VN77TBO\root\cimv2:Win32_LogicalDisk.DeviceID="H:"

AFTER

\\DESKTOP-VN77TBO\root\cimv2:Win32_DiskPartition.DeviceID="Disk #0, Partition #0" \\DESKTOP-VN77TBO\root\cimv2:Win32_LogicalDisk.DeviceID="C:" \\DESKTOP-VN77TBO\root\cimv2:Win32_DiskPartition.DeviceID="Disk #1, Partition #0" \\DESKTOP-VN77TBO\root\cimv2:Win32_LogicalDisk.DeviceID="D:" \\DESKTOP-VN77TBO\root\cimv2:Win32_DiskPartition.DeviceID="Disk #1, Partition #1" \\DESKTOP-VN77TBO\root\cimv2:Win32_LogicalDisk.DeviceID="E:"

###############

wmic logicaldisk get deviceid,filesystem,volumename,size,drivetype /format:csv

BEFORE

Node,DeviceID,DriveType,FileSystem,Size,VolumeName DESKTOP-VN77TBO,C:,3,NTFS,239142219776, DESKTOP-VN77TBO,D:,3,NTFS,508190257152,Dronefence DESKTOP-VN77TBO,E:,3,NTFS,492008632320,Daten DESKTOP-VN77TBO,F:,5,,, DESKTOP-VN77TBO,G:,5,,, DESKTOP-VN77TBO,H:,3,FAT32,15658385408,VOLUME

AFTER

Node,DeviceID,DriveType,FileSystem,Size,VolumeName DESKTOP-VN77TBO,C:,3,NTFS,239142219776, DESKTOP-VN77TBO,D:,3,NTFS,508190257152,Dronefence DESKTOP-VN77TBO,E:,3,NTFS,492008632320,Daten DESKTOP-VN77TBO,F:,5,,, DESKTOP-VN77TBO,G:,5,,,

@dobitamas
Copy link
Author

dobitamas commented Oct 3, 2019

I could make the installer from linux. Fairly easy but a bit more typing

@corpnewt
Copy link
Owner

corpnewt commented Oct 4, 2019

@TobiMiller You can see that in the second and third commands, the volume attached at H: has disappeared entirely which is why it doesn't find any partitions on the disk - I'm not sure why though. Regarding a third party partition manager - something like Paragon Hard Disk Manager may interefere.

@dobitamas Linux is far more competent than Windows (diskpart + wmic specifically) for disk management - so that would certainly be a more direct path. I'm not sure what the issue is specifically, but most cases where something doesn't work right with MakeInstall, the problems are fixed by trying another USB drive, updating Windows, or trying on another machine. I've even seen an instance where the system language interfered.

Thanks Windows.

If you happen to isolate the issue, and it's something I can check for/work around in the script, I'll add support - but it seems to be a rather inconsistent thing that only affects some users and the cause is difficult for me to pinpoint as I don't have the issue on any of my machines.

-CorpNewt

@BRNKR
Copy link

BRNKR commented Oct 7, 2019

fine. got it working. but just the recovery. and the recovery doesnt work for me because of "server not reachable" problem.
Is it possible to setup a full installer with your tool? I have downloaded the full system with 5-6GB but when i create the Stick it tries to install via web recovery ...

in the end I have created a stick with my old macbook. now my ryzentosh is running.

@corpnewt
Copy link
Owner

corpnewt commented Oct 7, 2019

It only creates an internet recovery USB - to create a full installer requires read/write HFS+ access in Windows.

Likely the "server not reachable" issue is due to the latest Clover update. Seems some network kexts aren't being injected.

@BRNKR
Copy link

BRNKR commented Oct 7, 2019

@corpnewt
oh ok. i had a misunderstanding what the tool is doing. so it can download the full files but can just create an online installer. why is there the "recovery installer"-toggle?

the clover bug should be mentioned till it is present on the wiki or in this repo.

thanks and best wishes.

@corpnewt
Copy link
Owner

corpnewt commented Oct 7, 2019

The gibMacOS script works on macOS, Windows, and Linux - macOS and Linux can read/write HFS+, and can therefore create a full install if need be (however this repo offers no companion installer creator scripts for those OSes). The MakeInstall script is for Windows only - so it only creates an internet installer as Windows cannot read/write HFS+.

The Clover bug is beyond the scope of this script and not something I intend to monitor and report on in this repo.

@corpnewt
Copy link
Owner

corpnewt commented Oct 7, 2019

As one of the two users here has gotten their issue resolved, and the other hasn't responded in a few days I'm going to close this issue. If your issue persists, or you have more info to add @dobitamas, feel free to respond and I'll reopen it.

-CorpNewt

@corpnewt corpnewt closed this as completed Oct 7, 2019
@dobitamas
Copy link
Author

dobitamas commented Oct 7, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants