-
Notifications
You must be signed in to change notification settings - Fork 8
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
Cannot mount ext4 partition #4
Comments
Hi Mic,
Best regards, Nick |
Hi Nick, its correct, I have 8 Disks on my machine (XEON Workstation with 10 Sata Ports) I admit this is not a mainstream computer :) I will try to fix this and come back to you with the result asap. Best regards |
Hi Nick, How are your settings when compining and building the Sample App? Best |
It shouldn't be a problem. Can you try another PC with fewer disks or follow the steps earlier? |
I have a laptop and will try this. |
Hi Nick, My laptop has a gpt formatted disk 0 with partitions for Windows and linux and a mbr formatted disk 1 with one windows partition on it. Calling the sample.exe for disk 0 I get:
Only four partitions are found, but the disk contains more partitions: Datenträger 0 ist jetzt der gewählte Datenträger. DISKPART> list part Partition ### Typ Größe Offset Partition 1 System 190 MB 1024 KB Partition 10,11 and 12 are from the Laptop Manufacturer. So the question is: Best |
I haven't tested for Linux on gpt disk. You can try a USB flash drives with Linux partition. |
I created an MBR formatted USB stick with one ext4 partition on it with my linux system. Now I can see the size of the partition, but again it lists me 4 partition even if there is only one on the disk. |
I don't know how you make the USB. Can you download the Raspberry Pi image and burn to USB? |
Hi,
i am testing your lib with an external ext4 disk on a usb hard disk. Under Windows 10 I plugged in the usb disk. Then I used diskpart to determine the disk number (in my case 8). I changed the Sample code to:
Sample.exe returns an exception:
Interesting is, that the disk seems to contain four partitions, but the usb disk just has one partition on it.
So I assume, that the physical Disk number may not be the one which diskPart is showing me. I checked with wmic as well. The disk index für the usb disk is 8.
Do you have an idea what goes wrong?
Best
Mic
The text was updated successfully, but these errors were encountered: