CosmosOS / Cosmos

Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more!
https://www.goCosmos.org
BSD 3-Clause "New" or "Revised" License
2.94k stars 552 forks source link

There are too many partitions. #2883

Open Kayi-KuzinAlexandr25456 opened 11 months ago

Kayi-KuzinAlexandr25456 commented 11 months ago

Area of Cosmos - What area of Cosmos are we dealing with?

Getting a list of disks.

Expected Behaviour - What do you think that should happen?

Two discs, two partitions. One partition on one disk.

Actual Behaviour - What unexpectedly happens?

Virtual machine screenshot: Screenshot 2024-01-04 223645

Reproduction - How did you get this error to appear?

I used the following loop:

...
List<Disk> disks = vfs.GetDisks();

for (int i = 0; i < disks.Count; i++)
{
    Console.WriteLine("==========");
    disks[i].Mount();
    disks[i].DisplayInformation();
    Console.WriteLine("==========");
}
...

(Copied from my code)

Version - Were you using the User Kit or Dev Kit? And what User Kit version or Dev Kit commit (Cosmos, IL2CPU, X#)?

Dev Kit (Cosmos commit)

Note: A CD and one hard disk are connected to my virtual machine.

valentinbreiz commented 11 months ago

Hello, could you send me a screenshot of you virtual machine devices and if you can even the list of partitions you're using from your computer?

Kayi-KuzinAlexandr25456 commented 11 months ago

Hello. Here is a screenshot of my virtual machine devices. My virtual machine devices

Kayi-KuzinAlexandr25456 commented 11 months ago

Hello, could you send me a screenshot of you virtual machine devices and if you can even the list of partitions you're using from your computer?

You can also see in the picture that the disks have the same size.

GoldenretriverYT commented 10 months ago

The amount of partitions seem fine, since the ISO has 3 partitions since the change to UEFI iirc, and not sure who called it "Block Partitions" but that isnt the amount of partitions, very confusing naming I agree but this seems, apart from the naming, fine.

GoldenretriverYT commented 10 months ago

image yup the ISO has 3 partitions

Kayi-KuzinAlexandr25456 commented 10 months ago

I have two partitions with the same directories (boot and EFI).