Cosmos icon indicating copy to clipboard operation
Cosmos copied to clipboard

Unable to read files from Disk Image

Open VeryCoolMoment opened this issue 2 years ago • 18 comments

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

Filesystem

Expected Behaviour - What do you think that should happen?

Read anything from the Disk Image (Files, Directory Listings, etc)

Actual Behaviour - What unexpectedly happens?

FileNotFoundException happens

Reproduction - How did you get this error to appear?

Calling anything that requires 0:\ or 1:\

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

Latest Version of the Dev Kit

VeryCoolMoment avatar Jun 15 '22 14:06 VeryCoolMoment

Are you using a virtual machine or real hardware?

quajak avatar Jun 15 '22 20:06 quajak

Virtual Machine

ghost avatar Jun 15 '22 20:06 ghost

Sys.FileSystem.CosmosVFS fs = new Sys.FileSystem.CosmosVFS();
Sys.FileSystem.VFS.VFSManager.RegisterVFS(fs);

You are using this code, right?

g10v4nn1-v avatar Jun 16 '22 08:06 g10v4nn1-v

Yup I am

ghost avatar Jun 16 '22 09:06 ghost

Wait no I wasn't using the 2 line iirc (disgard this, i was on mobile and thought there was 3 lines of code lol)

ghost avatar Jun 16 '22 09:06 ghost

Virtual Machine

Which one?

quajak avatar Jun 19 '22 16:06 quajak

I was using Oracle's Virtualbox but iirc it happened in VMWare aswell

ghost avatar Jun 19 '22 16:06 ghost

Yeah it does the same thing on VMWare

ghost avatar Jun 20 '22 12:06 ghost

How are you adding the disks to vmware?

quajak avatar Jun 20 '22 20:06 quajak

Just through the CD ROM disk with IDE (since this only happens with the cosmos iso and not hard drive imgs)

ghost avatar Jun 21 '22 07:06 ghost

Just through the CD ROM disk with IDE (since this only happens with the cosmos iso and not hard drive imgs)

Cosmos automatically creates a pre-formatted fat32 vmdk for your VM, using a blank vmdk wont work

selkij avatar Jul 02 '22 16:07 selkij

No I don't mean it like that If I put a file in isofiles it doesn't seem to read or even see if there's anything in the drive (that's why I said 1:) This was about the CD image and not a hard drive image, sorry about that

ghost avatar Jul 02 '22 21:07 ghost

Oh yeah thats another thing, im experiencing it too, it just doesnt detects 1:

selkij avatar Jul 03 '22 07:07 selkij

I see

ghost avatar Jul 03 '22 07:07 ghost

Windows shows that the iso contains the files in isoFiles but Cosmos can't detect it for some unknown reason I'm running on the latest version but yeah this is confusing

ghost avatar Jul 15 '22 13:07 ghost

@MishaTY Any idea what the issue could be?

quajak avatar Jul 17 '22 09:07 quajak

image I think this maybe the issue but i'm running a outdated version of cosmos right now so i'll try compiling a new version

ghost avatar Aug 27 '22 08:08 ghost

Tried compiiling a new version and the issue seems to still be there

ghost avatar Aug 27 '22 08:08 ghost

#2438 possible temporary fix

selkij avatar Nov 28 '22 06:11 selkij